Bug 681676

Summary: fence_rhevm REST-API URL needs to be updated to "/rhevm-api/".
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: 681674
: 731162 (view as bug list) Environment:
Last Closed: 2011-07-21 07:21:59 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: 681674, 731161    
Bug Blocks: 681652, 731162    
Attachments:
Description Flags
Patch against RHEL57 branch. none

Description Brandon Perkins 2011-03-02 21:56:38 UTC
+++ This bug was initially created as a clone of Bug #681674 +++

Description of problem:
fence_rhevm REST-API URL needs to be updated to "/rhevm-api/".

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:
HTTP Status 404 - /rhevm-api-powershell/
type Status report
message /rhevm-api-powershell/
description The requested resource (/rhevm-api-powershell/) is not available.
JBoss Web/2.1.10

Expected results:
Will execute whatever action is asked of the fence agent.

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

    91          url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api/" + command

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

Patch against RHEL57 branch.

Comment 4 errata-xmlrpc 2011-07-21 07:21:59 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