Bug 890236 - [abrt] pcs-0.9.27-3.fc18: expatbuilder.py:223:parseString:ExpatError: not well-formed (invalid token): line 1, column 7
Summary: [abrt] pcs-0.9.27-3.fc18: expatbuilder.py:223:parseString:ExpatError: not wel...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pcs
Version: 18
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Feist
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cad951653682ab0146d1c04cb13...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-26 01:53 UTC by Johannes Hofmann
Modified: 2014-02-05 14:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 14:11:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.95 KB, text/plain)
2012-12-26 01:54 UTC, Johannes Hofmann
no flags Details
File: core_backtrace (825 bytes, text/plain)
2012-12-26 01:54 UTC, Johannes Hofmann
no flags Details
File: environ (2.26 KB, text/plain)
2012-12-26 01:54 UTC, Johannes Hofmann
no flags Details

Description Johannes Hofmann 2012-12-26 01:53:56 UTC
Description of problem:
[root@base ~]# pcs stonith list
fence_alom - Fence agent for Sun ALOM
fence_apc - Fence agent for APC over telnet/ssh
fence_apc_snmp - Fence agent for APC over SNMP
Traceback (most recent call last):
  File "/sbin/pcs", line 87, in <module>
    main(sys.argv[1:])
  File "/sbin/pcs", line 73, in main
    stonith.stonith_cmd(argv)
  File "/usr/lib/python2.7/site-packages/pcs/stonith.py", line 22, in stonith_cmd
    stonith_list_available(argv)
  File "/usr/lib/python2.7/site-packages/pcs/stonith.py", line 112, in stonith_list_available
    dom = parseString(metadata)
  File "/usr/lib/python2.7/site-packages/PyXML-0.8.4-py2.7-linux-x86_64.egg/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/site-packages/PyXML-0.8.4-py2.7-linux-x86_64.egg/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/site-packages/PyXML-0.8.4-py2.7-linux-x86_64.egg/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 7

Version-Release number of selected component:
pcs-0.9.27-3.fc18

Additional info:
cmdline:        /usr/bin/python /sbin/pcs stonith list
executable:     /sbin/pcs
kernel:         3.6.11-3.fc18.x86_64
uid:            0

Truncated backtrace:
expatbuilder.py:223:parseString:ExpatError: not well-formed (invalid token): line 1, column 7

Traceback (most recent call last):
  File "/sbin/pcs", line 87, in <module>
    main(sys.argv[1:])
  File "/sbin/pcs", line 73, in main
    stonith.stonith_cmd(argv)
  File "/usr/lib/python2.7/site-packages/pcs/stonith.py", line 22, in stonith_cmd
    stonith_list_available(argv)
  File "/usr/lib/python2.7/site-packages/pcs/stonith.py", line 112, in stonith_list_available
    dom = parseString(metadata)
  File "/usr/lib/python2.7/site-packages/PyXML-0.8.4-py2.7-linux-x86_64.egg/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/site-packages/PyXML-0.8.4-py2.7-linux-x86_64.egg/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/site-packages/PyXML-0.8.4-py2.7-linux-x86_64.egg/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: not well-formed (invalid token): line 1, column 7

Local variables in innermost frame:
self: <xml.dom.expatbuilder.ExpatBuilderNS instance at 0x141f488>
parser: <pyexpat.xmlparser object at 0x1296d00>
string: 'defined(@array) is deprecated at /usr/sbin/fence_baytech line 332.\n\t(Maybe you should just omit the defined()?)\n<?xml version="1.0" ?>\n<resource-agent name="fence_baytech" shortdesc="I/O Fencing agent for Baytech RPC switches in combination with a Cyclades Terminal Server" >\n<longdesc>\nThis fencing agent is written for the Baytech RPC27-20nc in  combination  with  a Cyclades  terminal server. The Cyclades TS exports the RPC\'s serial port via a Telnet interface.  Other interfaces, such as SSH, are  possible. However, this script relies upon the assumption that Telnet is used.  \n\nThe  other assumption that is made is that Outlet names do not end in space. The name "Foo" and "Foo    " are identical when the RPC prints them with the status command.\n</longdesc>\n<vendor-url>http://www.baytech.net</vendor-url>\n<parameters>\n        <parameter name="action" unique="1" required="1">\n                <getopt mixed="-o &lt;action&gt;" />\n                <content type="string" default="disable" />\n                <shortdesc lang="en">Fencing Action</shortdesc>\n        </parameter>\n        <parameter name="ipaddr" unique="1" required="1">\n                <getopt mixed="-a &lt;ip&gt;" />\n                <content type="string"  />\n                <shortdesc lang="en">IP Address or Hostname</shortdesc>\n        </parameter>\n        <parameter name="login" unique="1" required="1">\n                <getopt mixed="-l &lt;name&gt;" />\n                <content type="string"  />\n                <shortdesc lang="en">Login Name</shortdesc>\n        </parameter>\n        <parameter name="passwd" unique="1" required="0">\n                <getopt mixed="-p &lt;password&gt;" />\n                <content type="string"  />\n                <shortdesc lang="en">Login password or passphrase</shortdesc>\n        </parameter>\n        <parameter name="passwd_script" unique="1" required="0">\n                <getopt mixed="-S &lt;script&gt;" />\n                <content type="string"  />\n                <shortdesc lang="en">Script to retrieve password</shortdesc>\n        </parameter>\n        <parameter name="port" unique="1" required="1">\n                <getopt mixed="-n &lt;id&gt;" />\n                <content type="string"  />\n                <shortdesc lang="en">Physical plug number or name of virtual machine</shortdesc>\n        </parameter>\n        <parameter name="help" unique="1" required="0">\n                <getopt mixed="-h" />\n                <content type="string"  />\n                <shortdesc lang="en">Display help and exit</shortdesc>\n        </parameter>\n</parameters>\n<actions>\n        <action name="enable" />\n        <action name="disable" />\n        <action name="status" />\n        <action name="metadata" />\n</actions>\n</resource-agent>\n'

Comment 1 Johannes Hofmann 2012-12-26 01:54:00 UTC
Created attachment 669061 [details]
File: backtrace

Comment 2 Johannes Hofmann 2012-12-26 01:54:02 UTC
Created attachment 669062 [details]
File: core_backtrace

Comment 3 Johannes Hofmann 2012-12-26 01:54:04 UTC
Created attachment 669063 [details]
File: environ

Comment 4 Fedora End Of Life 2013-12-21 10:05:03 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2014-02-05 14:11:50 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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