Repository navigation
rgw/auth: fix internal server error for presigned urls - #59983
Conversation
We have special error handling for these cases but we don't check the negative value of the error so it instead gets caught as an error not defined with a response and throws a http 500. This was implement by [1] and the same way done with [2]. [1] ceph#55371 [2] ceph#56044 Signed-off-by: Tobias Urdin <[email protected]>
|
@cbodley this was backported/is in 19.x release as well so might want to pull this back in those releases as well |
thanks @tobias-urdin. it looks like #59984 conflicts with this one. if we need to backport this, it should merge before #59984 |
|
i opened https://tracker.ceph.com/issues/68300 to track the squid backport |
|
you can merge this at your discretion and i will rebase #59984 on that, proposed as two different patches because this solves the immediate issue while the other patch was a proposal on (imo) a better approach but wasn't sure if it would allow a backport of that |
unrelated, but opened https://tracker.ceph.com/issues/68335 and https://tracker.ceph.com/issues/68336 to track |
|
jenkins test make check |
|
|
jenkins test api |
|
|
jenkins test api |
|
jenkins test make check |
|
is there a s3 test case for this? |
We have special error handling for these cases but we don't check the negative value of the error so it
instead gets caught as an error not defined with a response and throws a http 500.
This was implement by [1] and the same way done
with [2].
[1] #55371
[2] #56044
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.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 windowsjenkins test rook e2e