My Oracle Support Banner

OCI: Cloud Backup Module installation fails with: CreateBucket: 409 Conflict. (Doc ID 2876046.1)

Last updated on SEPTEMBER 19, 2022

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Linux x86-64

Symptoms

Customer cannot install CBM

 

$ 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..aaaaaaaaaaaaaaaaaaaaaaa -uOCID ocid1.user.oc1..aaaaaaaaaaaaaaaaaaaaaaaa -libDir /path/to/dbhome/lib

-walletDir /path/to/oci_wallet -bucket myBucket -debug
Oracle Database Cloud Backup Module Install Tool, build 19.3.0.0.0DBBKPCSBP_2019-10-16
Debug: os.name = Linux
Debug: os.arch = amd64
Debug: os.version = 4.1.12-124.58.2.el7uek.x86_64
Debug: file.separator = /
Debug: Platform = PLATFORM_LINUX64
Debug: StringToSign:
date: Wed, 01 Jun 2022 15:09:00 GMT
(request-target): get /n/
host: objectstorage.<my_region>.oraclecloud.com
Debug: OCI User Namespace: xxxxxx
Oracle Database Cloud Backup Module credentials are valid.
Debug: StringToSign:
date: Wed, 01 Jun 2022 15:09:01 GMT
(request-target): get /n/xxxxxx/b/myBucket
host: objectstorage.<my_region>.oraclecloud.com
Debug: CreateBucketDetails: {"name":"myBucket","compartmentId":"ocid1.tenancy.oc1..aaaaaaaazaaaaaaaaaaaaaa"}
Debug: StringToSign:
date: Wed, 01 Jun 2022 15:09:01 GMT
content-length: 122
x-content-sha256: K64CmLGWhJmkikCxCs+VpHY4yUnNo6lwBZUQtgKEZBs=
(request-target): post /n/xxxxxxx/b/
host: objectstorage.<my_region>.oraclecloud.com
content-type: application/json
Debug: createBucket: {"code":"BucketAlreadyExists","message":"Either the bucket 'myBucket' 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)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.