This patchset implements the purge script as specified in its related blueprint: - The '--age-in-days' option allows to specify the number of days before expiry - The '--max-number' option allows us to specify a limit on the number of objects to delete - The '--audit-template' option allows you to only delete objects related to the specified audit template UUID or name - The '--dry-run' option to go through the purge procedure without actually deleting anything - The '--exclude-orphans' option which allows you to exclude from the purge any object that does not have a parent (i.e. and audit without a related audit template) A prompt has been added to also propose to narrow down the number of deletions to be below the specified limit. Change-Id: I3ce83ab95277c109df67a6b5b920a878f6e59d3f Implements: blueprint db-purge-engine
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
enum34;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD
|
|
jsonpatch>=1.1 # BSD
|
|
keystoneauth1>=2.1.0 # Apache-2.0
|
|
keystonemiddleware!=4.1.0,>=4.0.0 # Apache-2.0
|
|
oslo.config>=3.7.0 # Apache-2.0
|
|
oslo.db>=4.1.0 # Apache-2.0
|
|
oslo.i18n>=2.1.0 # Apache-2.0
|
|
oslo.log>=1.14.0 # Apache-2.0
|
|
oslo.messaging>=4.0.0 # Apache-2.0
|
|
oslo.policy>=0.5.0 # Apache-2.0
|
|
oslo.service>=1.0.0 # Apache-2.0
|
|
oslo.utils>=3.5.0 # Apache-2.0
|
|
PasteDeploy>=1.5.0 # MIT
|
|
pbr>=1.6 # Apache-2.0
|
|
pecan>=1.0.0 # BSD
|
|
PrettyTable>=0.7,<0.8 # BSD
|
|
voluptuous>=0.8.6 # BSD License
|
|
python-ceilometerclient>=2.2.1 # Apache-2.0
|
|
python-cinderclient>=1.3.1 # Apache-2.0
|
|
python-glanceclient>=1.2.0 # Apache-2.0
|
|
python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0
|
|
python-neutronclient>=2.6.0 # Apache-2.0
|
|
python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0
|
|
python-openstackclient>=2.1.0 # Apache-2.0
|
|
six>=1.9.0 # MIT
|
|
SQLAlchemy<1.1.0,>=1.0.10 # MIT
|
|
stevedore>=1.5.0 # Apache-2.0
|
|
taskflow>=1.26.0 # Apache-2.0
|
|
WebOb>=1.2.3 # MIT
|
|
WSME>=0.8 # MIT
|