rgw: Added Cosmetic change in etag of copyObjectResult#47527
rgw: Added Cosmetic change in etag of copyObjectResult#47527
Conversation
63b4c9a to
65c8e7f
Compare
|
@alimaredia @cbodley @dang Could you please review this PR. |
|
@cbodley @alimaredia failures seen for 2 checks against this PR doesnt seem to be related to PR changes itself, can you please check & suggest how to correct those ceph windows tests make check (arm64) |
src/rgw/rgw_op.cc
Outdated
| this, | ||
| s->yield); | ||
|
|
||
| etag = "\"" + etag + "\""; |
There was a problem hiding this comment.
we format the response in https://github.com/ceph/ceph/blob/5ab5ff46/src/rgw/rgw_rest_s3.cc#L3470-L3478. please add quotes to the etag like other requests do (ex. https://github.com/ceph/ceph/blob/5ab5ff46/src/rgw/rgw_rest_s3.cc#L1737):
- s->formatter->dump_string("ETag", std::move(etag));
+ s->formatter->dump_format("ETag", "\"%s\"", etag.c_str());There was a problem hiding this comment.
Sure. Will do the change.
65c8e7f to
0a72f8c
Compare
|
jenkins test make check |
d405f05 to
01c0758
Compare
Signed-off-by: shraddhaghatol <[email protected]>
01c0758 to
4a11712
Compare
|
@cbodley saw your approval. Could you please share the plan to merge this PR. |
|
@cbodley @alimaredia can we merge this please? Am not sure of issues failing in PR checklist & if they apply to this one. |
@shraddhaghatol the if you or @cdeshmukh would like to help test this yourself, the first step is to request vpn access to the sepia lab: https://wiki.sepia.ceph.com/doku.php?id=vpnaccess. when you file a ticket, feel free to link to this PR - Ali and I are both happy to vouch for you you can read more about the integration tests in https://docs.ceph.com/en/latest/dev/developer_guide/testing_integration_tests/tests-integration-testing-teuthology-intro/#how-to-run-integration-tests. once you have vpn access, we can share the exact command we use to schedule the rgw suite of tests |
|
Since you checked off "references tracker ticket" please provide a link to that ticket in the description, @shraddhaghatol . |
@ivancich Added this check accidently. Removed it now. |
|
@shraddhaghatol @cdeshmukh i've added this to my wip-cbodley-testing branch with 3 other PRs. i pushed that branch to the ceph-ci repo at https://github.com/ceph/ceph-ci/commits/wip-cbodley-testing, which triggers CI to build packages/containers that will show up under https://shaman.ceph.com/builds/ceph/wip-cbodley-testing/. once the builds are done, i'll schedule the rgw suite with a command like this:
test results will eventually show up under https://pulpito.ceph.com/?suite=rgw. i'll follow up with a link to the results, and merge if there are no regressions |
|
jenkins test api |
thanks @cbodley for the suggestion, let us get acquainted with teuthology first and may be in sometime future we can plan for PRs coming from cortx-rgw, so not for this PR at least. |
|
thanks @cbodley |
Problem:
Observed discrepancy with AWS for CopyObject API's response.
In ceph-RADOS, "etag" field was not included in ("/ /")
Resolution:
Included etag field of CopyObject API's response in ("/ /") to make it AWS compliant
Signed-off-by: shraddhaghatol [email protected]
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 pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows