yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05051
[Bug 1207598] Re: Security groups with underscore in name can't be added to running instances
Mark "invalid" for the master branch and removed Havana-RC1 from the target.
It was fixed as a part of Neutron security group native support implementation (in Havana).
** Changed in: horizon
Status: Confirmed => Invalid
** Changed in: horizon
Milestone: havana-rc1 => None
--
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/1207598
Title:
Security groups with underscore in name can't be added to running
instances
Status in OpenStack Dashboard (Horizon):
Confirmed
Status in OpenStack Dashboard (Horizon) grizzly series:
Confirmed
Bug description:
This was discovered on Grizzly, it's currently blocked on master by this:
https://bugs.launchpad.net/horizon/+bug/1207184
There's an issue with the construction of the form for adding security
groups. The project membership widget links the javascript generated
html with the form by storing values like "id_user_<member_id>".
https://github.com/openstack/horizon/blob/a81bfc251b33b7f796cc72327159d1e547689523/horizon/static/horizon/js/horizon.projects.js#L193-L202
In the security group case this becomes
"id_user_<security_group_name>" or e.g.,
"id_user_sg_with_underscores". This is a problem when we try to
separate the id_user_ part from the security group name, since it
currently splits on the last underscore:
https://github.com/openstack/horizon/blob/a81bfc251b33b7f796cc72327159d1e547689523/horizon/static/horizon/js/horizon.projects.js#L14-L16
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1207598/+subscriptions