Admin user is not able to update the shared access for a network.

Bug #1771088 reported by kavitha h r
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Low
Unassigned

Bug Description

Admin user is not able to update the shared access for a network.
Steps to reproduce:
a) Create a network test from demo user.
b) As an admin user, create a subnet for that network.
c) Now, make the network shared using command “neutron net-update test –shared”.
d) Now, try to make the shared as false for the same network by using the command “neutron net-update test –shared false”.
Here it throws an error saying "unable to reconfigure sharing settings for network test. Multiple tenants are using it."

Revision history for this message
daixianmeng (daixianmeng) wrote :

If the network is not shared,Only demo user can use.
If you update the network shared,all user can use.

Revision history for this message
Gary Kotton (garyk) wrote :

There are two cases when the exception above is thrown:
1. when there are ports using the network
2. when certain tenants are unable to access the network

I am not sure that I understand the use case - an admin should create a shared network and it is not clear why an admin would update a tenant network to a shared network.
Does RBAC address this?

Changed in neutron:
importance: Undecided → Low
Revision history for this message
kavitha h r (kavitha1) wrote :

Hi Gary

There are no ports using the network.
Admin user is able to make the tenant network as shared but he is not able to make shared as false.
When the admin user make the network as shared one RBAC gets created and if we delete that RBAC the shared access becomes false.

Revision history for this message
Gary Kotton (garyk) wrote :

Thanks. I am not sure that this is worth fixing as the 'shared' should be deprecated and the RBAC code should be used.
I would note this as a limitation and not even sure its worth the effort to address

Changed in neutron:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.