jeanvetorello opened a new pull request, #11115:
URL: https://github.com/apache/cloudstack/pull/11115

   ### Description
   
   This PR fixes an issue in the `CephObjectStoreDriverImpl` where the AWS S3 
client was incorrectly initialized using the access key in place of both the 
access and secret key. This caused `SignatureDoesNotMatch` errors during bucket 
operations such as creation and policy updates when interacting with Ceph RGW 
using Signature V4.
   
   **Fix:**
   Replaced incorrect usage:
   ```java
   getS3Client(url, bucket.getAccessKey(), bucket.getAccessKey())
   
   Impact:
   Without this fix, CloudStack fails to perform S3 operations against Ceph RGW 
due to invalid signature generation, making the object storage integration 
unusable from the UI/API.
   
   Steps to reproduce:
   
   Configure a Ceph RGW object store in CloudStack.
   
   Attempt to create a bucket via the UI or API.
   
   Observe SignatureDoesNotMatch errors in management server logs.
   
   Types of changes
    Bug fix (non-breaking change which fixes an issue)
   
    Breaking change (fix or feature that would cause existing functionality to 
change)
   
    New feature (non-breaking change which adds functionality)
   
    Enhancement (improves an existing feature and functionality)
   
    Cleanup (Code refactoring and cleanup, that may add test cases)
   
    build/CI
   
    test (unit or integration test code)
    
    Feature/Enhancement Scale or Bug Severity
   Bug Severity
   Minor to moderate – affects integration functionality with Ceph RGW for 
object storage.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to