Not possible to set 'sst-password' after installation.

Bug #1603497 reported by Jorge Niedbalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Percona Cluster Charm
Triaged
Medium
Unassigned
percona-cluster (Juju Charms Collection)
Invalid
Medium
Unassigned

Bug Description

[Description]

If the user tries to set the sst-pass configuration directive after the charm
has been deployed, the new password value is not applied.

This also affects the scale-out scenario, since the replication mechanism requires
the existence of the sst-user with a previously configured password.

[Fix]

The fix should take in consideration the following:

1) Create/Update the current sst-user password on config-changed.
2) If another unit of the percona-cluster service joins and there is no a
sst-password set, then it needs to block the operation, until the administrator provides one (or maybe use the current mysql password?)

Tags: sts
Changed in percona-cluster (Juju Charms Collection):
importance: Undecided → Medium
tags: added: sts
Revision history for this message
James Page (james-page) wrote :

I'd actually like to look at this from two ways

a) support not providing passwords at all, using leader storage and leader election

This complicates bootstrap of the cluster, so the charm will need some refactoring.

b) support changing the password after deployment

Much more tricky - but probably manageable from the lead unit.

Changed in percona-cluster (Juju Charms Collection):
status: New → Triaged
James Page (james-page)
Changed in charm-percona-cluster:
importance: Undecided → Medium
status: New → Triaged
Changed in percona-cluster (Juju Charms Collection):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.