[openstack-dev] [Neutron] Elevating context to remove subnets created by admin
smigiel.dariusz at gmail.com
Fri Jun 3 17:16:20 UTC 2016
Doing reviews I noticed, that Liu Yong submitted a bug  where we have a problem with removing subnets.
In short: if tenant wants to delete network with subnets, where at least one of subnets is created by admin, he’s not able to do this.
Liu also prepared bugfix for it , but now it’s starting to be much more complicated.
What is desired solution in this case?
One of suggestions is to elevate context, remove all subnets and nuke everything. It can cause a problem, when one tenant can remove others’ tenant subnets.
The other is to just show info to tenant, that he’s not allowed to delete network. But in the same time, it could be strange, that owner is not able to just get rid of *his* network and subnets.
If you have any opinions, suggestions, please feel free to share
More information about the OpenStack-dev