← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1207598] Re: Security groups with underscore in name can't be added to running instances

 

** Tags removed: grizzly-backport-potential

** Changed in: horizon/grizzly
       Status: Confirmed => Won't Fix

-- 
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):
  Invalid
Status in OpenStack Dashboard (Horizon) grizzly series:
  Won't Fix

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