Bug 1282723 - NovaCompute/NovaEvacuate: Fix 'evacute' typo
Summary: NovaCompute/NovaEvacuate: Fix 'evacute' typo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: resource-agents
Version: 7.3
Hardware: Unspecified
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: Asaf Hirshberg
URL:
Whiteboard:
Depends On:
Blocks: 1185030 1283084 1293354 1293355
TreeView+ depends on / blocked
 
Reported: 2015-11-17 09:06 UTC by Oyvind Albrigtsen
Modified: 2019-09-12 09:19 UTC (History)
7 users (show)

Fixed In Version: resource-agents-3.9.5-55.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1283084 1293354 1293355 (view as bug list)
Environment:
Last Closed: 2016-11-03 23:59:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch (1.61 KB, patch)
2015-11-17 09:42 UTC, Oyvind Albrigtsen
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2174 0 normal SHIPPED_LIVE resource-agents bug fix and enhancement update 2016-11-03 13:16:36 UTC

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


Note You need to log in before you can comment on or make changes to this bug.