Comment 1 for bug 1732593

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like this fixes it:

user@ubuntu:~/git/nova$ git diff
diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py
index 2c867ec..4a4097d 100644
--- a/nova/cmd/manage.py
+++ b/nova/cmd/manage.py
@@ -743,7 +743,7 @@ Error: %s""") % six.text_type(e))
         """Print the current database version."""
         print(migration.db_version())

- @args('--max_rows', type=int, metavar='<number>', default=1000,
+ @args('--max_rows', type=int, metavar='<number>', dest='max_rows',
           help='Maximum number of deleted rows to archive')
     @args('--verbose', action='store_true', dest='verbose', default=False,
           help='Print how many rows were archived per table.')
user@ubuntu:~/git/nova$