Skip to content

pb-4241: Added ErrCodeBucketAlreadyExists check in CreateBucket to avoid logging confusing warning event in the applicationbackup CR.#1481

Merged
siva-portworx merged 1 commit into
masterfrom
pb-4241
Aug 21, 2023
Merged

pb-4241: Added ErrCodeBucketAlreadyExists check in CreateBucket to avoid logging confusing warning event in the applicationbackup CR.#1481
siva-portworx merged 1 commit into
masterfrom
pb-4241

Conversation

@siva-portworx
Copy link
Copy Markdown
Contributor

What type of PR is this?

Uncomment only one and also add the corresponding label in the PR:
bug

What this PR does / why we need it:

pb-4241: Added ErrCodeBucketAlreadyExists check in CreateBucket to avoid logging confusing warning event in the applicationbackup CR.

Does this PR change a user-facing CRD or CLI?:

Is a release note needed?:

Issue: Warning event is logged in the applicaitonbackup CR, if the S3 bucket was already exists.
User Impact: The warning event was confusing to the user.
Resolution: Avoiding warning event if S3 objectstore gives ErrCodeBucketAlreadyExists code.

Does this change need to be cherry-picked to a release branch?:
23.7.2 branch

Testing:
Before fix:

Screenshot 2023-08-20 at 1 32 55 PM After fix the warning event is visible in applicationbackup CR.

…oid logging confusiong warning event in the applicationbackup CR.
@cnbu-jenkins
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@siva-portworx siva-portworx merged commit e45d2f1 into master Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants