The topmost element name is different, and the Status value is not being returned, even if the versioning value is added or changed. Also, the ResultMetadata value doesn't exist in the GetBucketVersioning response syntax in the S3 documentation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html).
Send a PutBucketVersioning command changing the status to Suspended.
Repeat step 1.
Expected behavior
versitygw XML matches that of direct-to-s3 XML, and the Status value correctly changes
Server Version
Version : v1.0.7
Build : b7291c3
BuildTime: 2024-09-25_08:28:23PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
Describe the bug Direct to s3, responses similar to the following are returned:
However, with versitygw, a message similar to the following is returned:
The topmost element name is different, and the
Status
value is not being returned, even if the versioning value is added or changed. Also, theResultMetadata
value doesn't exist in theGetBucketVersioning
response syntax in the S3 documentation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html).To Reproduce
Enabled
(script: https://github.com/versity/versitygw/blob/test_cmdline_rest_retention/tests/rest_scripts/put_bucket_versioning.sh).Suspended
.Expected behavior versitygw XML matches that of direct-to-s3 XML, and the
Status
value correctly changesServer Version Version : v1.0.7 Build : b7291c3 BuildTime: 2024-09-25_08:28:23PM Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64