Reviewed: https://review.openstack.org/502236 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=87a53cc45283a81386ee8f870a25a315b8527749 Submitter: Jenkins Branch: master
commit 87a53cc45283a81386ee8f870a25a315b8527749 Author: ejbaek <ej218.b...@samsung.com> Date: Sat Sep 9 11:59:41 2017 +0000 Fix --max-count handling for nova-manage cell_v2 map_instances Code is added to define destination for cell_uuid and max_count argument, otherwise specifying --max-count fails with: TypeError: map_instances() got an unexpected keyword argument 'max-count' Change-Id: I9328a20b97977bfffa21df55bd4d60e711a406a7 Closes-Bug: #1715533 ** Changed in: nova Status: In Progress => Fix Released -- 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/1715533 Title: 'nova-manage cell_v2 map_instances' return argument error when --max- count option is used Status in OpenStack Compute (nova): Fix Released Status in OpenStack Compute (nova) newton series: In Progress Status in OpenStack Compute (nova) ocata series: In Progress Status in OpenStack Compute (nova) pike series: In Progress Bug description: [Test step] 1. Create cell1 2. Commit a command "nova-manage cell_v2 map_instances --cell_uuid <cell1 uuid> --max-count <max_conut>", error is occured because of 'max-count' argument like below. [root@aosc cmd(keystone_admin)]# nova-manage cell_v2 list_cells +-------+--------------------------------------+ | Name | UUID | +-------+--------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | | cell1 | b0fd1642-2836-4de7-9d2c-2b44d890bd89 | +-------+--------------------------------------+ [root@osc ~(keystone_admin)]# nova-manage cell_v2 map_instances --cell_uuid b0fd1642-2836-4de7-9d2c-2b44d890bd89 --max-count 2000 An error has occurred: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 1609, in main ret = fn(*fn_args, **fn_kwargs) TypeError: map_instances() got an unexpected keyword argument 'max-count' To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1715533/+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