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