| Summary: | pacemaker-1.1.13-10.el7.x86_64 breaks /tmp/ha-all-in-one-util.bash in OSP 6 foreman installation | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Matt Flusche <mflusche> |
| Component: | openstack-foreman-installer | Assignee: | Jason Guiditta <jguiditt> |
| Status: | CLOSED DUPLICATE | QA Contact: | Shai Revivo <srevivo> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0 (Juno) | CC: | jcoufal, kari.hautio, mburns, morazi, nbarcet, rcernin, rhos-maint, salmank, sknauss, srevivo |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 6.0 (Juno) | Flags: | mburns:
needinfo?
(nbarcet) mburns: needinfo? (jcoufal) |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-14 07:15:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Just a quick note that this has been fixed into RHELOSP 6.0 (sane as BZ #1290684) rpm -q --changelog openstack-foreman-installer-3.0.27-1.el7ost.noarch | head * Tue Jan 12 2016 Jason Guiditta <jguiditt> 3.0.27-1 - BZ #1290684 - Replace regex to accommodate change in crm_mode output. - BZ #1292555 - Remove operator access from command. *** This bug has been marked as a duplicate of bug 1290684 *** |
Description of problem: In pacemaker-1.1.13-10.el7.x86_64, the output of `crm_node -l` has changed. The additional output breaks /tmp/ha-all-in-one-util.bash during the openstack deployment. New output (1.1.13-10.el7): # crm_node -l 2 pcmk-rhosp-2 member 1 pcmk-rhosp-1 member 3 pcmk-rhosp-3 member Old output (<= pacemaker-1.1.12-22.el7_1.2) # crm_node -l 2 pcmk-rhosp-2 1 pcmk-rhosp-1 3 pcmk-rhosp-3 Debug from ha-all-in-one-util.bash running with version 1.1.13-10.el7 of pacemaker # sudo bash -x /tmp/ha-all-in-one-util.bash all_members_include haproxy > + keystone_private_vip=10.255.76.249 > + [[ 2 -lt 1 ]] > + case "$1" in > + all_members_include haproxy > + element=haproxy > ++ /usr/sbin/crm_node -l > ++ perl -p -e 's/^.*\s+(\S+)$/$1/g' > + members='member > member > member' > + '[' 'xmember > member > member' = x ']' > + for member in '$members' > + property_includes member haproxy > ++ get_property_value member > ++ /bin/grep member > ++ perl -p -e 's/^.*\: //' > +++ get_property member > +++ /usr/sbin/pcs property show member > ++ echo Cluster Properties: > + propval= > + element=haproxy > + echo > + /bin/grep -q haproxy > + return 1 Version-Release number of selected component (if applicable): pacemaker-1.1.13-10.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Deploy openstack with foreman installer (OSP 6) and pacemaker-1.1.13-10.el7.x86_64 2. 3. Actual results: Installation fails Expected results: Installation successful Additional info: