Remove search_regex from mariadb port check

The 'galera-cluster-rolling-restart.yml' upgrade playbook contains a
race condition when checking that the mariadb port is available after
restarting a galera container. The port can be open but not yet responsive
which will lead to a 'Connection reset by peer' socket error, ending the
playbook run.

Remove the search_regex to avoid prematurely communicating over the
socket. The existing subsequent task will validate that the service is
behaving correctly.

Change-Id: I47f7a66ff9acdf52bf1daeb005c0265fcd1bf7bd
This commit is contained in:
Jimmy McCrory 2016-09-19 01:47:35 -07:00
parent 51f4dec329
commit 5e3f0ba45c

View File

@ -45,7 +45,6 @@
module: wait_for
port: "3306"
host: "{{ ansible_ssh_host | default(inventory_hostname) }}"
search_regex: MariaDB
retries: 10
delay: 10