script monitor needs a database user

Bug #134012 reported by Stuart Bishop
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

All scripts should connect as a unique database user.

To fix this involves:

 * Editing database/schema/security.cfg to add the new user with relevant permissions

 * Updating jubany's pg_ident.conf to allow connections as the new user for forster.

 * Updating the monitoring script to connect as the new user

 * Rolling out the code.

Related branches

Stuart Bishop (stub)
Changed in launchpad:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Joey Stanford (joey) wrote :

Untargeting from 1.1.19 due to no owner. Maybe we can get james to do this for 1.1.10? Stu can you ask him about this please?

Revision history for this message
Robert Collins (lifeless) wrote :

This needs an update for pgbouncer etc. Assigning to stub to re-define the bug and/or execute.

Changed in launchpad:
importance: Medium → High
assignee: nobody → Stuart Bishop (stub)
Revision history for this message
Stuart Bishop (stub) wrote :

script_monitor and script_monitor_nagios exist in security.cfg.

script-monitor.py and script-monitor-nagios.py will be hard coded to use these users once they exist on production.

Changed in launchpad:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
William Grant (wgrant)
tags: added: qa-untestable
removed: qa-needstesting
Revision history for this message
Stuart Bishop (stub) wrote :

RT #48134 on granting access to the new users

Revision history for this message
Stuart Bishop (stub) wrote :

RT #49154 to get the crontabs updated to connect as the correct users.

William Grant (wgrant)
Changed in launchpad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.