Bug 514044 - vm.sh does will fail resource if "no state" is detected
Summary: vm.sh does will fail resource if "no state" is detected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rgmanager
Version: 5.5
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-27 18:35 UTC by Shane Bradley
Modified: 2018-10-19 23:58 UTC (History)
9 users (show)

Fixed In Version: rgmanager-2.0.52-1.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 11:04:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch that adds "no state" to valid running states (353 bytes, patch)
2009-07-27 18:36 UTC, Shane Bradley
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1339 0 normal SHIPPED_LIVE Low: rgmanager security, bug fix, and enhancement update 2009-09-01 10:42:29 UTC

Description Shane Bradley 2009-07-27 18:35:58 UTC
Description of problem:

When vm.sh does a status check, sometimes "no state" is returned. That
state is currently not a "running" state. Thus the status check fails.

The "no state" should be treated as a running state. 

Version-Release number of selected component (if applicable):
rgmanager-2.0.51-1.el5-x86_64 (5.4 beta)

How reproducible:
Very hard and random.

Steps to Reproduce:
1. Somehow get libvirt to return "no state" on status check
2. vm.sh detects "no state"
3. Then resource is labeled as failed.
  
Actual results:
The vm.sh will return a failed status check.

Expected results:
The vm.sh should return a success on status check.

Additional info:
Patch is attached to the case.

Comment 1 Shane Bradley 2009-07-27 18:36:35 UTC
Created attachment 355304 [details]
Patch that adds "no state" to valid running states

Comment 9 errata-xmlrpc 2009-09-02 11:04:12 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/RHSA-2009-1339.html


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