In most of cases we use ordered numbers with hostname and we use the first
controller as the galera master node.
Currently the host list generated is not sorted so we are not sure that
the first controller will be the first to run puppet. In that case we need to
wait the galera bootstrap timeout on the other controller nodes (~10min).
In most of cases we use ordered numbers with hostname and we use the first controller as the galera master node.
Currently the host list generated is not sorted so we are not sure that the first controller will be the first to run puppet. In that case we need to wait the galera bootstrap timeout on the other controller nodes (~10min).
./generate.py 0 global.yml config.tmpl (...) HOSTS="install-server node302 node300 node301 node306 node307 "
This patch allow to sort the host list and reduce the time on step 1 for the galera bootstrap.
./generate.py 0 global.yml config.tmpl (...) HOSTS="install-server node300 node301 node302 node306 node307 "
(cherry picked from commit d39a6f7faeab1c12c209bc59106f1cae6850fe4e)