Repository navigation
rgw/logging: use trans_id for standard access log record - #67984
Conversation
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
13 similar comments
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
please add proper test in the ceph/s3tests test suite |
Add test_bucket_logging_request_id to verify that the RequestID field in the standard access log matches the x-amz-request-id returned in the S3 PUT object response. Related: ceph/ceph#67984, tracker.ceph.com/issues/75416 Signed-off-by: cheese-cakee <[email protected]>
|
Done. Test added in ceph/s3-tests#729 |
thanks! will test and let you know |
Thankyou! |
In standard mode, the access log record was using s->req_id for the request ID field. The correct field is s->trans_id, which matches the x-amz-request-id returned in the S3 response. This is consistent with how all other RGW response code uses trans_id. Fixes: http://tracker.ceph.com/issues/75416 Signed-off-by: cheese-cakee <[email protected]>
e140af2 to
127f8ad
Compare
|
Pr testing completed. Tacker approved by @ivancich. More details : https://tracker.ceph.com/issues/76230 |
Add test_bucket_logging_request_id to verify that the RequestID field in the standard access log matches the x-amz-request-id returned in the S3 PUT object response. Related: ceph/ceph#67984, tracker.ceph.com/issues/75416 Signed-off-by: cheese-cakee <[email protected]> (cherry picked from commit 3b99093)
Summary
s->trans_idinstead ofs->req_idfor the request ID fieldx-amz-request-idreturned in the S3 response, which iss->trans_idreq_idvstrans_idconfusion)Related
Checklist