Bug 681670

Summary: fence_rhevm needs to change "RUNNING" status to "UP" status as the REST-API has changed.
Product: Red Hat Enterprise Linux 5 Reporter: Brandon Perkins <bperkins>
Component: cmanAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: urgent Docs Contact:
Priority: medium    
Version: 5.6CC: cluster-maint, edamato
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cman-2.0.115-76.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 681669
: 731167 (view as bug list) Environment:
Last Closed: 2011-07-21 07:21:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 681669, 731166    
Bug Blocks: 681652, 731167    
Attachments:
Description Flags
Patch against RHEL57 branch. none

Description Brandon Perkins 2011-03-02 21:43:14 UTC
+++ This bug was initially created as a clone of Bug #681669 +++

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):
cman-2.0.115-68.el5_6.1

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 43 of /sbin/fence_rhevm as such will fix the glitch:

    43          if (status == "UP"):

Comment 1 Brandon Perkins 2011-03-07 17:17:51 UTC
Created attachment 482733 [details]
Patch against RHEL57 branch.

Patch against RHEL57 branch.

Comment 4 errata-xmlrpc 2011-07-21 07:21:56 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-1001.html