Bug 681669

Summary: fence_rhevm needs to change "RUNNING" status to "UP" status as the REST-API has changed.
Product: Red Hat Enterprise Linux 6 Reporter: Brandon Perkins <bperkins>
Component: fence-agentsAssignee: Marcus Barrow <mbarrow>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0CC: benl, cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-3.0.12-16.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 681670 731166 (view as bug list) Environment:
Last Closed: 2011-05-19 14:17:10 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:    
Bug Blocks: 595383, 681670, 731166, 731167    
Attachments:
Description Flags
Patch against RHEL60 branch.
none
updated patch. none

Description Brandon Perkins 2011-03-02 21:38:33 UTC
Description of problem:
fence_rhevm needs to change "RUNNING" status to "UP" status as the REST-API has changed.

Version-Release number of selected component (if applicable):
fence-agents-3.0.12-8.el6_0.2.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Run fence_rhevm -o status
  
Actual results:
Will always show as OFF because "UP" != "RUNNING"

Expected results:
Will show ON if UP and OFF otherwise.

Additional info:
Change line 44 of /usr/sbin/fence_rhevm as such will fix the glitch:

    44          if (status == "UP"):

Comment 1 Brandon Perkins 2011-03-07 17:10:19 UTC
Created attachment 482732 [details]
Patch against RHEL60 branch.

Patch against RHEL60 branch.

Comment 3 Marcus Barrow 2011-03-09 21:20:40 UTC
Created attachment 483308 [details]
updated patch.

Comment 7 errata-xmlrpc 2011-05-19 14:17:10 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0745.html