Comment 7 for bug 1654403

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (master)

Reviewed: https://review.openstack.org/419204
Committed: https://git.openstack.org/cgit/openstack/charm-hacluster/commit/?id=fda5176bd53f17a69f3e22b6b363bff96ff565c0
Submitter: Jenkins
Branch: master

commit fda5176bd53f17a69f3e22b6b363bff96ff565c0
Author: David Ames <email address hidden>
Date: Wed Jan 11 16:00:39 2017 -0800

    Fix pacemaker down crm infinite loop

    On corosync restart, corosync may take longer than a minute to come
    up. The systemd start script times out too soon. Then pacemaker which
    is dependent on corosync is immediatly started and fails as corosync
    is still in the process of starting.

    Subsequently the charm would run crm node list to validate pacemaker.
    This would become an infinite loop.

    This change adds longer timeout values for systemd scripts and adds
    better error handling and communication to the end user.

    Change-Id: I7c3d018a03fddfb1f6bfd91fd7aeed4b13879e45
    Partial-Bug: #1654403