Public bug reported: Currently, nova add-secgroup requests the user to enter only secgroup name's to add a secgroup to a server. But the command works fine with both secgroup name or secgroup id. So the help needs to be updated to reflect the same.
Steps to reproduce the bug:- 1. Create a secgroup named 'test' using the command 'nova secgroup- create':- $ nova secgroup-create test testing +--------------------------------------+----------+-------------+ -------------- | Id | Name | Description | +--------------------------------------+----------+-------------+ -------------- | d9b61d5a-4f9e-4b41-9fd5-e412aaeecb6b | test | testing | +--------------------------------------+----------+-------------+ -------------- 2. Now add secgroup 'test' to a server using the secgroup-id $ nova add-secgroup vm1 d9b61d5a-4f9e-4b41-9fd5-e412aaeecb6b The command runs successfully and the secgroup gets added to the server. ** Affects: python-novaclient Importance: Undecided Assignee: Abhishek Talwar (abhishek-talwar) Status: In Progress ** Tags: python-novaclient ** Project changed: nova => python-novaclient ** Changed in: python-novaclient Status: New => In Progress ** Changed in: python-novaclient Assignee: (unassigned) => Abhishek Talwar (abhishek-talwar) -- 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/1554930 Title: nova add-secgroup help needs to be updated Status in python-novaclient: In Progress Bug description: Currently, nova add-secgroup requests the user to enter only secgroup name's to add a secgroup to a server. But the command works fine with both secgroup name or secgroup id. So the help needs to be updated to reflect the same. Steps to reproduce the bug:- 1. Create a secgroup named 'test' using the command 'nova secgroup- create':- $ nova secgroup-create test testing +--------------------------------------+----------+-------------+ -------------- | Id | Name | Description | +--------------------------------------+----------+-------------+ -------------- | d9b61d5a-4f9e-4b41-9fd5-e412aaeecb6b | test | testing | +--------------------------------------+----------+-------------+ -------------- 2. Now add secgroup 'test' to a server using the secgroup-id $ nova add-secgroup vm1 d9b61d5a-4f9e-4b41-9fd5-e412aaeecb6b The command runs successfully and the secgroup gets added to the server. To manage notifications about this bug go to: https://bugs.launchpad.net/python-novaclient/+bug/1554930/+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