[Pacemaker] crm abend with message AttributeError: 'NoneType' object has no attribute 'values'
Kulovits Christian - OS ITSC
Christian.Kulovits at austrian.com
Thu Oct 13 07:56:11 UTC 2011
Hello,
I tried to do an edit xml within crm and after a vi :wq the crm shell is terminated with the following messages. The shadow cib is an unchanged copy of the active cib.
shadow[HubNew] # crm
crm(HubNew)# options sort-elements no
crm(HubNew)# configure
crm(HubNew)configure# edit xml
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 283, in run
if not parse_line(levels,shlex.split(inp)):
File "/usr/lib64/python2.4/site-packages/crm/main.py", line 144, in parse_line
rv = d() # execute the command
File "/usr/lib64/python2.4/site-packages/crm/main.py", line 143, in <lambda>
d = lambda: cmd[0](*args)
File "/usr/lib64/python2.4/site-packages/crm/ui.py", line 1320, in edit
return set_obj.edit()
File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line 153, in edit
return self.edit_save(s)
File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line 138, in edit_save
if not self.save(s):
File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line 390, in save
doc.unlink()
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1573, in unlink
Node.unlink(self)
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 274, in unlink
child.unlink()
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 681, in unlink
Node.unlink(self)
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 274, in unlink
child.unlink()
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 681, in unlink
Node.unlink(self)
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 274, in unlink
child.unlink()
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 681, in unlink
Node.unlink(self)
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 274, in unlink
child.unlink()
File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 677, in unlink
for attr in self._attrs.values():
AttributeError: 'NoneType' object has no attribute 'values'
shadow[HubNew] #
regards, Christian
Mit freundlichen Grüßen / with best regards
Christian Kulovits
____________________________________________
AUSTRIAN AIRLINES
Christian Kulovits
ITSC Central System & Data Base Services
Senior IT System Engineer
Head Office
Office Park 2, P.O. Box 100
1300 Vienna-Airport, Austria
1 Phone: +43 (0)5 1766 11557
Fax: +43 (0)5 1766 511557
Mobile: +43 (0)664 80111 11557
M email: christian.kulovits at austrian.com
www: www.austrian.com
____________________________________________
________________________________________________
Austrian Airlines AG, Office Park 2, P.O. Box 100, 1300 Vienna-Airport, Austria, registered office: Vienna, registered with Vienna Commercial Court under FN 111000k, DVR 0091740. This e-mail is confidential and is subject to disclaimers. Details can be found at: http://www.austrian.com/disclaimer.
More information about the Pacemaker
mailing list