You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "StepBee (via GitHub)" <gi...@apache.org> on 2025/02/18 07:35:23 UTC
Re: [I] Ceph RGW Object Storage couldn't be added (Invalid credentials or URL) [cloudstack]
StepBee commented on issue #10044:
URL: https://github.com/apache/cloudstack/issues/10044#issuecomment-2664826901
@hanisirfan @abh1sar i have exactly the same issue and was able to track down the issue to Cloudstacks usage of the S3 library being used.
The library is sending the request including the following tag:
`<CreateBucketConfiguration xmlns=#22http://s3.amazonaws.com/doc/2006-03-01/#22><LocationConstraint>stepbee</LocationConstraint></CreateBucketConfiguration>`
the `<LocationContraint>` tag, or actually the content, is not what (at least my version of) Ceph is expecting/accepting.
It comes down to the following line of code in CloudStack
[https://github.com/apache/cloudstack/blob/864751d5f990d2848b3b00559202a4a590193c78/plugins/storage/object/ceph/src/main/java/org/apache/cloudstack/storage/datastore/driver/CephObjectStoreDriverImpl.java#L351](https://github.com/apache/cloudstack/blob/864751d5f990d2848b3b00559202a4a590193c78/plugins/storage/object/ceph/src/main/java/org/apache/cloudstack/storage/datastore/driver/CephObjectStoreDriverImpl.java#L351)
where the "auto" is instructing the S3 library to construct some s3 region string, which is not accepted by (at least my version of) Ceph.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org