Bug 1282723

Summary: NovaCompute/NovaEvacuate: Fix 'evacute' typo
Product: Red Hat Enterprise Linux 7 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: Asaf Hirshberg <ahirshbe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.3CC: abeekhof, agk, cfeist, cluster-maint, fdinitto, jruemker, royoung
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: resource-agents-3.9.5-55.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1283084 1293354 1293355 (view as bug list) Environment:
Last Closed: 2016-11-03 23:59:04 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1185030, 1283084, 1293354, 1293355    
Attachments:
Description Flags
Patch none

Description Oyvind Albrigtsen 2015-11-17 09:06:12 UTC
Description of problem:
The evacuate attribute was named evacute by accident.

Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1.Use the NovaCompute/NovaEvacuate RA's
2.
3.

Actual results:
Sets/checks the evacute attribute.

Expected results:
Sets/checks the evacuate attribute.

Additional info:
Patch available at:
https://github.com/aspiers/osp-ha-deploy/commit/c46d87be3d99474a860eefbdae569d1af17e42f5

Comment 2 Oyvind Albrigtsen 2015-11-17 09:42:38 UTC
Created attachment 1095266 [details]
Patch

Comment 14 Asaf Hirshberg 2016-03-08 08:31:53 UTC
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 evacuate
Facility for tacking a list of compute nodes and reliably evacuating the ones that fence_evacuate has flagged.
evacuate_usage() {
evacuate_stop() {
evacuate_start() {
    attrd_updater -p -n evacuate -Q -N ${1} -v ${2}
	need_evacuate=0
	    yes) need_evacuate=1;; 
		    need_evacuate=1
	if [ $need_evacuate = 1 ]; then
evacuate_monitor() {
        attrd_updater -n evacuate -A |
evacuate_validate() {
start)		evacuate_validate; evacuate_start;;
stop)		evacuate_stop;;
monitor)	evacuate_validate; evacuate_monitor;;
usage|help)	evacuate_usage
*)		evacuate_usage
[heat-admin@overcloud-controller-0 ~]$ cat /usr/lib/ocf/resource.d/openstack/NovaEvacuate |grep evacute
[heat-admin@overcloud-controller-0 ~]$

Comment 16 errata-xmlrpc 2016-11-03 23:59:04 UTC
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