-
Bug
-
Resolution: Done
-
Critical
-
RH436 - RHEL 7.1 0
-
None
-
ROLE
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)
Workaround: I have done a modification in this script(Line number -279.. 283..286) and it is working fine now .
TIEBREAK=$(ssh -o stricthostkeychecking=no $NODE " grep -E "auto_tie_breaker:$" /etc/corosync/corosync.conf | awk -F': ' '
{print \$2}")TIEBREAK_NODE=$(ssh -o stricthostkeychecking=no $NODE " grep -E "auto_tie_breaker_node:$" /etc/corosync/corosync.conf | awk -F': ' '{print $2}
")
if [[ "$TIEBREAK" == "1" && "$TIEBREK_NODE" == "lowest" ]]; then
print_PASS
else
print_FAIL
fi
done
Description: In chapter 13 .2 "Comprehensive Review" Step 2.b, students are requested to add "auto_tie_breaker" option in /etc/corosync/corosync.conf.
Due to a bug in the "lab hacluster grade" script , the result always shows as "FAIL"
I have done a modification in this script(Line number -279.. 283..286) and it is working fine now .
TIEBREAK=$(ssh -o stricthostkeychecking=no $NODE " grep -E "auto_tie_breaker:$" /etc/corosync/corosync.conf | awk -F': ' '
{print \$2}")TIEBREAK_NODE=$(ssh -o stricthostkeychecking=no $NODE " grep -E "auto_tie_breaker_node:$" /etc/corosync/corosync.conf | awk -F': ' '{print $2}
")
if [[ "$TIEBREAK" == "1" && "$TIEBREK_NODE" == "lowest" ]]; then
print_PASS
else
print_FAIL
fi
done