← Back to team overview

yahoo-eng-team team mailing list archive

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

 

*** This bug is a duplicate of bug 1862968 ***
    https://bugs.launchpad.net/bugs/1862968

Reviewed:  https://review.opendev.org/709122
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=eb6104c0ac61216234ea958f2fd322e70b8e4bec
Submitter: Zuul
Branch:    master

commit eb6104c0ac61216234ea958f2fd322e70b8e4bec
Author: Igor Malinovskiy <u.glide@xxxxxxxxx>
Date:   Mon Feb 17 15:01:28 2020 +0200

    Allow sharing of address scopes via RBAC mechanism
    
    Neutron-lib api ref: https://review.opendev.org/#/c/707407/
    Client: https://review.opendev.org/#/c/709124/
    Tempest tests: https://review.opendev.org/#/c/711610/
    
    Change-Id: I74bedae4de4eb25e5427ecb129543885a020a0a8
    Depends-On: https://review.opendev.org/712633
    Partial-Bug: #1862968
    Closes-Bug: #1697925


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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


References