Comment 6 for bug 1741345

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/pike)

Reviewed: https://review.openstack.org/531448
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=958f824c85bf5c97ce4068ed63d976791ac3ed63
Submitter: Zuul
Branch: stable/pike

commit 958f824c85bf5c97ce4068ed63d976791ac3ed63
Author: Damien Ciabrini <email address hidden>
Date: Fri Jan 5 09:50:17 2018 +0000

    Fix rabbitmq-ready check for single node HA deployments

    The current rabbitmq-ready exec waits for rabbitmq to become clustered
    before it allows user creation. Unfortunately this doesn't work when
    the deployment contains a single node, because rabbit doesn't trigger
    the clustering mode at all.

    Set the exec test according to the number of rabbit nodes, in order
    to check for cluster state only when necessary.

    Closes-Bug: #1741345

    Change-Id: I24e5e344b7f657ce5d42a7c7c45be7b5ed5e6445
    Co-Authored-By: John Eckersberg <email address hidden>
    (cherry picked from commit 1cfecc39dc37a01bbaea114773397c062367ae42)