Create bucket failed with error InvalidLocationConstraint when specifying LocationConstraint="default:default-placement"

Solution Verified - Updated -

Issue

  • Create bucket failed when specifying LocationConstraint="default:default-placement":
[root@rhcs5adm1 ~]# aws s3api create-bucket --bucket my-bucket666 --profile ceph  --endpoint=http://10.72.44.174:8080 --create-bucket-configuration LocationConstraint="default:default-placement"

An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
  • Create bucket failed from RHCS dashboard

Environment

  • Red Hat Ceph Storage 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content