yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87633
[Bug 1950478] [NEW] test_list_external_networks fails with updated get_network:router:external policy
Public bug reported:
We've updated most policies in neutron to adhere to common personas
across OpenStack (system-admin, system-member, system-reader, project-
admin, project-member, project-reader).
In the process of updating the policies we changed the default policy
for listing external network attributes [0]. This policy defaulted to
open ("") but now it requires uses to be at least a 'reader' on a
project.
When you configure tempest to run against a deployment that's using this
new policy, several neutron tempest tests fail
(tempest.api.network.test_networks,
tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON).
We should find a way to continue supporting the use case where project-
readers can view external networks.
[0] https://github.com/openstack/neutron/blob/master/neutron/conf/policies/network.py#L187-L198
[1] https://github.com/openstack/tempest/blob/master/tempest/api/network/admin/test_external_network_extension.py#L72-L88
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1950478
Title:
test_list_external_networks fails with updated
get_network:router:external policy
Status in neutron:
New
Bug description:
We've updated most policies in neutron to adhere to common personas
across OpenStack (system-admin, system-member, system-reader, project-
admin, project-member, project-reader).
In the process of updating the policies we changed the default policy
for listing external network attributes [0]. This policy defaulted to
open ("") but now it requires uses to be at least a 'reader' on a
project.
When you configure tempest to run against a deployment that's using
this new policy, several neutron tempest tests fail
(tempest.api.network.test_networks,
tempest.api.network.admin.test_external_network_extension.ExternalNetworksTestJSON).
We should find a way to continue supporting the use case where
project-readers can view external networks.
[0] https://github.com/openstack/neutron/blob/master/neutron/conf/policies/network.py#L187-L198
[1] https://github.com/openstack/tempest/blob/master/tempest/api/network/admin/test_external_network_extension.py#L72-L88
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1950478/+subscriptions
Follow ups