[Pacemaker] crm: timeout for start warning (possible bug?)

Koch, Sebastian Sebastian.Koch at netzwerk.de
Tue Jan 26 07:44:30 EST 2010


Hi,

 

kind of funny. I tried the same right now and i got the same issue J

 

crm(live)configure# edit

INFO: resource references in location:cli-prefer-res_ClusterIP updated

INFO: resource references in colocation:col_ip_before_apache updated

INFO: resource references in colocation:col_ip_before_mysql updated

INFO: resource references in colocation:col_fs_before_mysql updated

INFO: resource references in colocation:col_ip_before_mysql updated

INFO: resource references in colocation:col_drbd_on_mysql updated

INFO: resource references in order:mysql_after_fs updated

INFO: resource references in colocation:col_ip_before_apache updated

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 3382, in edit

    return set_obj.edit()

  File "/usr/sbin/crm", line 5380, in edit

    return self.edit_save(s)

  File "/usr/sbin/crm", line 5365, in edit_save

    if not self.save(s):

  File "/usr/sbin/crm", line 5528, in save

    if self.process(cli_list) == False:

  File "/usr/sbin/crm", line 5485, in process

    rc = obj.update_from_cli(cli_list) != False

  File "/usr/sbin/crm", line 5783, in update_from_cli

    id_store.remove_xml(oldnode)

  File "/usr/sbin/crm", line 3830, in remove_xml

    xmltraverse_thin(node,self._drop_node)

  File "/usr/sbin/crm", line 3636, in xmltraverse_thin

    fun(xmlnode,ts)

  File "/usr/sbin/crm", line 3819, in _drop_node

    self.remove(node.getAttribute("id"))

  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 685, in getAttribute

    return self._attrs[attname].value

TypeError: 'NoneType' object is unsubscriptable

 

Best Regards,

Sebastian

 

Sebastian Koch
                                                         

NETZWERK GmbH

Fon:  +49.711.220 5498 81
Mobil: +49.160.907 908 30
Fax:  +49.711.220 5499 27
Email: sebastian.koch at netzwerk.de
<mailto:olaf.mueller-haberland at netzwerk.de> Web:  www.netzwerk.de <http://www.netzwerk.de/> 

NETZWERK GmbH, Kurze Str. 40, 70794 Filderstadt-Bonlanden
Geschäftsführer: Siegfried Herner, Hans-Baldung Luley, Olaf Müller-Haberland
Sitz der Gesellschaft: Filderstadt-Bonlanden, Amtsgericht Stuttgart HRB 225547, WEEE-Reg Nr. DE 185 622 492

 

Von: Maros Timko [mailto:timkom at gmail.com] 
Gesendet: Dienstag, 26. Januar 2010 13:40
An: pacemaker at oss.clusterlabs.org
Betreff: [Pacemaker] crm: timeout for start warning (possible bug?)

 

Hi all,

I think the start timeout check has indirectly introduced some bug.

I have already a group with Filesystem primitive in it:
group dom0 dom0-drbd-Domain00 dom0-fs-Domain00 dom0-vsppreconsole \
        meta is-managed="true"

I want to create a new group from primitives that already exist:
crm(live)configure# group udom udom-drbd-udom0 udom-drbd-udom1 udom-drbd-udom2 udom-delay udom-delay udom-vm meta is-managed=false
crm(live)configure# commit
WARNING: dom0-fs-Domain00: timeout 20s for start is smaller than the advised 60
Traceback (most recent call last):
  File "/usr/sbin/crm", line 7561, in ?
    try: parse_line(levels,shlex.split(inp))
  File "/usr/sbin/crm", line 7437, in parse_line
    rv = d() # execute the command
  File "/usr/sbin/crm", line 7436, in <lambda>
    d = lambda: cmd[0](*args)
  File "/usr/sbin/crm", line 2977, in commit
    rc2 = self.verify("verify")
  File "/usr/sbin/crm", line 2882, in verify
    rc2 = set_obj.verify2()
  File "/usr/sbin/crm", line 5219, in verify2
    rc |= obj.check_sanity()
  File "/usr/sbin/crm", line 5735, in check_sanity
    ra_type = self.node.getAttribute("type")
  File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 685, in getAttribute
    return self._attrs[attname].value
TypeError: unsubscriptable object


More information about the Pacemaker mailing list