Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error: "Compartment does not exist or is not in tree" when creating policy

User_XBC8RJun 7 2022

Hello People,
I am creating a local tiering setup with two vcn in two tenancies https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/localVCNpeering.htm) Part of this are the two policies allowing the other tenancy to associate the gateways.
When i try to add the third statemant of the requestor policy where I set the compartment ocid of the acceptor I always get the error „Compartment <ocid> does not exist or is not in tree“. I tried using the tenancy and a specifically create compartment, but the error persists and I have no clue why.
And hint would be much appreciated.

Comments
Post Details
Added on Jun 7 2022
0 comments
3,492 views