admin cannot associate net on behalf of a tenant
Bug #1512711 reported by
Mathieu Rohon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-bgpvpn |
Fix Released
|
High
|
Mathieu Rohon |
Bug Description
the following command is failing while run with cloud admin credentials :
#neutron bgpvpn-
It works properly when run with tenant credential
Changed in bgpvpn: | |
importance: | Undecided → High |
Changed in bgpvpn: | |
status: | New → Confirmed |
Changed in bgpvpn: | |
milestone: | none → liberty |
Changed in bgpvpn: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Works for me:
stack@tm- devstack01: ~$ source openrc admin
stack@tm- devstack01: ~$ neutron net-create netfoo ------- ------- ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ----+ f0cb-4f01- b1e4-033cbe21ee e9 | enabled | True | network_ type | vxlan | physical_ network | | segmentation_ id | 1040 | 5b324346b9f8a43 98 | ------- ------- ------- +------ ------- ------- ------- ------- ----+ devstack01: ~$ neutron bgpvpn-create --route-targets 64512:77 ------- ------- --+---- ------- ------- ------- ------- ------+ ------- ------- --+---- ------- ------- ------- ------- ------+ 85d1-4a1a- b0b2-5ce336fb80 75 | shers | | 5b324346b9f8a43 98 | ------- ------- --+---- ------- ------- ------- ------- ------+ devstack01: ~$ neutron bgpvpn-list ------- ------- ------- ------- ----+-- ----+-- ----+-- ------- ------+ ------- ------- --+---- ------- -----+- ------- ------- ------- ------- -----+- ------- --+ ------- ------- ------- ------- ----+-- ----+-- ----+-- ------- ------+ ------- ------- --+---- ------- -----+- ------- ------- ------- ------- -----+- ------- --+ 85d1-4a1a- b0b2-5ce336fb80 75 | | l3 | [u'64512:77'] | [] | [] | cc432618b9fa427 5b324346b9f8a43 98 | [] | ------- ------- ------- ------- ----+-- ----+-- ----+-- ------- ------+ ------- ------- --+---- ------- -----+- ------- ------- ------. ..
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 1268a2b4-
| mtu | 0 |
| name | netfoo |
| port_security_
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | cc432618b9fa427
+------
stack@tm-
Created a new bgpvpn:
+------
| Field | Value |
+------
| auto_aggregate | True |
| export_targets | |
| id | 9b6b6e34-
| import_targets | |
| name | |
| networks | |
| route_distingui
| route_targets | 64512:77 |
| tenant_id | cc432618b9fa427
| type | l3 |
+------
stack@tm-
+------
| id | name | type | route_targets | import_targets | export_targets | tenant_id | networks |
+------
| 9b6b6e34-
+------