mariadb-bootstrap-failed-script

Bug #1614363 reported by Hui Kang
22
This bug affects 6 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Hui Kang
Liberty
Won't Fix
Critical
Hui Kang
Mitaka
Won't Fix
Critical
Hui Kang

Bug Description

The mariadb deployment sometimes failed [1]. After adding enabling debugging mode in the docker/mariadb/extend_start.sh. The reason is that kolla (kolla_security_reset) sets the database password before the database fully started. I verify this by adding some delay, e.g., sleep 5 before sudo -E kolla_security_reset and the bootstrap went through. However, a better way is to detect when the database cluster is fully functional.

[1] http://paste.openstack.org/show/560713/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/360218

Changed in kolla:
status: New → In Progress
Steven Dake (sdake)
Changed in kolla:
importance: Undecided → Critical
milestone: none → 3.0.0
milestone: 3.0.0 → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/360218
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=c7c879095fffee711479c40f0bc95b1829a2b069
Submitter: Jenkins
Branch: master

commit c7c879095fffee711479c40f0bc95b1829a2b069
Author: Hui Kang <email address hidden>
Date: Thu Aug 25 00:25:47 2016 -0400

    Fix mariadb bootstrap error

    Wait until the mariadb cluster is fully functional
    - check existence of mariadb.pid is insufficient because the cluster
      may not be fully prepared

    Change-Id: I611b38f7dbc8032c42aee2a040fb1210b4bee7eb
    closes-bug: #1614363

Changed in kolla:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.