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/".
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents (Show other bugs)
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)
Last Closed: 2011-05-19 10:17:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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):

How reproducible:

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.


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