Install fails with TypeError: connect() argument 3 must be string, not Non
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Fix Released
|
Critical
|
David Ames |
Bug Description
When bootstrapping a 6 node cluster the last 4 nodes all failed a TypeError (see below for full stack trace). This seems to be reliably reproducible with the following bundle:
series: xenial
applications:
mysql:
charm: cs:~openstack-
num_units: 6
options:
source: cloud:xenial-pike
innodb-
vip: 10.5.100.1
wait-timeout: 180
min-
enable-
performan
max-
hacluster-pxc:
charm: cs:~openstack-
options:
cluster_
relations:
- [ mysql, hacluster-pxc ]
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 DEBUG leader-
2018-01-23 15:33:28 ERROR juju.worker.
Changed in charm-percona-cluster: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → David Ames (thedac) |
Changed in charm-percona-cluster: | |
milestone: | none → 18.02 |
Changed in charm-percona-cluster: | |
status: | Fix Committed → Fix Released |
Model Controller Cloud/Region Version SLA serverstack 2.2.6 unsupported
otherbug gnuoy-serverstack serverstack/
App Version Status Scale Charm Store Rev OS Notes
hacluster-pxc maintenance 4 hacluster jujucharms 51 ubuntu
mysql 5.6.37-26.21 error 6 percona-cluster jujucharms 280 ubuntu
Unit Workload Agent Machine Public address Ports Message settings- changed) Insufficient peers to bootstrap cluster settings- changed" settings- changed"
mysql/0* blocked idle 0 10.5.0.4 3306/tcp Insufficient peers to bootstrap cluster
hacluster-pxc/2 maintenance executing 10.5.0.4 (config-changed) Setting up corosync
mysql/1 blocked executing 1 10.5.0.65 3306/tcp Insufficient peers to bootstrap cluster
hacluster-pxc/0* active executing 10.5.0.65 (start) Unit is ready and clustered
mysql/2 blocked executing 2 10.5.0.38 3306/tcp (leader-
hacluster-pxc/1 active executing 10.5.0.38 (start) Unit is ready and clustered
mysql/3 blocked idle 3 10.5.0.41 3306/tcp Insufficient peers to bootstrap cluster
hacluster-pxc/3 maintenance executing 10.5.0.41 (install) Installing apt packages
mysql/4 error idle 4 10.5.0.71 hook failed: "leader-
mysql/5 error idle 5 10.5.0.66 hook failed: "leader-
Machine State DNS Inst id Series AZ Message ecde-46a3- 89a8-be5c7e54a3 fd xenial nova ACTIVE 88ca-4a16- ac77-b3fca652d4 ed xenial nova ACTIVE 315b-4567- 913a-b49e0454de 8e xenial nova ACTIVE 2fd6-45b6- aa18-446f88faa5 80 xenial nova ACTIVE 76d9-4f75- 8098-3cfb2dc5da a4 xenial nova ACTIVE ce7e-4781- a013-f7dea67c5c 32 xenial nova ACTIVE
0 started 10.5.0.4 8f0dceed-
1 started 10.5.0.65 bc67b368-
2 started 10.5.0.38 3b0d7002-
3 started 10.5.0.41 8ae23b62-
4 started 10.5.0.71 d21e0747-
5 started 10.5.0.66 285f123f-
Relation provider Requirer Interface Type pxc:hanode hacluster- pxc:hanode hacluster peer
hacluster-pxc:ha mysql:ha hacluster subordinate
hacluster-
mysql:cluster mysql:cluster percona-cluster peer