← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2092276] [NEW] security group port no attribute

 

Public bug reported:

'Port' object has no attribute 'security_groups'

Horizon 25.1
Neutron 25.1

After clicking on "Edit Port" button of instance settings I' getting
errors of port security groups:

Unable to retrieve security group list. Please try again later. Details
'Port' object has no attribute 'security_groups'

Unfortunately, after fixing lines to "sg_ids += p.security_group_ids" in
both workflows.py and neutron.py (as proposed in
https://bugs.launchpad.net/horizon/+bug/2089557), error still appears.

Even after adding SGs to the port and getting success notifications,
after clicking on button again, ports have still no security groups
attached to it (port list --long shows also "None" in security groups
column).

Should I restart some service to apply changes?

Thanks.

** 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/2092276

Title:
  security group port no attribute

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  'Port' object has no attribute 'security_groups'

  Horizon 25.1
  Neutron 25.1

  After clicking on "Edit Port" button of instance settings I' getting
  errors of port security groups:

  Unable to retrieve security group list. Please try again later. Details
  'Port' object has no attribute 'security_groups'

  Unfortunately, after fixing lines to "sg_ids += p.security_group_ids"
  in both workflows.py and neutron.py (as proposed in
  https://bugs.launchpad.net/horizon/+bug/2089557), error still appears.

  Even after adding SGs to the port and getting success notifications,
  after clicking on button again, ports have still no security groups
  attached to it (port list --long shows also "None" in security groups
  column).

  Should I restart some service to apply changes?

  Thanks.

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