Anomalie #39

Database desynchronisation with VMachines and AbstractMachines

Added by pnl 4156 days ago. Updated 4151 days ago.

Status:Closed Start:03/18/2009
Priority:Imm├ędiat Due date:
Assigned to:shouze % Done:


Category:- Spent time: -
Target version:1.0.0


Sometimes (don't know how to reproduce yet), item is removed from vmachine table while still living in abstract_machine table. This yields this kind of backtrace within sitemgrd:

    --- <exception caught here> ---
      File "/usr/local/lib/python2.5/site-packages/twisted/internet/", line 106, in maybeDeferred
        result = f(*args, **kw)
      File "/home/pnl/src/sinn/lib/pysinn/site/", line 338, in xmlrpc_list
        for v in self.getAll(sitegroup=sitegroup, labels=args)]
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/", line 179, in __iter__
        return iter(list(self.lazyIter()))
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/inheritance/", line 43, in next
        childResults=childResults, connection=self.dbconn)
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/inheritance/", line 299, in get
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/inheritance/", line 280, in get
        val = super(InheritableSQLObject, cls).get(id, connection, selectResults)
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/", line 882, in get
        val._init(id, connection, selectResults)
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/", line 923, in _init
        raise SQLObjectNotFound, "The object %s by the ID %s does not exist" % (self.__class__.__name__,
    sqlobject.main.SQLObjectNotFound: The object VMachine by the ID 21 does not exist


Updated by jul 4156 days ago

  • Priority changed from Normal to Imm├ędiat

Updated by shouze 4155 days ago

Please try to reproduce it, some changes have been made, it's probably fixed now.

Updated by shouze 4151 days ago

  • Status changed from New to Closed
  • Assigned to set to shouze

Cannot reproduce since few days.

Also available in: Atom PDF