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:

0%

Category:- Spent time: -
Target version:1.0.0

Description

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/defer.py", line 106, in maybeDeferred
        result = f(*args, **kw)
      File "/home/pnl/src/sinn/lib/pysinn/site/vmachine.py", 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/sresults.py", 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/iteration.py", 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/__init__.py", line 299, in get
        selectResults=childResults)
      File "/usr/local/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/inheritance/__init__.py", 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/main.py", 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/main.py", line 923, in _init
        raise SQLObjectNotFound, "The object %s by the ID %s does not exist" % (self.__class__.__name__, self.id)
    sqlobject.main.SQLObjectNotFound: The object VMachine by the ID 21 does not exist

History

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