Bug 681674 - fence_rhevm REST-API URL needs to be updated to "/rhevm-api/".
fence_rhevm REST-API URL needs to be updated to "/rhevm-api/".
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents (Show other bugs)
6.0
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: Marek Grac
Brandon Perkins
:
Depends On:
Blocks: 595383 681676 731161 731162
  Show dependency treegraph
 
Reported: 2011-03-02 16:52 EST by Brandon Perkins
Modified: 2011-08-16 15:37 EDT (History)
2 users (show)

See Also:
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:


Attachments (Terms of Use)
Patch against RHEL60 branch. (859 bytes, patch)
2011-03-07 12:23 EST, Brandon Perkins
no flags Details | Diff

  None (edit)
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

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