New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw: Return correct status code in case of DeleteBucketTagging API. #47262
rgw: Return correct status code in case of DeleteBucketTagging API. #47262
Conversation
Problem: Observed discrepancy with AWS for DeleteBucketTagging API. In ceph-RADOS DeleteBucketTagging API returning status code=200 on success, while in AWS it is returning status code=204. Resolution: Assign op_ret=STATUS_NO_CONTENT when DeleteBucketTagging operation is successful. Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com>
@alimaredia @cbodley @dang Could you please review this PR. |
can you please open a tracker issue at https://tracker.ceph.com/projects/rgw/issues/new, and write a s3test case to verify the fix? |
Sure, will do. |
exactly right, thanks |
case. Updated test_set_bucket_tagging test for verifying the http status code for DeleteBucketTagging case. Related CEPH PR: ceph/ceph#47262 Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com>
…ging case. Updated test_set_bucket_tagging test for verifying the http status code for DeleteBucketTagging case. Related CEPH PR: ceph/ceph#47262 Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com>
Created a ceph/s3_tests PR - ceph/s3-tests#464 : for validating the status code for DeleteBucketTagging API. |
@cdeshmukh I'll take a look at the s3tests PR and do some further review. |
jenkins test make check |
jenkins test ceph windows tests |
jenkins test windows |
@cdeshmukh this looks good to me, I'm going to run it through teuthology (with your new test) and then merge it if it passes |
thanks @alimaredia, if found all good, requesting to see if we can merge by monday here, and we will incorporate same in our forked cortx-rgw repo also within some internal timelines. Its just a request if possible, i know its hard to help with such timelines btw its @shriya-deshmukh's PR |
Created a tracker issue - https://tracker.ceph.com/issues/56987 |
…ging case. Updated test_set_bucket_tagging test for verifying the http status code for DeleteBucketTagging case. Related CEPH PR: ceph/ceph#47262 Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com> (cherry picked from commit c8fc8cd)
thanks @alimaredia |
* Adjust wait time for cloud-transition test failures Signed-off-by: Soumya Koduri <skoduri@redhat.com> * s3tests.conf.SAMPLE: comment out [s3 cloud] section Signed-off-by: Casey Bodley <cbodley@redhat.com> * Tag sse* tests with 'fails_on_dbstore' attr Signed-off-by: Soumya Koduri <skoduri@redhat.com> * fix GetBucketTagging error code related to https://tracker.ceph.com/issues/55460 Signed-off-by: Casey Bodley <cbodley@redhat.com> * remove tests that fail on boto3's parameter validation Fixes: https://tracker.ceph.com/issues/55193 Signed-off-by: Casey Bodley <cbodley@redhat.com> * Test case for locked and "marked-deleted" object version removal. Reproduces: https://tracker.ceph.com/issues/55766 Signed-off by: Igor Fedotov <igor.fedotov@croit.io> * Fix User Policy test failures on dbstore Tag User policy tests failing on dbstore as 'fails_on_dbstore' Signed-off-by: Soumya Koduri <skoduri@redhat.com> * rgw/s3_boto3: Added http status code verification for DeleteBucketTagging case. Updated test_set_bucket_tagging test for verifying the http status code for DeleteBucketTagging case. Related CEPH PR: ceph/ceph#47262 Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com> Signed-off-by: Soumya Koduri <skoduri@redhat.com> Signed-off-by: Casey Bodley <cbodley@redhat.com> Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com> Co-authored-by: Soumya Koduri <skoduri@redhat.com> Co-authored-by: Casey Bodley <cbodley@redhat.com> Co-authored-by: Daniel Gryniewicz <dang@redhat.com> Co-authored-by: Ali Maredia <amaredia@redhat.com> Co-authored-by: Igor Fedotov <igor.fedotov@croit.io> Co-authored-by: Shriya Deshmukh <shriya.deshmukh@seagate.com> Co-authored-by: Casey Bodley <cbodley@users.noreply.github.com>
Problem:
Observed discrepancy with AWS for DeleteBucketTagging API.
In ceph-RADOS DeleteBucketTagging API returning status code=200
on success, while in AWS it is returning status code=204.
Resolution:
Assign op_ret=STATUS_NO_CONTENT when DeleteBucketTagging operation
is successful.
Issue: https://tracker.ceph.com/issues/56987
Signed-off-by: Shriya Deshmukh shriya.deshmukh@seagate.com
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows