Repository navigation
Also treat NotSupported error as a 501 in v9 - #2765
ramondeklein wants to merge 1 commit into
Conversation
NotSupported error as a 501NotSupported error as a 501 in v9
tremble
left a comment
There was a problem hiding this comment.
Generally LGTM, if you can add a "bugfix" fragment to the PR then we can get this merged: https://docs.ansible.com/projects/ansible/latest/community/development_process.html#changelogs-how-to
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 9m 10s |
|
@tremble I think that we need all lines to be changed, anything like |
|
@marktheunissen In theory, yes. Unfortunately, the 9.x code wasn't very consistent exactly how it handled everything. This is why it's now been swapped over to a decorator to handle this with 10.0.0 :) If this small change fixes things for AIStor, I would probably limit the changes to those which are already here, simply because our ability to test against anything other than "standard" AWS is very limited. It would be very unfortunate if we broke something else trying to fix this, and doubly so since the error handling has been completely rewritten for the recent versions. |
tremble
left a comment
There was a problem hiding this comment.
Please add a changelog fragment (https://docs.ansible.com/projects/ansible/latest/community/development_process.html#changelogs-how-to)
Otherwise LGTM
|
Thanks for taking the time to submit this PR. This PR only applies to stable-9, which is now security-fixes only, so I'm going to close the PR. As we discussed, this code was significantly reworked with 10.0.0 |
SUMMARY
Accept
NotSupported(added by S3 Express and AIStor) as an alternative toNotImplementedcode when callings3_client.get_public_access_block. Note that this is for v9 (v10 already has a fix via #2478).ISSUE TYPE
COMPONENT NAME
s3_bucketADDITIONAL INFORMATION
This PR was submitted, because of the discussion in #2478 (comment).