diff --git a/README.md b/README.md index d81ffb7..016e667 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ the cluster. 3. Prepare the leader node - juju upgrade-series prepare $MACHINE_NUMBER $SERIES + juju upgrade-series $MACHINE_NUMBER prepare $SERIES 4. Administratively perform the upgrade. * do-release-upgrade plus any further steps administratively required steps for an upgrade. @@ -216,7 +216,7 @@ the cluster. 6. Complete the series upgrade on the leader: - juju upgrade-series complete $MACHINE_NUMBER + juju upgrade-series $MACHINE_NUMBER complete 7. Administratively validate the leader node database is up and running * Connect to the database and check for expected data @@ -224,10 +224,10 @@ the cluster. 8. Upgrade the non-leader nodes one at a time following the same pattern summarized bellow: -* juju upgrade-series prepare $MACHINE_NUMBER $SERIES +* juju upgrade-series $MACHINE_NUMBER prepare $SERIES * Administratively Upgrade * Reboot -* juju upgrade-series complete $MACHINE_NUMBER +* juju upgrade-series $MACHINE_NUMBER complete * Validate 9. Finalize the upgrade diff --git a/hooks/percona_hooks.py b/hooks/percona_hooks.py index 989e262..49ea11a 100755 --- a/hooks/percona_hooks.py +++ b/hooks/percona_hooks.py @@ -461,6 +461,12 @@ def series_upgrade(): resume_unit_helper(register_configs()) + # finally update the sstuser if needed. + # BUG: #1838044 + _sst_password = sst_password() + if _sst_password: + configure_sstuser(_sst_password) + @hooks.hook('upgrade-charm') @harden()