Bug 681674

Summary: fence_rhevm REST-API URL needs to be updated to "/rhevm-api/".
Product: Red Hat Enterprise Linux 6 Reporter: Brandon Perkins <bperkins>
Component: fence-agentsAssignee: Marek Grac <mgrac>
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-21.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 681676 731161 (view as bug list) Environment:
Last Closed: 2011-05-19 10:17:12 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 595383, 681676, 731161, 731162    
Attachments:
Description Flags
Patch against RHEL60 branch. none

Description Brandon Perkins 2011-03-02 16:52:10 EST
Description of problem:
fence_rhevm REST-API URL needs to be updated to "/rhevm-api/".

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

    92          url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api/" + command
Comment 3 Brandon Perkins 2011-03-07 12:23:48 EST
Created attachment 482737 [details]
Patch against RHEL60 branch.

Patch against RHEL60 branch.
Comment 15 errata-xmlrpc 2011-05-19 10:17:12 EDT
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