'pcs resource create' command fails with python traces
Issue
-
When adding a resource with
pcs resource createcommand we are getting error messages:$ pcs resource create zimbra_service zimbra ocf:heartbeat:zimbra --group zimbragroup [...] File "/usr/sbin/pcs", line 135, in <module> main(sys.argv[1:]) File "/usr/sbin/pcs", line 114, in main resource.resource_cmd(argv) File "/usr/lib/python2.7/site-packages/pcs/resource.py", line 71, in resource_cmd resource_create(res_id, res_type, ra_values, op_values, meta_values, clone_opts) File "/usr/lib/python2.7/site-packages/pcs/resource.py", line 328, in resource_create default_op_values = utils.get_default_op_values(ra_type) File "/usr/lib/python2.7/site-packages/pcs/utils.py", line 695, in get_default_op_values root = ET.fromstring(metadata) File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML parser.feed(text) File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed self._raiseerror(v) File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror raise errxml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 17
Environment
- Red Hat Enterprise Linux 7 with High Availability or Resilient Storage Add-Ons
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
