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 1006726 - pcs resource describe: Unable to parse xml for: VirtualDomain
Summary: pcs resource describe: Unable to parse xml for: VirtualDomain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Feist
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 07:55 UTC by michal novacek
Modified: 2014-06-17 23:57 UTC (History)
3 users (show)

Fixed In Version: pcs-0.9.91-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:54:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description michal novacek 2013-09-11 07:55:23 UTC
Description of problem:
Unable to print paramaters for resource ocf:heartbeat:VirtualDomain

Version-Release number of selected component (if applicable):
resource-agents-3.9.5-12.el7.x86_64

Steps to Reproduce:
1. pcs resource describe VirtualDomain

Actual results: error printed

Expected results: help text printed

Additional info:

# pcs resource list VirtualDomain
ocf:heartbeat:VirtualDomain

# pcs resource describe VirtualDomain
Resource options for: ocf:heartbeat:VirtualDomain
Error: Unable to parse xml for: VirtualDomain

Comment 2 David Vossel 2013-09-13 21:03:46 UTC
This can be fixed in pcs with the following patch.

-------------------
diff --git a/pcs/utils.py b/pcs/utils.py
index 35f2a73..c263901 100644
--- a/pcs/utils.py
+++ b/pcs/utils.py
@@ -543,7 +543,7 @@ def get_metadata(resource_agent_script):
     if (not os.path.isfile(resource_agent_script)) or (not os.access(resource_agent_script, os.X_OK)):
         return False
 
-    (metadata, retval) = run([resource_agent_script, "meta-data"])
+    (metadata, retval) = run([resource_agent_script, "meta-data"], True)
     if retval == 0:
         return metadata
     else:

Comment 7 Ludek Smid 2014-06-13 10:54:05 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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