Merge "Fix the upload-logs-s3 test playbook"

This commit is contained in:
Zuul 2025-03-17 19:59:55 +00:00 committed by Gerrit Code Review
commit 9fd28fafb7
2 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,9 @@ class Uploader():
CORSConfiguration=cors)
except Exception as e:
# MinIO (which we use in testing) doesn't implement this method
if 'MalformedXML' not in str(e):
minio_cors = "PutBucketCors operation: A header you provided " + \
"implies functionality that is not implemented"
if 'MalformedXML' not in str(e) and minio_cors not in str(e):
raise
def upload(self, file_list):

View File

@ -11,6 +11,7 @@
tasks:
- name: Install boto
pip:
extra_args: "--break-system-packages"
name:
- boto3
- botocore