db sync is happening in step 4 and can cause deployment failures

Bug #1572952 reported by Giulio Fidente
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Giulio Fidente

Bug Description

Apparently the ::mysql classes we include in step 2 for the OpenStack projects are only meant to create the empty database and the owner, they do not perform the db sync which happens instead in step 4.

This causes sporadic failures when the non-master nodes try to start a service before the db sync is finished.

Tags: puppet
Changed in tripleo:
status: Confirmed → In Progress
Revision history for this message
Steven Hardy (shardy) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/308505
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=efadbd85a444851a83e3ebed42b4dab36e9c784f
Submitter: Jenkins
Branch: master

commit efadbd85a444851a83e3ebed42b4dab36e9c784f
Author: Giulio Fidente <email address hidden>
Date: Fri Apr 22 19:19:33 2016 +0200

    Run sync in step 3 when $sync_db

    This will configure the openstack services and run the initial
    db sync in step 3 (instead of step 4) for the node for which
    $sync_db is true.

    Closes-Bug: #1572952
    Change-Id: I29012ee0a8b281e4472353ee7d9d44912e8a9b6c

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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