Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vadmeste
Copy link
Member

The operator can be in a weird state when removing the log from the tenant yaml. If removing the audit webhook succeed but the removal of the log service fails, the operator will enter in an loop of errors because it is not ignoring 'config not found' error when deleting the webhook config again in the next try.

The commit ignores XMinioConfigError and XMinioConfigNotFoundError though XMinioConfigError is not returned when a config is not found since MinIO server Dec 2022.

The operator can be in a weird state when removing the log from the
tenant yaml. If removing the audit webhook succeed but the removal of
the log service fails, the operator will enter in an loop of errors
because it is not ignoring 'config not found' error when deleting
the webhook config again in the next try.

The commit ignores XMinioConfigError and XMinioConfigNotFoundError
though XMinioConfigError is not returned when a config is not found
since MinIO server Dec 2022.
@vadmeste
Copy link
Member Author

vadmeste commented Dec 6, 2022

@cniackz @pjuarezd, please take a look and let me know if you need any clarification.

@dilverse dilverse merged commit 6b07979 into minio:master Dec 22, 2022
harshavardhana pushed a commit that referenced this pull request Jan 3, 2023
…tem (#1350)

The operator can be in a weird state when removing the log from the
tenant yaml. If removing the audit webhook succeed but the removal of
the log service fails, the operator will enter in an loop of errors
because it is not ignoring 'config not found' error when deleting
the webhook config again in the next try.

The commit ignores XMinioConfigError and XMinioConfigNotFoundError
though XMinioConfigError is not returned when a config is not found
since MinIO server Dec 2022.

Co-authored-by: Anis Elleuch <[email protected]>
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.

3 participants