← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1667279] [NEW] Neutron: Admin tenant is not able to create subnet pool for no admin tenant

 

Public bug reported:

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/

** 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/1667279

Title:
  Neutron: Admin tenant is not able to create subnet pool for no admin
  tenant

Status in neutron:
  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/neutron/+bug/1667279/+subscriptions


Follow ups