OCI-Cloud Backup Module installation fails with: CreateBucket-409 Conflict
Error:
When running the Cloud backup toll installation the module failed with below error
java -jar /path/to/oci_install.jar -configFile /path/to/myOPC.ora -host https://objectstorage.<my_region>.oraclecloud.com -pvtKeyFile /path/to/myFile.pem
-pubFingerPrint xx:xx:xx:xx:xx:xx:xx:xx:xx:xx -tOCID ocid1.tenancy.oc1..bbbbbbbbbbbbbbb -uOCID ocid1.user.oc1..bbbbbbbbbbbbbbb -libDir /path/to/dbhome/lib
-walletDir /path/to/oci_wallet -bucket RMAN_backup -debug
Debug: createBucket: {"code":"BucketAlreadyExists","message":"Either the bucket 'RMAN_backup' in namespace 'xxxxxxx' already exists or you are not authorized to create it"}
Exception in thread "main" java.lang.RuntimeException: createBucket: 409 Conflict.
at oracle.backup.opc.install.BmcConfig.createBucket(BmcConfig.java:754)
at oracle.backup.opc.install.BmcConfig.setBucket(BmcConfig.java:599)
at oracle.backup.opc.install.BmcConfig.doBmcConfig(BmcConfig.java:236)
at oracle.backup.opc.install.BmcConfig.main(BmcConfig.java:219)
Solution:
Correct the permission user has read/write access on the bucket. If user is part of any group make sure group has correct permissions.
Allow group <group_of_the_user> to manage buckets in compartment <buckets_compartment_name>
Post a Comment
Post a Comment