Description of problem: We are changing the way fence_compute advertises itself in Bug #1287301, as a result it will no longer support the 'reboot' action causing evacuations to fail. We need to change the action to 'off'. Version-Release number of selected component (if applicable): resource-agents-3.9.5-54.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Cause a compute node failure 2. 3. Actual results: NovaEvacuate's call to fence_compute fails with: Failed: Unrecognised action 'reboot' Expected results: Call passes Additional info: --- /usr/lib/ocf/resource.d/openstack/NovaEvacuate.orig 2015-11-30 21:53:57.868660753 -0500 +++ /usr/lib/ocf/resource.d/openstack/NovaEvacuate 2015-11-30 21:54:40.564659764 -0500 @@ -198,7 +193,7 @@ return $OCF_SUCCESS fi - fence_compute ${fence_options} -o reboot -n $node + fence_compute ${fence_options} -o off -n $node rc=$? if [ $rc = 0 ]; then
https://github.com/openstack/openstack-resource-agents/pull/1
https://review.openstack.org/#/c/254515/
Verified on RHEL-OSP director 8.0 puddle - 2016-03-03.1 [heat-admin@overcloud-controller-0 ~]$ rpm -qa |grep resource-agents resource-agents-3.9.5-54.el7_2.6.x86_64 [heat-admin@overcloud-controller-0 ~]$ cat /usr/lib/ocf/resource.d/openstack/NovaEvacuate |grep -n fence_compute .. 201: fence_compute ${fence_options} -o off -n $node .. [heat-admin@overcloud-controller-0 ~]$
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2174.html