Replace wait-for-haproxy-backends with puppet type
* Implement a special puppet type to wait until haproxy backend is online.
* Wait for mysqld backend as a requirement for nova and keystone backends
* Switch to TCP connect for cluster check instead of UNIX socket:
- the host to connect is the node's management IP
- the port is the mysql HAProxy backend port, 3307
- the user is clustercheck and its password is the same as wsrep user has
- the timeout is 10 seconds
* Parametrise galera cluster check class and script
* Move galera::cluster check to opesntack module (otherwise, there are
4 more classes to drag all the cluster check parameters through,
including puppet-mysql module which does not have these params in upstream)
* Fix docs for cluster check class parameters
Reviewed: https:/ /review. openstack. org/136446 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=21c4055364d edcddbe19980ec0 1a2efb2d80f10c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21c4055364dedcd dbe19980ec01a2e fb2d80f10c
Author: Dmitry Ilyin <email address hidden>
Date: Tue Jan 13 19:29:01 2015 +0300
Replace wait-for- haproxy- backends with puppet type
* Implement a special puppet type to wait until haproxy backend is online.
* Wait for mysqld backend as a requirement for nova and keystone backends
* Switch to TCP connect for cluster check instead of UNIX socket:
- the host to connect is the node's management IP
- the port is the mysql HAProxy backend port, 3307
- the user is clustercheck and its password is the same as wsrep user has
- the timeout is 10 seconds
* Parametrise galera cluster check class and script
* Move galera::cluster check to opesntack module (otherwise, there are
4 more classes to drag all the cluster check parameters through,
including puppet-mysql module which does not have these params in upstream)
* Fix docs for cluster check class parameters
Related- Blueprint: pacemaker- improvements
Closes-bug: #1394137
Change-Id: I4eab6af7257270 bf3cb2b40a34bcb 21c952e8989