erik78se / nextcloud-charms

1 stars 2 forks source link

auto-create bucket using ceph #52

Open Maharacha opened 3 years ago

Maharacha commented 3 years ago

Log from nextcloud (logging in UI)

Exception: Creation of bucket "nextcloud" failed. Error executing "CreateBucket" on "http://13.51.6.243/nextcloud"; AWS HTTP error: Client error: `PUT http://13.51.6.243/nextcloud` resulted in a `400 Bad Request` response: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidLocationConstraint</Code><Message>The specified location-const (truncated...) InvalidLocationConstraint (client): The specified location-constraint is not valid - <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidLocationConstraint</Code><Message>The specified location-constraint is not valid</Message><BucketName>nextcloud</BucketName><RequestId>tx00000000000000000001e-00601868da-11dc-default</RequestId><HostId>11dc-default-default</HostId></Error>
Maharacha commented 3 years ago

Solution might be here: https://github.com/boto/boto3/issues/125