You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI CLI script to create boot vlume backup fails after recent OCI identity changes

Received Response
14
Views
2
Comments

I have a script running on one of my OCI VM instances that creates boot volume backups. This script has been running without any issues for years but today it failed. I assume that this is related to OCI identity changes. Today when I was logging into my OCI admin console I was forced to enable MFA.

Initially "oci iam compartment list" call started failing with "NotAuthenticated" error. I've created Dynamic Group and policy to give instance on which the script is running rights to manage all resources in tenancy and set OCI_CLI_AUTH=instance_principal. This fixed this call but the next call in my script ("oci bv boot-volume-backup list") is now failing with 'status': 404, 'code': 'NotAuthorizedOrNotFound'.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!