Comment 8 for bug 1807906

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

Reviewed: https://review.openstack.org/626151
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=33063cdd44671cc87fb2803f1bfddf5b6048265b
Submitter: Zuul
Branch: stable/rocky

commit 33063cdd44671cc87fb2803f1bfddf5b6048265b
Author: Michele Baldessari <email address hidden>
Date: Tue Dec 11 11:56:25 2018 +0100

    Make sure we do not match multiple remotes when waiting for them

    The current grep could match node-1 even when we're waiting for node-11.
    Add a space so we're sure that we match only the right node:
    [root@controller-0 ~]# pcs status |grep -e "overcloud-novacomputeiha-1\s.*Started"
     overcloud-novacomputeiha-1 (ocf::pacemaker:remote): Started controller-1
    [root@controller-0 ~]# pcs status |grep -e "overcloud-novacomputeiha-11\s.*Started"
     overcloud-novacomputeiha-11 (ocf::pacemaker:remote): Started controller-0

    Change-Id: Ieedf6020f78015a9fe19f8ae61e0e6e4a3b4cb5b
    Related-Bug: #1807906
    (cherry picked from commit ce6df5888ddadcb6cfeed1db588b03cbf3fc103c)