non-admin can create and list bgpspeakers but can not show or update speaker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Ryan Tidwell |
Bug Description
Here is the configuration:
[root@SG-
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
[root@SG-
+----+-
| ID | Name | Status | Task State | Power State | Networks |
+----+-
+----+-
[root@SG-
Created a new bgp_speaker:
+------
| Field | Value |
+------
| advertise_
| advertise_
| id | ee03ac3c-
| ip_version | 4 |
| local_as | 777 |
| name | 106 |
| networks | |
| peers | |
| tenant_id | 01c10991df8749d
+------
[root@SG-
Created a new bgp_speaker:
+------
| Field | Value |
+------
| advertise_
| advertise_
| id | cb0a27e5-
| ip_version | 4 |
| local_as | 7788 |
| name | 101 |
| networks | |
| peers | |
| tenant_id | 01c10991df8749d
+------
[root@SG-
+------
| id | name | local_as | ip_version |
+------
| cb0a27e5-
| ee03ac3c-
+------
[root@SG-
Failed to check policy tenant_
Neutron server returns request_ids: ['req-bff87635-
[root@SG-
Failed to check policy tenant_
Neutron server returns request_ids: ['req-fd336b49-
[root@SG-
Failed to check policy tenant_
Neutron server returns request_ids: ['req-70354c3c-
[root@SG-
Failed to check policy tenant_
Neutron server returns request_ids: ['req-a13edca8-
Changed in neutron: | |
assignee: | Na Zhu (nazhu) → Ryan Tidwell (ryan-tidwell) |
In the file bgp_plugin.py, the function policy. check_is_ admin() is called, I think should check the result of the function, if it is false, do not allow the operation and throw an error.