bootstrap-pxc fails on zesty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Fix Released
|
High
|
James Page |
Bug Description
Following this commit to address cgroup issue, percona cluster is failing to bootstrap-pxc on Zesty mojo specs and Zesty lp:openstack-charm-testing stable + next bundles. Prior to this commit, pxc (mysql) units deployed to a ready non-error state.
https:/
mysql/0 error idle 1.25.10 10 172.17.108.89 hook failed: "config-changed"
2017-02-28 23:07:26 INFO config-changed Running as unit: run-r5d7d6a4b2d
2017-02-28 23:07:26 INFO config-changed Press ^] three times within 1s to disconnect TTY.
2017-02-28 23:07:26 INFO config-changed * Bootstrapping Percona XtraDB Cluster database server mysqld
2017-02-28 23:07:26 INFO config-changed ...done.
2017-02-28 23:07:26 INFO worker.uniter.jujuc server.go:172 running hook tool "status-set" ["blocked" "Bootstrap PXC failed"]
2017-02-28 23:07:26 DEBUG worker.uniter.jujuc server.go:173 hook context id "mysql/
2017-02-28 23:07:26 DEBUG juju.worker.
2017-02-28 23:07:27 INFO worker.uniter.jujuc server.go:172 running hook tool "juju-log" ["-l" "ERROR" "Bootstrap PXC failed: Command '['systemd-run', '-t', '--service-
2017-02-28 23:07:27 DEBUG worker.uniter.jujuc server.go:173 hook context id "mysql/
2017-02-28 23:07:27 ERROR juju-log Bootstrap PXC failed: Command '['systemd-run', '-t', '--service-
2017-02-28 23:07:27 INFO config-changed Traceback (most recent call last):
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed main()
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed hooks.execute(
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed self._hooks[
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed return f(*args, **kwargs)
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed bootstrap=not bootstrapped)
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed bootstrap_pxc()
2017-02-28 23:07:27 INFO config-changed File "/var/lib/
2017-02-28 23:07:27 INFO config-changed raise Exception(
2017-02-28 23:07:27 INFO config-changed Exception: Bootstrap PXC failed: Command '['systemd-run', '-t', '--service-
2017-02-28 23:07:27 INFO juju.worker.
2017-02-28 23:07:27 ERROR juju.worker.
Changed in charm-percona-cluster: | |
status: | Fix Committed → Fix Released |
Looks like systemd-run behaves a little differently on zesty - dropping the -t flag does the trick.