← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1905587] [NEW] SGs shared via RBAC for an instance are not handled in Horizon

 

Public bug reported:

It appears we can't edit security groups for an instance shared  via
rbac. Sharing SGs via RBAC is done via:

`openstack network rbac create --target-project $project --action
access_as_shared --type security_group ...`

We can see the shared SGs in the cli, when doing `openstack server show
...` However I can't see those SGs on the instance in Horizon.

Also, when adding another SG in Horizon the one shared via RBAC is
removed from the instance

One thing we noticed that might possibly be related is that in
https://github.com/openstack/horizon/blob/stable/stein/openstack_dashboard/api/neutron.py#L370
the SGs seem to be taken only from the project

Versions: 
OpenStack Stein
python3-django-horizon           3:15.2.0-0ubuntu1~cloud0

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1905587

Title:
  SGs shared via RBAC for an instance are not handled in Horizon

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  It appears we can't edit security groups for an instance shared  via
  rbac. Sharing SGs via RBAC is done via:

  `openstack network rbac create --target-project $project --action
  access_as_shared --type security_group ...`

  We can see the shared SGs in the cli, when doing `openstack server
  show ...` However I can't see those SGs on the instance in Horizon.

  Also, when adding another SG in Horizon the one shared via RBAC is
  removed from the instance

  One thing we noticed that might possibly be related is that in
  https://github.com/openstack/horizon/blob/stable/stein/openstack_dashboard/api/neutron.py#L370
  the SGs seem to be taken only from the project

  Versions: 
  OpenStack Stein
  python3-django-horizon           3:15.2.0-0ubuntu1~cloud0

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1905587/+subscriptions