This is fixed in Lucid. No space is added during tab cmpletion.

** Changed in: pacemaker (Ubuntu)
       Status: New => Fix Released

-- 
Crm configure commit fails with python stack trace
https://bugs.launchpad.net/bugs/497314
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in ubuntu.

Status in “pacemaker” package in Ubuntu: Fix Released

Bug description:
Binary package hint: pacemaker

I'm trying to setup a cluster with Ubuntu Karmic and pacemaker-openais. Perhaps 
I'm missing some essential component or configuration, but then I would expect 
a more helpful error message.

$ sudo crm configure
crm(live)configure# property  no-quorum-policy= ignore
crm(live)configure# property  stonith-enabled= false
crm(live)configure# commit
Traceback (most recent call last):
  File "/usr/sbin/crm", line 7754, in <module>
    try: parse_line(levels,shlex.split(inp))
  File "/usr/sbin/crm", line 7642, in parse_line
    rv = d() # execute the command
  File "/usr/sbin/crm", line 7641, in <lambda>
    d = lambda: cmd[0](*args)
  File "/usr/sbin/crm", line 3482, in commit
    if not self.verify("verify"):
  File "/usr/sbin/crm", line 3388, in verify
    rc1 = set_obj.verify()
  File "/usr/sbin/crm", line 5594, in verify
    rc = pipe_string(cib_verify,self.repr())
  File "/usr/sbin/crm", line 5548, in repr
    s = doc.toprettyxml(user_prefs.xmlindent)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 57, in toprettyxml
    self.writexml(writer, "", indent, newl, encoding)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1749, in writexml
    node.writexml(writer, indent, addindent, newl)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 817, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 817, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 817, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 817, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 812, in writexml
    _write_data(writer, attrs[a_name].value)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 301, in _write_data
    data = data.replace("&", "&amp;").replace("<", "&lt;")
AttributeError: 'NoneType' object has no attribute 'replace'



_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to