Could not patch cib; leading to no haproxy running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hacluster (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned | ||
haproxy (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Trusty |
Fix Released
|
Critical
|
James Page | ||
Vivid |
Invalid
|
Critical
|
Unassigned | ||
Wily |
Invalid
|
Critical
|
Unassigned | ||
Xenial |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Using Juju 1.24.7, cs:trusty/
hacluster unit log shows that it failed to configure the no-quorum-policy, which then lead to no haproxy running on the unit which was the leader and has the VIP. The symptom I saw was getting "Connection refused" when talking to the VIP.
2015-12-15 00:19:22 DEBUG juju-log hanode:15: Ready to form cluster - informing peers
2015-12-15 00:19:22 DEBUG juju-log hanode:15: Parsing cluster configuration using rid: ha:26, unit: keystone/0
2015-12-15 00:19:23 DEBUG juju-log hanode:15: Configuring and (maybe) restarting corosync
2015-12-15 00:19:23 INFO juju-log hanode:15: Writing file /etc/default/
2015-12-15 00:19:23 INFO juju-log hanode:15: Writing file /etc/corosync/
2015-12-15 00:19:23 INFO juju-log hanode:15: Writing file /etc/corosync/
2015-12-15 00:19:23 INFO juju-log hanode:15: Writing file /etc/corosync/
2015-12-15 00:19:23 INFO hanode-
2015-12-15 00:19:23 INFO hanode-
2015-12-15 00:19:23 INFO hanode-
2015-12-15 00:19:23 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 DEBUG juju-log hanode:15: Applying global cluster configuration
2015-12-15 00:19:28 DEBUG juju-log hanode:15: Configuring no-quorum-policy to stop
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:28 INFO hanode-
2015-12-15 00:19:29 DEBUG juju-log hanode:15: Checking monitor host configuration
2015-12-15 00:19:29 INFO juju-log hanode:15: Disabling STONITH
2015-12-15 00:19:29 DEBUG juju-log hanode:15: Deleting Resources
2015-12-15 00:19:29 DEBUG juju-log hanode:15: Configuring Resources: {'res_ks_eth0_vip': 'ocf:heartbeat:
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
2015-12-15 00:19:29 INFO hanode-
--
keystone/2 has a running haproxy and is behaving as expected
Error looks remarkably similar to https:/
"We need to use cibadmin -P instead of crm to avoid such problems as it can lead to cluster in unconfigured state and to following problems with cluster scalability and failover."
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
description: | updated |
FWIW, manually starting haproxy seems to have helped