Public bug reported: If you run archive_deleted_rows subcommand with following parameters, it raises TypeError exception.
$nova-manage db archive_deleted_rows 1000 1000 Output An error has occurred: Traceback (most recent call last): File "/opt/stack/nova/nova/cmd/manage.py", line 1924, in main ret = fn(*fn_args, **fn_kwargs) TypeError: archive_deleted_rows() got multiple values for argument 'max_rows' Environment details: <devstack>: commit 91f62818c3ab5f7f7cee11df7a7b7d3ce290ecb8 Merge: a6280e5 c09eaf8 Author: Jenkins <jenk...@review.openstack.org> Date: Sun Sep 10 18:31:13 2017 +0000 Merge "Update OS_AUTH_URL in Configuration.rst" nova: commit b7f53a33faf6187ad0b16e45cb14ece07892f7bc Merge: e48db05 a9d9255 Author: Zuul <z...@review.openstack.org> Date: Wed Nov 8 07:16:14 2017 +0000 Merge "Fix return type in FilterScheduler._legacy_find_hosts" Reason: In fn_kwargs for max_rows parameter it is assigning default value of max_rows which is 1000, and not the value which we are passing through command. So it is giving above mentioned TypeError. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1732593 Title: TypeError: archive_deleted_rows got multiple values for keyword arguments 'max_rows' Status in OpenStack Compute (nova): New Bug description: If you run archive_deleted_rows subcommand with following parameters, it raises TypeError exception. $nova-manage db archive_deleted_rows 1000 1000 Output An error has occurred: Traceback (most recent call last): File "/opt/stack/nova/nova/cmd/manage.py", line 1924, in main ret = fn(*fn_args, **fn_kwargs) TypeError: archive_deleted_rows() got multiple values for argument 'max_rows' Environment details: <devstack>: commit 91f62818c3ab5f7f7cee11df7a7b7d3ce290ecb8 Merge: a6280e5 c09eaf8 Author: Jenkins <jenk...@review.openstack.org> Date: Sun Sep 10 18:31:13 2017 +0000 Merge "Update OS_AUTH_URL in Configuration.rst" nova: commit b7f53a33faf6187ad0b16e45cb14ece07892f7bc Merge: e48db05 a9d9255 Author: Zuul <z...@review.openstack.org> Date: Wed Nov 8 07:16:14 2017 +0000 Merge "Fix return type in FilterScheduler._legacy_find_hosts" Reason: In fn_kwargs for max_rows parameter it is assigning default value of max_rows which is 1000, and not the value which we are passing through command. So it is giving above mentioned TypeError. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1732593/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp