OperationalError when performing db operations just after startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Triaged
|
Medium
|
Unassigned | ||
percona-cluster (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Using percona cluster from cs:~openstack-
Deployed 3 units on Trusty LXCs using MAAS 1.7.0 and Juju 1.20.14
2014-12-15 11:50:38 INFO install 141215 11:50:38 InnoDB: Using Linux native AIO
2014-12-15 11:50:38 INFO install 141215 11:50:38 InnoDB: Initializing buffer pool, size = 7.7G
2014-12-15 11:50:39 INFO install 141215 11:50:39 InnoDB: Completed initialization of buffer pool
2014-12-15 11:50:39 INFO install 141215 11:50:39 InnoDB: highest supported file format is Barracuda.
2014-12-15 11:50:39 INFO install 141215 11:50:39 InnoDB: Waiting for the background threads to start
2014-12-15 11:50:40 INFO install 141215 11:50:40 Percona XtraDB (http://
2014-12-15 11:50:40 INFO install 141215 11:50:40 [Note] WSREP: Service disconnected.
2014-12-15 11:50:41 INFO install 141215 11:50:41 [Note] WSREP: Some threads may fail to exit.
2014-12-15 11:50:41 INFO install 141215 11:50:41 InnoDB: Starting shutdown...
2014-12-15 11:50:45 INFO install 141215 11:50:45 InnoDB: Shutdown completed; log sequence number 1597945
2014-12-15 11:50:50 INFO install Error in my_thread_
2014-12-15 11:51:25 INFO install * Starting MySQL (Percona XtraDB Cluster) database server mysqld
2014-12-15 11:51:29 INFO install ...done.
2014-12-15 11:51:29 INFO install Processing triggers for libc-bin (2.19-0ubuntu6.4) ...
2014-12-15 11:51:29 INFO install Processing triggers for ureadahead (0.100.0-16) ...
2014-12-15 11:51:30 INFO juju-log Writing file /etc/mysql/my.cnf root:root 444
2014-12-15 11:51:30 INFO juju-log Unknown hook start - skipping.
2014-12-15 11:51:30 WARNING juju.worker.
2014-12-15 11:51:31 INFO juju-log cluster:14: Unknown hook cluster-
2014-12-15 11:51:32 INFO juju-log cluster:14: Writing file /etc/mysql/my.cnf root:root 444
2014-12-15 11:51:32 INFO juju-log cluster:14: Unknown hook cluster-
2014-12-15 11:51:33 INFO juju-log cluster:14: Writing file /etc/mysql/my.cnf root:root 444
2014-12-15 11:51:51 WARNING juju-log shared-db:51: eligible_leader is deprecated. Please consider using is_elected_leader instead.
2014-12-15 11:51:52 WARNING juju-log shared-db:53: eligible_leader is deprecated. Please consider using is_elected_leader instead.
2014-12-15 11:51:52 WARNING juju-log shared-db:54: eligible_leader is deprecated. Please consider using is_elected_leader instead.
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
2014-12-15 11:51:52 INFO shared-
affects: | charms → percona-cluster (Juju Charms Collection) |
Changed in percona-cluster (Juju Charms Collection): | |
status: | New → Incomplete |
Changed in percona-cluster (Juju Charms Collection): | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
Changed in charm-percona-cluster: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in percona-cluster (Juju Charms Collection): | |
status: | Triaged → Invalid |
Adam, I suspect you might have hit the cluster bootstrap issue that has been observed when deploying multiple units of percona at once. Can you please provide the output of:
juju ssh percona/0 "mysql -uroot -pagoodpassword -e \"show status like 'wsrep_ cluster% ';\""
...replacing the username/password and unit number appropriately and running for all units deployed.
In particular check that the cluster size is equal to the number of units of percona you have deployed.