Bug 1293355

Summary: NovaCompute/NovaEvacuate: Fix 'evacute' typo
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
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, mjuricek, oalbrigt, royoung
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: resource-agents-3.9.5-54.el7_2.3 Doc Type: Bug Fix
Doc Text:
Cause: typo in "evacuate" key Consequence: sets/checks wrong key Fix: change evacute to evacuate Result: sets/checks correct key
Story Points: ---
Clone Of: 1282723 Environment:
Last Closed: 2016-02-16 11:17:15 UTC Type: ---
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: 1282723    
Bug Blocks:    

Description Jan Kurik 2015-12-21 14:18:07 UTC
This bug has been copied from bug #1282723 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 6 Asaf Hirshberg 2016-01-26 14:49:31 UTC
Verified. 

[root@overcloud-controller-1 openstack]# grep -n evacuate NovaCompute
162:    state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' )
167:	: has been evacuated, however it could have been 1s ago
174:	    state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' )
[root@overcloud-controller-1 openstack]# grep -n evacuate NovaEvacuate 
48:Facility for tacking a list of compute nodes and reliably evacuating the ones that fence_evacuate has flagged.
124:evacuate_usage() {
132:evacuate_stop() {
137:evacuate_start() {
144:    attrd_updater -p -n evacuate -Q -N ${1} -v ${2}
157:	need_evacuate=0
162:	    yes) need_evacuate=1;; 
170:		    need_evacuate=1
179:	if [ $need_evacuate = 1 ]; then
217:evacuate_monitor() {
223:        attrd_updater -n evacuate -A |
231:evacuate_validate() {
300:start)		evacuate_validate; evacuate_start;;
301:stop)		evacuate_stop;;
302:monitor)	evacuate_validate; evacuate_monitor;;
306:usage|help)	evacuate_usage
310:*)		evacuate_usage
[root@overcloud-controller-1 openstack]# rpm -qa | grep resource-agent
resource-agents-3.9.5-54.el7_2.3.x86_64
[root@overcloud-controller-1 openstack]#

Comment 8 errata-xmlrpc 2016-02-16 11:17:15 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-0217.html