Skip to content
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-4235, DPE-4315, DPE-3263 Common UX for replication #421

Merged
merged 10 commits into from
Jun 7, 2024

Conversation

paulomach
Copy link
Contributor

@paulomach paulomach commented May 29, 2024

Issue

  • common UX for async replication set-up PG/MYSQL per spec DA097
  • See issue VM #445
  • async relation secret was not being removed on relation broken
  • non-leader hooks were being run by the leader
  • password rotation need to be propagated across apps

Solution

@paulomach paulomach changed the title DPE-4235, DPE-4315 Common UX for replication DPE-4235, DPE-4315, DPE-3262 Common UX for replication Jun 4, 2024
@paulomach paulomach changed the title DPE-4235, DPE-4315, DPE-3262 Common UX for replication DPE-4235, DPE-4315, DPE-3263 Common UX for replication Jun 4, 2024
paulomach added 4 commits June 4, 2024 13:24
dpe-4235-redo-relation-after-switchover

# Conflicts:
#	lib/charms/data_platform_libs/v0/data_secrets.py
#	lib/charms/mysql/v0/async_replication.py
#	lib/charms/mysql/v0/mysql.py
#	poetry.lock
Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

Copy link
Contributor

@carlcsaposs-canonical carlcsaposs-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -87,7 +87,6 @@ show_missing = true
minversion = "6.0"
log_cli_level = "INFO"
markers = ["unstable", "juju3", "only_with_juju_secrets", "only_without_juju_secrets"]
asyncio_mode = "auto"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: does this have any affect?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not an observable one for now

Comment on lines -63 to +67
pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.1.0", subdirectory = "python/pytest_plugins/github_secrets"}
pytest-microceph = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.1.0", subdirectory = "python/pytest_plugins/microceph"}
pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.0", subdirectory = "python/pytest_plugins/github_secrets"}
pytest-microceph = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.0", subdirectory = "python/pytest_plugins/microceph"}
pytest-operator = "^0.28.0"
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.1.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.1.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep all dpw versions in sync (workloads & packages)

compatibility not guaranteed if they are out-of-sync

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulomach paulomach merged commit 38d5709 into main Jun 7, 2024
33 of 34 checks passed
@paulomach paulomach deleted the fix/dpe-4235-redo-relation-after-switchover branch June 7, 2024 14:05
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