← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1697925] [NEW] as a tenant user not able to create a subnetpool associating with a shared address scope

 

Public bug reported:

1. created a "--shared" addresscope from admin tenant . 
2. From a user tenant, as a normal user I am trying to create a subnetpool associating with the addresscope created in step 1.

this operation fails ,

root@controller01:~# neutron address-scope-show cc21d772-a9b4-41c4-b48d-16c19bb828c6
+------------+--------------------------------------+
| Field      | Value                                |
+------------+--------------------------------------+
| id         | cc21d772-a9b4-41c4-b48d-16c19bb828c6 |
| ip_version | 4                                    |
| name       | test-addr-scope                      |
| project_id | f3e6f186351c441ea49c74e24360289c     |
|> shared     | True                                 |
| tenant_id  | f3e6f186351c441ea49c74e24360289c     |
+------------+--------------------------------------+

root@controller01:~# neutron subnetpool-create  --pool-prefix 172.80.0.0/16 --default-prefixlen 24 selfservice --address-scope test-addr-scope
Illegal subnetpool association: subnetpool  cannot be associated with address scope cc21d772-a9b4-41c4-b48d-16c19bb828c6.
Neutron server returns request_ids: ['req-2be55467-9e18-47a6-a9c2-9c3fe39f7190']

But as far as I understand we do support shared addresscopes. 
Please let me know if you want more info

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

Title:
  as a tenant user not able to create a subnetpool associating with a
  shared address scope

Status in neutron:
  New

Bug description:
  1. created a "--shared" addresscope from admin tenant . 
  2. From a user tenant, as a normal user I am trying to create a subnetpool associating with the addresscope created in step 1.

  this operation fails ,

  root@controller01:~# neutron address-scope-show cc21d772-a9b4-41c4-b48d-16c19bb828c6
  +------------+--------------------------------------+
  | Field      | Value                                |
  +------------+--------------------------------------+
  | id         | cc21d772-a9b4-41c4-b48d-16c19bb828c6 |
  | ip_version | 4                                    |
  | name       | test-addr-scope                      |
  | project_id | f3e6f186351c441ea49c74e24360289c     |
  |> shared     | True                                 |
  | tenant_id  | f3e6f186351c441ea49c74e24360289c     |
  +------------+--------------------------------------+

  root@controller01:~# neutron subnetpool-create  --pool-prefix 172.80.0.0/16 --default-prefixlen 24 selfservice --address-scope test-addr-scope
  Illegal subnetpool association: subnetpool  cannot be associated with address scope cc21d772-a9b4-41c4-b48d-16c19bb828c6.
  Neutron server returns request_ids: ['req-2be55467-9e18-47a6-a9c2-9c3fe39f7190']

  But as far as I understand we do support shared addresscopes. 
  Please let me know if you want more info

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1697925/+subscriptions


Follow ups