Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s3_bucket module: fix failed to get bucket tags (NoSuchTagSetError) (a…
…nsible-collections#150) According to Amazon's documentation [1] the error code returned when no tag set can be found is NoSuchTagSetError rather than NoSuchTagSet and this is how Ceph's S3 implementation behaves. However AWS S3 actually returns NoSuchTagSet. Associated error with Ceph: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (NoSuchTagSetError) when calling the GetBucketTagging operation: Unknown fatal: [abc]: FAILED! => changed=false boto3_version: 1.14.49 botocore_version: 1.17.49 error: bucket_name: abc code: NoSuchTagSetError msg: 'Failed to get bucket tags: An error occurred (NoSuchTagSetError) when calling the GetBucketTagging operation: Unknown' response_metadata: host_id: '' http_headers: accept-ranges: bytes content-length: '229' content-type: application/xml date: Thu, 27 Aug 2020 07:11:11 GMT strict-transport-security: max-age=31536000; includeSubDomains x-amz-request-id: tx0000000000000003aaad6-005f475c8f-36fd35b6f-rma1 http_status_code: 404 request_id: tx0000000000000003aaad6-005f475c8f-36fd35b6f-rma1 retry_attempts: 0 [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
- Loading branch information