CS9 - Standalone: mysql_wait_bundle fails with "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
High
|
Unassigned |
Bug Description
Standalone jobs have this intermittent failure, where mysql_wait_bundle containet fails to start. The followin errors are shown[1][2]:
Error: /Stage[
Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql --defaults-
NOTE: this happens more often in FIPS enabled jobs, considering this change [3], but the issue was seen in non-FIPS jobs too.
[1] https:/
[2] https:/
[3] https:/
the issue is:
Mar 11 20:30:15.866 standalone. localdomain pacemaker-controld [25187] (log_executor_ event) error: Result of start operation for galera- bundle- podman- 0 on standalone: Timed Out after 20s (Resource agent did not complete in time) | CIB update 88, graph action confirmed; call=28 key=galera- bundle- podman- 0_start_ 0
Bundle: galera-bundle 202.181. 113:5001/ tripleomasterce ntos9/openstack -mariadb: pcmklatest network=host options= "--user= root --log-driver= k8s-file --log-opt path=/var/ log/containers/ stdouts/ galera- bundle. log -e KOLLA_CONFIG_ STRATEGY= COPY_ALWAYS" promoted-max=1 replicas=1 run-command= "/bin/bash /usr/local/ bin/kolla_ start" dir=/var/ lib/kolla/ config_ files/mysql. json target- dir=/var/ lib/kolla/ config_ files/config. json (mysql-cfg-files) dir=/var/ lib/config- data/puppet- generated/ mysql/ target- dir=/var/ lib/kolla/ config_ files/src (mysql-cfg-data) dir=/etc/ hosts target- dir=/etc/ hosts (mysql-hosts) dir=/etc/ localtime target- dir=/etc/ localtime (mysql-localtime) dir=/var/ lib/mysql target- dir=/var/ lib/mysql (mysql-lib) dir=/var/ log/mariadb target- dir=/var/ log/mariadb (mysql-log-mariadb) dir=/var/ log/containers/ mysql target- dir=/var/ log/mysql (mysql-log) parameters= --open- files-limit= 16384 cluster_ host_map= standalone: standalone. ctlplane. localdomain enable_ creation= true log=/var/ log/mysql/ mysqld. log wsrep_cluster_ address= gcomm:/ /standalone. ctlplane. localdomain attribute- target= host master-max=1 ordered=true demote- interval- 0s)
monitor interval=20s timeout=30s (galera- monitor- interval- 20s)
monitor interval=10s role=Promoted timeout=30s (galera- monitor- interval- 10s)
monitor interval=30s role=Unpromoted timeout=30s (galera- monitor- interval- 30s)
promote interval=0s on-fail=block timeout=300s (galera- promote- interval- 0s)
start interval=0s timeout=120s (galera- start-interval- 0s) stop-interval- 0s)
Podman: image=149.
Network: control-port=3123
Storage Mapping:
options=ro source-
options=ro source-
options=ro source-
options=ro source-
options=rw,z source-
options=rw,z source-
options=rw,z source-
options=rw source-dir=/dev/log target-dir=/dev/log (mysql-dev-log)
Resource: galera (class=ocf provider=heartbeat type=galera)
Attributes: additional_
Meta Attrs: container-
Operations: demote interval=0s timeout=120s (galera-
stop interval=0s timeout=120s (galera-