Reviewed: https://review.openstack.org/512324 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=86a535a2689537d81e8a98a9d28ddf1d233dcddc Submitter: Zuul Branch: master
commit 86a535a2689537d81e8a98a9d28ddf1d233dcddc Author: Takashi NATSUME <[email protected]> Date: Mon Oct 16 22:45:09 2017 +0900 Fix nova-manage commands that do not exist The following commands do not exist. But they appear in help message. So fix them. * nova-manage db print_dict * nova-manage cell parse_server_string Change-Id: I7b16b8ab36b9a9ae719bf98a75511d82041d0152 Closes-Bug: #1723982 ** 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/1723982 Title: Commands that do not exist appear in help message of nova-manage Status in OpenStack Compute (nova): Fix Released Bug description: Description =========== The following commands do not exist. But they appear in the help message of nova-manage. * nova-manage cell parse_server_string * nova-manage db print_dict Steps to reproduce ================== stack@devstack-master:~$ nova-manage cell usage: nova-manage cell [-h] {create,delete,list,parse_server_string} ... nova-manage cell: error: too few arguments stack@devstack-master:~$ nova-manage cell parse_server_string An error has occurred: Traceback (most recent call last): File "/opt/stack/nova/nova/cmd/manage.py", line 1861, in main fn, fn_args, fn_kwargs = cmd_common.get_action_fn() File "/opt/stack/nova/nova/cmd/common.py", line 187, in get_action_fn missing = validate_args(fn, *fn_args, **fn_kwargs) File "/opt/stack/nova/nova/cmd/common.py", line 76, in validate_args if six.get_method_self(fn) is not None: AttributeError: 'function' object has no attribute 'im_self' stack@devstack-master:~$ nova-manage db usage: nova-manage db [-h] {archive_deleted_rows,ironic_flavor_migration,null_instance_uuid_scan,online_data_migrations,print_dict,sync,version} ... nova-manage db: error: too few arguments stack@devstack-master:~$ nova-manage db print_dict An error has occurred: Traceback (most recent call last): File "/opt/stack/nova/nova/cmd/manage.py", line 1861, in main fn, fn_args, fn_kwargs = cmd_common.get_action_fn() File "/opt/stack/nova/nova/cmd/common.py", line 187, in get_action_fn missing = validate_args(fn, *fn_args, **fn_kwargs) File "/opt/stack/nova/nova/cmd/common.py", line 76, in validate_args if six.get_method_self(fn) is not None: AttributeError: 'function' object has no attribute 'im_self' Environment =========== nova master(commit 1148a2d67b70dd767f798e1dfe0b4c7634d2f90c) OS: Ubuntu 16.04.2 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1723982/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

