Operations on objects created pre RBAC fail, on enabling RBAC.
Description: Certain objects created pre RBAC has owner ID not
same as the id of the project in which those objects are created.
This is because the project information passed was the service
tenant. This is causing failure of operations on those objects
after enbaling RBAC.
This script iterates through all objects in project and changes
it's owner field to the project id.
Help on how to use the script is available in the script.
This is a partial fix. Comeplete fix will be available once we
neutron handler code in API server.
Reviewed: https:/ /review. opencontrail. org/34227 github. com/Juniper/ contrail- controller/ commit/ 43c4b63c67e43ce 371b0b14e31e49e dc0eae48de
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit 43c4b63c67e43ce 371b0b14e31e49e dc0eae48de
Author: Suresh Venkata <email address hidden>
Date: Tue Aug 1 11:59:30 2017 -0700
Operations on objects created pre RBAC fail, on enabling RBAC.
Description: Certain objects created pre RBAC has owner ID not
same as the id of the project in which those objects are created.
This is because the project information passed was the service
tenant. This is causing failure of operations on those objects
after enbaling RBAC.
This script iterates through all objects in project and changes
it's owner field to the project id.
Help on how to use the script is available in the script.
This is a partial fix. Comeplete fix will be available once we
neutron handler code in API server.
Change-Id: I478c967746a525 eab156a8836fc75 80518a384a3
Partial-Bug: #1706218