Skip to Main Content

Cloud Connectivity

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OCI peering VCN in the same region but different tenancies with an upgraded DRG

Mervin HemarajuApr 8 2024 — edited Apr 8 2024

I am trying to create a connection between 2 VCNs from two different tenancies.

I am following this doc to do it: https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/scenario_d.htm#scenario_dtask_b_dita

Below is the startup information:

Tenancy 1:
- VCN A
- DRG A

Tenancy 2:
- VCN B

I set up the following resources in Tenancy 1:

IAM Policy R

   define group vcnAdmin as xxxx
   define group drgAdmin as xxxx
   define tenancy acceptorVCN as xxxx
   endorse group drgAdmin to manage drg-attachment in tenancy acceptorVCN
   admit group vcnAdmin of tenancy acceptorVCN to manage drg in tenancy
where:
- `vcnAdmin`is the OCID of the Adminsitrators group that is in the Tenancy 2.
- `drgAdmin` is the OCID of the Administrators group that is in Tenancy 1
- `acceptorVCN` is the OCID of Tenancy 2

IAM Policy A

   define tenancy requestorDRG as xxxx
   define group drgAdmin as xxxx
   define group vcnAdmin as xxxx
   admit group drgAdmin of tenancy requestorDRG to manage drg-attachment in tenancy
   endorse group vcnAdmin to manage drg in tenancy requestorDRG
where:
- `requestorDRG` is the OCID of Tenancy 1
- `drgAdmin` is the OCID of Administrators group in Tenancy 1
- `vcnAdmin` is the OCID of Administrators group in Tenancy 1

I have added IAM Policy A in the Tenancy 2 as well with the same OCIDs.

I have then created a DRG in Tenancy 1 and created a VCN attachment and attached my VCN 1 with it. This was successful.

Now, when I try to attach VCN 2 using a cross tenancy attachment, I am getting the following error:


Vcn: ocid1.vcn.oc1.af-johannesburg-1.xxx does not exist or you are not authorized to access it

Is there something i am missing ?

Comments

InoL Apr 29 2024

How doc gen treats nulls values?

You have to be more specific. Are your referring to the pre-built Document Generator function?

If so:

When my query return null in some columns

What is the JSON that is generated?

You should always include the element in the JSON, with an empty value. Don't leave it out.

Francois Robert-Oracle Jan 8 2025 — edited on Jan 8 2025

Since September 2024, when a tag has no corresponding value in the JSON data or the value is null, the tag is replaced by an empty string.

See the September Release Notes

1 - 2

Post Details

Added on Apr 8 2024
3 comments
577 views