NeutronClient: Admin tenant is not able to create subnet pool for non admin tenant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Medium
|
Akihiro Motoki |
Bug Description
Below scenario is not working:
1. openstack project list (Pick tenant id of non admin e.g sample)
# openstack project list
+------
| ID | Name |
+------
| 325f404759b444f
| 47ac520c6373427
| 66476c5e485e46d
+------
2. Using admin tenant run below command:
neutron subnetpool-create --shared --pool-prefix 20.0.0.0/24 --default-prefixlen 26 subnetpool --tenant-
3. Check created subnetpool tenant-id, It show admin tenant-id instead of sample tenant id.
In step 2, I am trying to create subnetpool with 'sample' tenant-id using admin credentials. But when I check 'neutron subnetpool-show' its shows tenant-id of admin instead of sample tenant-id.
So during subnetpool creation either '--tenant-id' should be restricted or subnetpool should be created with particular tenant-id.
Detailed commands pasted here:-
http://
Changed in neutron: | |
status: | New → Invalid |
summary: |
- Neutron: Admin tenant is not able to create subnet pool for no admin + Neutron: Admin tenant is not able to create subnet pool for non admin tenant |
This is not a bug in Neutron.
Might I also suggest, that as neutronclient is not going to be used in thr future as it is deprecated, so please use openstackclient.
I tried the command with OpenstackClient and it works properly. paste.openstack .org/show/ 600213/
But yes, there is a failure with neutronclient.
http://