yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #91217
[Bug 2004015] Re: [Secure RBAC] Sharing Security groups don't works with new RBAC policies
Reviewed: https://review.opendev.org/c/openstack/neutron/+/872397
Committed: https://opendev.org/openstack/neutron/commit/5d505e7b7c3d9cd6b54f24baa58ded8a07fb6290
Submitter: "Zuul (22348)"
Branch: master
commit 5d505e7b7c3d9cd6b54f24baa58ded8a07fb6290
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date: Wed Feb 1 11:48:34 2023 +0100
[Secure RBAC] Add shared_security_groups rule
For shared security groups we need to have additional rule which will allow
to list shared SGs for projects which aren't owners of the SG.
Closes-bug: #2004015
Change-Id: Ic2a0e390f5baed6772bfeb5306052acaff657923
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2004015
Title:
[Secure RBAC] Sharing Security groups don't works with new RBAC
policies
Status in neutron:
Fix Released
Bug description:
Failed test:
neutron_tempest_plugin.api.test_security_groups.RbacSharedSecurityGroupTest.test_regular_client_shares_to_another_regular_client
Error:
Traceback (most recent call last):
File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/test_security_groups.py", line 627, in test_regular_client_shares_to_another_regular_client
self.client.show_security_group(sg['id'])
File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/services/network/json/network_client.py", line 133, in _show
resp, body = self.get(uri)
File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in get
return self.request('GET', url, extra_headers, headers)
File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request
self._error_checker(resp, resp_body)
File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 826, in _error_checker
raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {'type': 'HTTPNotFound', 'message': 'The resource could not be found.', 'detail': ''}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2004015/+subscriptions
References