Hi Guys,<div><br></div><div>I just installed the latest heartbeat,pacemaker and corosync as per the guidelines from the below link</div><div><br></div><div><a href="http://www.clusterlabs.org/wiki/Install#READ_ME_FIRST">http://www.clusterlabs.org/wiki/Install#READ_ME_FIRST</a></div>
<div><br></div><div>I am able to successfully configure the heartbeat and corosync and start it as well.</div><div><br></div><div>But when i tried to add the resource i am getting the error from python.</div><div><br></div>
<div><div>[root@CHE-PSS-072 lib64]# crm configure</div><div>Traceback (most recent call last):</div><div>  File "/usr/sbin/crm", line 41, in ?</div><div>    crm.main.run()</div><div>  File "/usr/lib64/python2.4/site-packages/crm/main.py", line 240, in run</div>
<div>    parse_line(levels,["configure"])</div><div>  File "/usr/lib64/python2.4/site-packages/crm/main.py", line 123, in parse_line</div><div>    lvl.new_level(pt[token],token)</div><div>  File "/usr/lib64/python2.4/site-packages/crm/levels.py", line 70, in new_level</div>
<div>    self.current_level = level_obj()</div><div>  File "/usr/lib64/python2.4/site-packages/crm/ui.py", line 1295, in __init__</div><div>    cib_factory.initialize()</div><div>  File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line 1780, in initialize</div>
<div>    if not self.import_cib():</div><div>  File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line 1454, in import_cib</div><div>    self.doc,cib = read_cib(cibdump2doc)</div><div>  File "/usr/lib64/python2.4/site-packages/crm/xmlutil.py", line 72, in read_cib</div>
<div>    doc = fun(params)</div><div>  File "/usr/lib64/python2.4/site-packages/crm/xmlutil.py", line 53, in cibdump2doc</div><div>    doc = xmlparse(p.stdout)</div><div>  File "/usr/lib64/python2.4/site-packages/crm/xmlutil.py", line 30, in xmlparse</div>
<div>    except xml.parsers.expat.ExpatError,msg:</div><div>AttributeError: 'module' object has no attribute 'expat'</div><div><br></div><div>However i am get the status correctly.</div><div><br></div><div>
<div>[root@CHE-PSS-072 lib64]# crm status</div><div>============</div><div>Last updated: Mon Oct 15 00:46:53 2012</div><div>Stack: Heartbeat</div><div>Current DC: <a href="http://che-pss-072.ps.in">che-pss-072.ps.in</a> (dd4d1fd0-97ff-4a28-aac2-302ee1066e4c) - partition with quorum</div>
<div>Version: 1.0.12-unknown</div><div>2 Nodes configured, unknown expected votes</div><div>0 Resources configured.</div><div>============</div><div><br></div><div>Online: [ <a href="http://che-pss-072.ps.in">che-pss-072.ps.in</a> <a href="http://ops-pss-084.ps.in">ops-pss-084.ps.in</a> ]</div>
</div><div><br></div><div>Any help is greatly appreciated to solve the error.</div><div><br></div><div>Thanks,</div><div>vinoth.</div><div><br></div></div>