-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPE-2758 better messaging when no bucket + ceph testing #332
DPE-2758 better messaging when no bucket + ceph testing #332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful! 🚀
Please replicate to vm charm if you can - also bump libpatches for the backups
and s3_helpers
libs in the vm charm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix and test is important for the next stable release of mysql-server => LGTM.
Carl fired proper security questions, the followup PR will be necessary here (additionally to the new test stabilization changes).
Blocked by: canonical/data-platform-workflows#111 |
dpe-2758-better-messaging-when-no-bucket # Conflicts: # lib/charms/mysql/v0/mysql.py # lib/charms/mysql/v0/s3_helpers.py
dpe-2758-better-messaging-when-no-bucket
Unblocked! |
except Exception: | ||
error_message = "Failed to retrieve backup ids from S3" | ||
logger.exception(error_message) | ||
except Exception as e: | ||
error_message = ( | ||
e.message if hasattr(e, "message") else "Failed to retrieve backup ids from S3" | ||
) | ||
logger.error(error_message) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider using a more specific exception type instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please keep data-platform-workflow versions in .github/workflows in sync with pyproject.toml
otherwise, looks good
Issue
Solution