~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/preflight.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-05 08:16:32 UTC
  • mfrom: (7675.395.224 db-deploy)
  • Revision ID: launchpad@pqm.canonical.com-20120105081632-ser8buy9a9phqryx
[r=stub][bug=906222] Add more BAD_USERS,
 allowing known bad jobs to be killed during fastdowntime deployments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python2.6 -S
2
 
# Copyright 2011 Canonical Ltd.  This software is licensed under the
 
2
# Copyright 2011-2012 Canonical Ltd.  This software is licensed under the
3
3
# GNU Affero General Public License version 3 (see the file LICENSE).
4
4
 
5
5
"""Confirm the database systems are ready to be patched as best we can."""
56
56
BAD_USERS = frozenset([
57
57
    'karma',  # Bug #863109
58
58
    'rosettaadmin',  # Bug #863122
 
59
    'update-pkg-cache',  # Bug #912144
 
60
    'process_death_row',  # Bug #912146
 
61
    'langpack',  # Bug #912147
59
62
    ])
60
63
 
61
64
# How lagged the cluster can be before failing the preflight check.