yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05282
[Bug 1207184] Re: Edit Instance Security Group throws an Error
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1207184
Title:
Edit Instance Security Group throws an Error
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
1. Open the Edit Security Group from Instances panel.
2. Modify the security group assigned.
3. Click Save, there is an Error return.
It looks like a bug in the code.
From the workflow form, we are storing the security group ids.
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/workflows/update_instance.py#L66
However, novaclient expects a security group name to be passed instead
of id.
novaclient is expecting name for the security group,
https://github.com/openstack/python-novaclient/blob/master/novaclient/v1_1/servers.py#L829
Note: When I tested this on devstack, Neutron is not enabled.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1207184/+subscriptions