OSTF initialization hook silently fails sometimes

Bug #1314634 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Matthew Mosesohn

Bug Description

We can work around this by running the initialization hook via puppet a few times until it works with a retry delay. Currently, the puppet code just continues even if the command fails by means of "|| /bin/true" which doesn't ensure that the initialization took place.

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to fuel-library (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/91365
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=9e96f3afe3aaf97358c3b465791d17db8e0c1435
Submitter: Jenkins
Branch: master

commit 9e96f3afe3aaf97358c3b465791d17db8e0c1435
Author: Matthew Mosesohn <email address hidden>
Date: Wed Apr 30 17:50:50 2014 +0400

    Improve reliability of OSTF init hook

    OSTF initialization hook will retry every
    5 seconds for 250 seconds to try to set
    up its database instead of trying once
    and silently failing.

    Change-Id: I1f8c25e20c19fcbb8356bb4db94083ce13aa2dcf
    Closes-Bug: #1314634

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {"build_id": "2014-05-22_01-10-31", "mirantis": "yes", "build_number": "216", "ostf_sha": "5c479f04c35127576d35526650ec83b104f9a33d", "nailgun_sha": "31fcb161ff8d6bfb861b041467440752c0e9c537", "production": "docker", "api": "1.0", "fuelmain_sha": "dda9cff27999e74b80e8e6a9e665e7e9677ab994", "astute_sha": "9a0d86918724c1153b5f70bdae008dea8572fd3e", "release": "5.0", "fuellib_sha": "872b6a7a968b619a493ad46c504910020ea2edae"}

Changed in fuel:
status: Fix Committed → Fix Released
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.