Hide Forgot
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
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:
Fixed here: https://github.com/feist/pcs/commit/984d3e89f79cdf3b8e093e6dd04011e9850cfb6e
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.