Comment 6 for bug 1775864

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/rocky)

Reviewed: https://review.openstack.org/614554
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=60959a0b5cd5eb918f083e3d1179f2e6c9e49f39
Submitter: Zuul
Branch: stable/rocky

commit 60959a0b5cd5eb918f083e3d1179f2e6c9e49f39
Author: Damien Ciabrini <email address hidden>
Date: Wed Oct 24 13:27:23 2018 +0200

    mariadb: make security_reset.expect's timeout configurable

    Under heavy load, when the security_reset script is being run to set
    up root password, it might happen that the mysql server doesn't get a
    change to evaluate the SQL statement sent by security_reset.expect
    before the hardcoded 10 seconds timeout is reached.

    Allow the timeout to be overriden via env variable DB_MAX_TIMEOUT,
    which is already used as a timeout variable in extend_start.sh

    Change-Id: If82c6daca82a48d899605829dc99cf4a352cddcd
    Closes-Bug: #1775864
    (cherry picked from commit 8e2906a59e663d43aaac2369b5b74e5142b61d53)