RBAC "Access_as_external" policy update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Kevin Benton |
Bug Description
I was trying update "target_tenant" field in the existing RBAC policy, The policy is "access_
On an admin tenant, with an admin user, I created an external network. This automatically creates and "access_
+------
| Field | Value |
+------
| action | access_as_external |
| id | f09399eb-
| object_id | 0ff86006-
| object_type | network |
| target_tenant | * |
| tenant_id | a654338c862f401
+------
I wanted to update the RBAC policy but encountered the following error:
"neutron rbac-update f09399eb-
RBAC policy on object 0ff86006-
Details: Callback neutron.
Neutron server returns request_ids: ['req-218d22bd-
The external network is not in use by any router/or any other object.
Reproduction steps:
Create a network with " router:external" attribute ( external network)
See rbac policy list and show the existing rbac policy for the external network (see object_id = network_id)
execute "neutron rbac-update RBACPOLICYID --target_tenant DESIRED_TENANT_ID"
Version:
MITAKA on rhel 7.2
$rpm -qa | grep neutron
python-
openstack-
openstack-
python-
python-
openstack-
openstack-
openstack-
AllInOne environment. (packstack installation)
description: | updated |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Kevin Benton (kevinbenton) |
Fix proposed to branch: master /review. openstack. org/311897
Review: https:/