Comment 1 for bug 1527644

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit ac7467bacddb98fbb9fc9716ba56cad0d6f282de
Author: Jiri Stransky <email address hidden>
Date: Thu Dec 17 14:40:15 2015 +0100

    Wait for cluster to settle in yum_update.sh

    Occasionally we hit "Error: unable to push cib" during update. This is
    probably due to the fact that when we try to replace cib in
    yum_update.sh, services on the previous updated controller are still
    coming up and changing cib, and racing/conflicting with the cib push
    from yum_update.sh.

    This commit adds waiting for the cluster to settle before exiting from
    yum_update.sh, to avoid this kind of conflict.

    Also a check for cib-push success is added, to make the update fail
    properly instead of hanging indefinitely as we've observed with this
    issue.

    Change-Id: I953087e0e565474ac553fd57bea2459d2e3a6081
    Closes-Bug: #1527644