← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1667279] Re: 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.
But yes, there is a failure with neutronclient.
http://paste.openstack.org/show/600213/


** No longer affects: neutron

** Summary changed:

- Neutron: Admin tenant is not able to create subnet pool for non admin tenant
+ NeutronClient: Admin tenant is not able to create subnet pool for non admin tenant

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1667279

Title:
  NeutronClient: Admin tenant is not able to create subnet pool for non
  admin tenant

Status in python-neutronclient:
  New

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    |
  +----------------------------------+---------+
  | 325f404759b444f79974cb5b41d454ad | sample  |
  | 47ac520c6373427fa5c63772b9585aae | admin   |
  | 66476c5e485e46d18d0d8a2ef1d87db4 | service |
  +----------------------------------+---------+

  2. Using admin tenant run below command:
     neutron subnetpool-create --shared --pool-prefix 20.0.0.0/24  --default-prefixlen 26 subnetpool --tenant-id=325f404759b444f79974cb5b41d454ad

  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://paste.openstack.org/show/600202/

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/1667279/+subscriptions


References