Root password update via config can cause hook failure
Bug #1838124 reported by
Liam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
There is a race when changing the root password. If the leader completes its config-changed hook before another unit has started then the later units config-changed hook will fail. This is because the root password is not replicated and the charm uses the leader db to extract the current password.
Reproduce:
1) Enter a debug-hooks session on a non-leader and wait for it to enter an update-status hook.
2) Change the root password via config.
3) Once the leader has completed config changed run the queued hooks in the debug-hooks session.
Changed in charm-percona-cluster: | |
assignee: | nobody → Liam Young (gnuoy) |
status: | New → Confirmed |
importance: | Undecided → High |
summary: |
- Root password update via config can fail to apply + Root password update via config can cause hook failure |
Changed in charm-percona-cluster: | |
milestone: | none → 19.07 |
Changed in charm-percona-cluster: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/673132
Review: https:/