Depending on which API you're referring to, this would still be an issue:
https://developer.openstack.org/api-ref/compute/#servers-security-groups-servers-os-security-groups
Because of this code iterating over all groups for a given instance:
https://github.com/openstack/nova/blob/47bdd101375487d1c67dd3fdc295a87f56ec012a/nova/api/openstack/compute/security_groups.py#L355
Which is going to iterate over all rules for a given group:
https://github.com/openstack/nova/blob/47bdd101375487d1c67dd3fdc295a87f56ec012a/nova/api/openstack/compute/security_groups.py#L101
Which is going to lookup the group per rule:
https://github.com/openstack/nova/blob/47bdd101375487d1c67dd3fdc295a87f56ec012a/nova/api/openstack/compute/security_groups.py#L74
Depending on which API you're referring to, this would still be an issue:
https:/ /developer. openstack. org/api- ref/compute/ #servers- security- groups- servers- os-security- groups
Because of this code iterating over all groups for a given instance:
https:/ /github. com/openstack/ nova/blob/ 47bdd101375487d 1c67dd3fdc295a8 7f56ec012a/ nova/api/ openstack/ compute/ security_ groups. py#L355
Which is going to iterate over all rules for a given group:
https:/ /github. com/openstack/ nova/blob/ 47bdd101375487d 1c67dd3fdc295a8 7f56ec012a/ nova/api/ openstack/ compute/ security_ groups. py#L101
Which is going to lookup the group per rule:
https:/ /github. com/openstack/ nova/blob/ 47bdd101375487d 1c67dd3fdc295a8 7f56ec012a/ nova/api/ openstack/ compute/ security_ groups. py#L74