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/34301 github. com/Juniper/ contrail- controller/ commit/ ddc3ab1cefe797a dc2d2eeae4355f3 ceb070361e
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit ddc3ab1cefe797a dc2d2eeae4355f3 ceb070361e
Author: Suresh Venkata <email address hidden>
Date: Tue Aug 1 12:16:13 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