create a rbac policy target_tenant_id=self, can not delete this policy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Kevin Benton |
Bug Description
I create a network use admin with just input the network name. I want to make this network just shared with myself. So I create a policy about it.But after a period , I want to make this network to share to other tenants or delete this policy , it cannot work.
repo
----------------
1. neutron net-create test1 with admin tenant A
2. neutron rbac-create test --type network --action access_as_shared --target-tenant admin_tenant
3.neutron rbac-delete policy_id ------> hit error
4.neutron rbac-update policy_id --target-tenant demo_tenant ------> hit error
So this policy cannot delete.
err_details
-----------------
2015-11-19 02:46:57.687 ERROR neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 ERROR neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
2015-11-19 02:46:57.687 TRACE neutron.
Changed in neutron: | |
assignee: | nobody → zhaobo (zhaobo6) |
tags: | added: api |
tags: | added: rbac |
tags: |
added: access-control removed: rbac |
Changed in neutron: | |
status: | Incomplete → Confirmed |
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
status: | Incomplete → In Progress |
unable to reproduce:
http:// paste.openstack .org/show/ 479551/