RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 681669 - fence_rhevm needs to change "RUNNING" status to "UP" status as the REST-API has changed.
Summary: fence_rhevm needs to change "RUNNING" status to "UP" status as the REST-API h...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents
Version: 6.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Marcus Barrow
QA Contact: Brandon Perkins
URL:
Whiteboard:
Depends On:
Blocks: 595383 681670 731166 731167
TreeView+ depends on / blocked
 
Reported: 2011-03-02 21:38 UTC by Brandon Perkins
Modified: 2011-08-16 19:54 UTC (History)
2 users (show)

Fixed In Version: fence-agents-3.0.12-16.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 681670 731166 (view as bug list)
Environment:
Last Closed: 2011-05-19 14:17:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch against RHEL60 branch. (759 bytes, patch)
2011-03-07 17:10 UTC, Brandon Perkins
no flags Details | Diff
updated patch. (877 bytes, patch)
2011-03-09 21:20 UTC, Marcus Barrow
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0745 0 normal SHIPPED_LIVE fence-agents bug fix and enhancement update 2011-05-19 09:37:09 UTC

Description Brandon Perkins 2011-03-02 21:38:33 UTC
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):
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:
Will always show as OFF because "UP" != "RUNNING"

Expected results:
Will show ON if UP and OFF otherwise.

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

    44          if (status == "UP"):

Comment 1 Brandon Perkins 2011-03-07 17:10:19 UTC
Created attachment 482732 [details]
Patch against RHEL60 branch.

Patch against RHEL60 branch.

Comment 3 Marcus Barrow 2011-03-09 21:20:40 UTC
Created attachment 483308 [details]
updated patch.

Comment 7 errata-xmlrpc 2011-05-19 14:17:10 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-0745.html


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