MySQL doesn't set up in Full HA topology.

Bug #1360283 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Invalid
Undecided
Unassigned

Bug Description

MySQL fails to set up sometimes in Full HA installation: approx. in 30% of cases.
Galera couldn't connect to other peers.

root@control-server00:~# tail /var/log/mysql/error.log
140822 10:25:18 [ERROR] WSREP: gcs/src/gcs.c:gcs_open():1292: Failed to open channel 'my_wsrep_cluster' at 'gcomm://192.168.40.3,192.168.40.4,192.168.40.5': -110 (Connection timed out)
140822 10:25:18 [ERROR] WSREP: gcs connect failed: Connection timed out
140822 10:25:18 [ERROR] WSREP: wsrep::connect() failed: 7
140822 10:25:18 [ERROR] Aborting

All logs and configs are available here:
https://172.29.173.228:8080/full_ha/81/

Revision history for this message
Chris Ricker (chris-ricker) wrote :

It looks like you're bootstrapping wrong

etc0/mysql/my.cnf:wsrep_cluster_address = gcomm://192.168.40.3,192.168.40.4,192.168.40.5
etc1/mysql/my.cnf:wsrep_cluster_address = gcomm://192.168.40.3,192.168.40.4,192.168.40.5
etc2/mysql/my.cnf:wsrep_cluster_address = gcomm://192.168.40.3,192.168.40.4,192.168.40.5

first node should be gcomm:// until it's all working

once it comes up and is working, then bring up the others

once all 3 are up and talking, then change first node to gcomm://ip1,ip2,ip3

Changed in openstack-cisco:
status: New → Incomplete
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

It's a workaround, not solution.
Could it be configured so that you will not need to stop installation, enter boxes, change things, reinstall things, continue installation?
If no, then it's a bug (until it's documented as required manual steps of install).

BTW, why does it work in 60% other cases?

Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

P.S. If you set bug as incomplete, please specify which info exactly you expect from me.

Changed in openstack-cisco:
status: Incomplete → New
Changed in openstack-cisco:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.