Comment 0 for bug 1664025

Revision history for this message
Nobuto Murata (nobuto) wrote : juju agent upgrade causes mysqld to stop

Juju agent upgrade causes whole openstack down.

How to reproduce:
$ juju bootstrap --config agent-version=2.0.2
$ juju deploy ./bundle.yaml

$ juju run --unit mysql/0 'pgrep -af mysqld'
14743 /bin/sh /usr/bin/mysqld_safe --wsrep-new-cluster
15242 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/percona-xtradb-cluster --plugin-dir=/usr/lib/mysql/plugin --user=mysql --wsrep-provider=/usr/lib/libgalera_smm.so --wsrep-new-cluster --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 --wsrep_start_position=00000000-0000-0000-0000-000000000000:-1

(controller model)
$ juju upgrade-juju -m controller --agent-version 2.0.3
(openstack model)
$ juju upgrade-juju --agent-version 2.0.3

$ juju run --unit mysql/0 'pgrep -af mysqld'
-> empty (no mysqld is running)

$ juju status mysql
Model Controller Cloud/Region Version
default localhost-localhost localhost/localhost 2.0.3

App Version Status Scale Charm Store Rev OS Notes
mysql 5.6.21-25.8 error 1 percona-cluster jujucharms 241 ubuntu

Unit Workload Agent Machine Public address Ports Message
mysql/0* error idle 2 10.0.8.104 hook failed: "config-changed"

Machine State DNS Inst id Series AZ
2 started 10.0.8.104 juju-50b253-2 xenial
...