nova/nova
Matt Riedemann e37279b459 Print number of rows archived per table in db archive_deleted_rows
The `nova-manage db archive_deleted_rows` command doesn't print any
results, not even how many rows were deleted, which is something the
database API returns.

The number of rows deleted also changes depending on the max_rows input
and how many rows are deleted in each table, it's a cumulative effect.

We should keep track of which tables we've deleted rows from along with
how many rows, and print that all out to the CLI console if the user
passed a --verbose option.

Implements blueprint print-table-archived-rows

Change-Id: I5c47cd5633eca056f8ae508753a41e2c1ed9e523
2015-10-16 10:23:54 -07:00
..
api Merge "Use StrOpt's parameter choices to restritct option auth_strategy" 2015-10-08 10:21:21 +00:00
CA
cells Update rpc version aliases for liberty 2015-10-01 20:33:43 -04:00
cert Update rpc version aliases for liberty 2015-10-01 20:33:43 -04:00
cloudpipe Switch to the oslo_utils.fileutils 2015-07-24 14:10:44 +03:00
cmd Print number of rows archived per table in db archive_deleted_rows 2015-10-16 10:23:54 -07:00
compute Merge "Fix service_version minimum calculation for compute RPC" 2015-10-15 06:49:25 +00:00
conductor Merge "Remove conductor 2.x RPC API" 2015-10-07 23:11:31 +00:00
console Update rpc version aliases for liberty 2015-10-01 20:33:43 -04:00
consoleauth Update rpc version aliases for liberty 2015-10-01 20:33:43 -04:00
db Print number of rows archived per table in db archive_deleted_rows 2015-10-16 10:23:54 -07:00
hacking Add hacking check for eventlet.spawn() 2015-08-13 20:44:41 +00:00
image Merge "Add hacking check for eventlet.spawn()" 2015-10-08 03:43:00 +00:00
ipv6
keymgr
locale Imported Translations from Zanata 2015-10-13 06:05:03 +00:00
mks Add MKS console support 2015-07-25 15:01:44 +03:00
network Merge "Add hacking check for eventlet.spawn()" 2015-10-08 03:43:00 +00:00
objects Merge "Fix service_version minimum calculation for compute RPC" 2015-10-15 06:49:25 +00:00
objectstore Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
openstack Sync cliutils from oslo-incubator 2015-10-08 09:44:39 -07:00
pci Fix a few typos 2015-09-08 10:36:14 +09:00
rdp
scheduler Merge "Slightly better translation friendly formatting" 2015-10-05 17:54:45 +00:00
servicegroup Slightly better translation friendly formatting 2015-09-29 12:07:51 +00:00
spice
tests Print number of rows archived per table in db archive_deleted_rows 2015-10-16 10:23:54 -07:00
virt Merge "Revert "virt: Use preexec_fn to ulimit qemu-img info call"" 2015-10-14 18:46:19 +00:00
vnc Merge "Add hacking check for eventlet.spawn()" 2015-10-08 03:43:00 +00:00
volume Ignore errorcode=4 when executing cryptsetup remove command 2015-10-14 09:18:01 +08:00
wsgi Monkey patch nova-ec2 api 2015-10-13 13:23:21 +00:00
__init__.py
availability_zones.py Invalidate AZ cache when the instance AZ information is different 2015-09-09 17:14:35 +02:00
baserpc.py
block_device.py snapshot: Add device_name to the snapshot bdms 2015-07-02 13:45:36 +01:00
config.py Add notes explaining vmware's suds usage 2015-09-03 17:23:47 +10:00
context.py Remove unused parameter overwrite in elevated 2015-09-08 05:22:35 +00:00
crypto.py Specify current directory using new cwd param in processutils.execute 2015-08-24 00:46:33 +00:00
debugger.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
exception.py Merge "Fix Status-Line in HTTP response" 2015-10-15 13:57:02 +00:00
filters.py Add logging when filtering returns nothing. 2015-08-17 16:16:00 +00:00
hooks.py
i18n.py
loadables.py
manager.py Switch to oslo.service library 2015-07-11 02:54:42 +00:00
netconf.py
notifications.py Fix notify_decorator errors 2015-08-11 10:30:30 +08:00
opts.py Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
paths.py
policy.py
quota.py Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
rpc.py
safe_utils.py Set autodoc_index_modules=True so tox -e docs builds module docs again 2015-07-30 17:11:47 -07:00
service.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
test.py Remove duplicate NullHandler test fixture 2015-08-31 09:52:45 -07:00
utils.py Merge "Change parameter name in utility function" 2015-10-05 18:03:27 +00:00
version.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
weights.py Skip only one host weight calculation 2015-05-05 11:40:09 +08:00
wsgi.py Merge "Add hacking check for eventlet.spawn()" 2015-10-08 03:43:00 +00:00