a tenant cannot list/show/delete its net-assocs resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-bgpvpn |
Fix Released
|
High
|
Mathieu Rohon |
Bug Description
after attaching a network to one of its bgpvpn, a tenant cannot access its net-assocs sub-resources :
#neutron bgpvpn-
Created a new network_
+------
| Field | Value |
+------
| id | 7c605864-
| network_id | e560b230-
+------
#neutron bgpvpn-
Failed to check policy tenant_
#neutron bgpvpn-
Failed to check policy tenant_
Changed in bgpvpn: | |
importance: | Undecided → High |
Changed in bgpvpn: | |
assignee: | nobody → Mathieu Rohon (mathieu-rohon) |
summary: |
- a tenant cannot list/show its net-assocs resources + a tenant cannot list/show/delete its net-assocs resources |
Changed in bgpvpn: | |
milestone: | none → liberty |
Changed in bgpvpn: | |
status: | Fix Committed → Fix Released |
her is the traceback on the server :
2015-11-03 16:51:57.514 DEBUG keystoneclient. session [-] RESP: [200] content-length: 1711 x-subject-token: {SHA1}036bbd43f ff5e692b232b307 02d8ff1ae8232dc 5 vary: X-Auth-Token keep-alive: timeout=5, max=97 server: Apache/2.4.10 (Debian) connection: Keep-Alive date: Tue, 03 Nov 2015 16:51:57 GMT content-type: application/json x-openstack- request- id: req-54677bf4- 79ec-4d2d- 8478-3ba97d1a79 93 92a79368fde8b67 b7f", "name": "Member"}, {"id": "3f094719ebbe4b d8849f398e6cb1c 7d0", "name": "anotherrole"}], "expires_at": "2015-11- 03T17:51: 57.000000Z" , "project": {"domain": {"id": "default", "name": "Default"}, "id": "f1fbaad6289849 92a2a1c8e1fc522 8ba", "name": "demo"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "0355eb90a60546 c6b2d0d729e5d63 372", "name": "demo"}, "audit_ids": ["kkpLUAfeS_ Kt0QXKidYKLg" ], "issued_at": "2015-11- 03T16:51: 57.240327" }} lib/python2. 7/dist- packages/ keystoneclient/ session. py:215 _cache_ handler [req-f513571e- 0a87-43c1- 8448-73282a58eb 75 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Reloading cached file /etc/neutron/ policy. json from (pid=4401) read_cached_file /usr/local/ lib/python2. 7/dist- packages/ oslo_policy/ _cache_ handler. py:38 0a87-43c1- 8448-73282a58eb 75 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Reloaded policy file: /etc/neutron/ policy. json from (pid=4401) _load_policy_file /usr/local/ lib/python2. 7/dist- packages/ oslo_policy/ policy. py:441 _cache_ handler [req-f513571e- 0a87-43c1- 8448-73282a58eb 75 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Reloading cached file /etc/neutron/ policy. d/bgpvpn. conf from (pid=4401) read_cached_file /usr/local/ lib/python2. 7/dist- packages/ oslo_policy/ _cache_ handler. py:38 0a87-43c1- 8448-73282a58eb 75 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Reloaded policy file: /etc/neutron/ policy. d/bgpvpn. conf from (pid=4401) _load_policy_file /usr/local/ lib/python2. 7/dist- packages/ oslo_policy/ policy. py:441 0a87-43c1- 8448-73282a58eb 75 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Enforcing rules: ['get_bgpvpn: tenant_ id'] from (pid=4401) log_rule_list /opt/stack/ neutron/ neutron/ policy. py:321 0a87-43c1- 8448-73282a58eb 75 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] 192.168.122.17 - - [03/Nov/2015 16:51:57] "GET /v2.0/bgpvpn/ bgpvpns. json?fields= id&id=0a83d793- 63e4-42df- a918-1136bd09ab f8 HTTP/1.1" 200 274 0.453268 7a6a-4da4- 9116-5847ba3d51 57 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Unable to find ':' as separator in tenant_id. from (pid=4401) __call__ /opt/stack/ neutron/ neutron/ policy. py:228 7a6a-4da4- 9116-5847ba3d51 57 demo f1fbaad62898499 2a2a1c8e1fc5228 ba] Unable to verify match:%(tenant_id)s as th...
RESP BODY: {"token": {"methods": ["password", "token"], "roles": [{"id": "31b9604410434a
from (pid=4401) _http_log_response /usr/local/
2015-11-03 16:51:57.516 DEBUG oslo_policy.
2015-11-03 16:51:57.521 DEBUG oslo_policy.policy [req-f513571e-
2015-11-03 16:51:57.526 DEBUG oslo_policy.
2015-11-03 16:51:57.527 DEBUG oslo_policy.policy [req-f513571e-
2015-11-03 16:51:57.712 DEBUG neutron.policy [req-f513571e-
2015-11-03 16:51:57.716 INFO neutron.wsgi [req-f513571e-
2015-11-03 16:51:57.746 DEBUG neutron.policy [req-beb825c9-
2015-11-03 16:51:57.747 ERROR neutron.policy [req-beb825c9-