Public bug reported: Versions: - Horizon 25.1 - Neutron 25.0
To reproduce: - Login as admin - Project -> Network -> Create Network - Name = demo-net, Shared = No, External = No, Admin State = True, Subnet = demo-subnet 10.0.0.0/24 - Create a port (setting doesn't matter) - Press the "Edit Port" button Error: - Unable to retrieve security group list. Please try again later. Details 'Port' object has no attribute 'security_groups' - If extension_drivers = port_security in ml2_conf.ini, the "Port Security" checkbox in "Edit Port" diaglog is always deselected even the default state should be selected for newly created ports as confirmed in database Partial fix: - use port.security_group_ids instead in https://opendev.org/openstack/horizon/src/commit/1b15f51babd107b82accbe9baea0fb882303267e/openstack_dashboard/dashboards/project/networks/ports/workflows.py#L377 - the status of the "Port Security" checkbox will need a further fix ** 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/2089557 Title: 'Port' object has no attribute 'security_groups' Status in OpenStack Dashboard (Horizon): New Bug description: Versions: - Horizon 25.1 - Neutron 25.0 To reproduce: - Login as admin - Project -> Network -> Create Network - Name = demo-net, Shared = No, External = No, Admin State = True, Subnet = demo-subnet 10.0.0.0/24 - Create a port (setting doesn't matter) - Press the "Edit Port" button Error: - Unable to retrieve security group list. Please try again later. Details 'Port' object has no attribute 'security_groups' - If extension_drivers = port_security in ml2_conf.ini, the "Port Security" checkbox in "Edit Port" diaglog is always deselected even the default state should be selected for newly created ports as confirmed in database Partial fix: - use port.security_group_ids instead in https://opendev.org/openstack/horizon/src/commit/1b15f51babd107b82accbe9baea0fb882303267e/openstack_dashboard/dashboards/project/networks/ports/workflows.py#L377 - the status of the "Port Security" checkbox will need a further fix To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/2089557/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

