upgrading from charmstore version 15 to >= 16 results in loss of db access

Bug #1451890 reported by James Page
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
percona-cluster (Juju Charms Collection)
Fix Released
Critical
Edward Hope-Morley

Bug Description

Upgrading percona-cluster from charmstore revision 15 to a greater version causes all relation presented passwords to be changed, without any related change in the underlying grants.

This results in all remote clients being blocked from the database when they reconfigure themselves with the new password.

Related branches

Revision history for this message
James Page (james-page) wrote :

The issue is that the key used to store access credentials on the peer relation was changed between these two versions - e.g

cinder.passwd: XXXXyyyy (revision 15)

mysql-cinder.passwd: XXXXaaaaa (revision 16)

the original data is still present, and its possible to fix by using juju run to set the data back manually:

juju run --service mysql/0 "relation-set -r <cluster:id> mysql-cinder=XXXXyyyy"

get the data first by using

juju run --service mysql/0 "relation-get -r <cluster:id> - mysql/0"

note that this must be run on the unit leading the cluster - at this point its the unit owing the VIP

Changed in percona-cluster (Juju Charms Collection):
importance: Undecided → Critical
status: New → Confirmed
tags: added: backport-potential openstack
Changed in percona-cluster (Juju Charms Collection):
milestone: none → 15.07
Changed in percona-cluster (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in percona-cluster (Juju Charms Collection):
status: Confirmed → In Progress
Changed in percona-cluster (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in percona-cluster (Juju Charms Collection):
status: Fix Committed → Fix Released
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.