The mysql database is create by container mysql_bootstrap,
which let Kolla run mysqld_safe temporarily, and then
let TripleO run it for additional setup.
Before running the second temporary mysqld server, make
sure that the mysqld_safe script started by Kolla is
always stopped, to avoid any race condition that would
cause the second mysqld_safe server to be killed by the
Kolla one.
Reviewed: https:/ /review. opendev. org/752618 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=0f0e7fa1193 e3dc63179a682a7 256ae3368bf0be
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 0f0e7fa1193e3dc 63179a682a7256a e3368bf0be
Author: Damien Ciabrini <email address hidden>
Date: Thu Sep 17 16:09:50 2020 +0200
Remove race during mysql database creation
The mysql database is create by container mysql_bootstrap,
which let Kolla run mysqld_safe temporarily, and then
let TripleO run it for additional setup.
Before running the second temporary mysqld server, make
sure that the mysqld_safe script started by Kolla is
always stopped, to avoid any race condition that would
cause the second mysqld_safe server to be killed by the
Kolla one.
Change-Id: Id7cf45fb95d3c8 a2c5519b1a13a56 51cf414a115
Co-Authored-By: Michele Baldessari <email address hidden>
Closes-Bug: #1896009