Hello,

I started getting recursion errors when clicking on the 'os' tab for certain 
devices. Zenoss was complaining about IP Networks so I figured I'd just delete 
/Networks/10.0.0.0 and recreate it.

I couldn't browse to /zport/dmd/Networks/10.0.0.0 without getting an error so I 
tried to delete via zendmd using this command:


Code:
zport.dmd.Networks._delObject('10.0.0.0')



I got a few errors like this:


Code:

ERROR:Zope.ZCatalog:uncatalogObject unsuccessfully attempted to uncatalog an 
object with a uid of 
/zport/dmd/Networks/10.0.0.0/10.20.0.0/10.20.77.0/ipaddresses/10.20.77.1. 
ERROR:ZODB.Connection:Couldn't load state for 0x0d6601
Traceback (most recent call last):
  File "/opt/zenoss/zenoss/lib/python/ZODB/Connection.py", line 704, in setstate
    self._setstate(obj)
  File "/opt/zenoss/zenoss/lib/python/ZODB/Connection.py", line 758, in 
_setstate
    self._reader.setGhostState(obj, p)
  File "/opt/zenoss/zenoss/lib/python/ZODB/serialize.py", line 495, in 
setGhostState
    state = self.getState(pickle)
  File "/opt/zenoss/zenoss/lib/python/ZODB/serialize.py", line 488, in getState
    return unpickler.load()
  File "/opt/zenoss/zenoss/lib/python/ZODB/serialize.py", line 436, in 
_persistent_load
    return self._conn.get(oid)
  File "/opt/zenoss/zenoss/lib/python/ZODB/Connection.py", line 207, in get
    p, serial = self._storage.load(oid, self._version)
  File "/opt/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 746, in load
    return self.loadEx(oid, version)[:2]
  File "/opt/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 769, in loadEx
    data, tid, ver = self._server.loadEx(oid, version)
  File "/opt/zenoss/zenoss/lib/python/ZEO/ServerStub.py", line 192, in loadEx
    return self.rpc.call("loadEx", oid, version)
  File "/opt/zenoss/zenoss/lib/python/ZEO/zrpc/connection.py", line 531, in call
    r_flags, r_args = self.wait(msgid)
  File "/opt/zenoss/zenoss/lib/python/ZEO/zrpc/connection.py", line 638, in wait
    asyncore.poll(delay, self._singleton)
  File "/opt/zenoss/python/lib/python2.4/asyncore.py", line 133, in poll
    read(obj)
  File "/opt/zenoss/python/lib/python2.4/asyncore.py", line 73, in read
    obj.handle_error()
  File "/opt/zenoss/zenoss/lib/python/ZEO/zrpc/connection.py", line 453, in 
handle_error
    level=logging.ERROR, exc_info=True)
  File "/opt/zenoss/zenoss/lib/python/ZEO/zrpc/connection.py", line 327, in log
    self.logger.log(level, self.log_label + message, exc_info=exc_info)
  File "/opt/zenoss/python/lib/python2.4/logging/__init__.py", line 1040, in log
    apply(self._log, (level, msg, args), kwargs)
  File "/opt/zenoss/python/lib/python2.4/logging/__init__.py", line 1079, in 
_log
    self.handle(record)
  File "/opt/zenoss/python/lib/python2.4/logging/__init__.py", line 1089, in 
handle
    self.callHandlers(record)
  File "/opt/zenoss/python/lib/python2.4/logging/__init__.py", line 1126, in 
callHandlers
    hdlr.handle(record)
  File "/opt/zenoss/python/lib/python2.4/logging/__init__.py", line 640, in 
handle
    self.acquire()
  File "/opt/zenoss/python/lib/python2.4/logging/__init__.py", line 591, in 
acquire
    self.lock.acquire()
RuntimeError: maximum recursion depth exceeded




Now when I commit() I get this error:


Code:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/opt/zenoss/zenoss/lib/python/transaction/_manager.py", line 84, in 
commit
    self.get().commit(sub)
  File "/opt/zenoss/zenoss/lib/python/transaction/_transaction.py", line 371, 
in commit
    self._prior_operation_failed() # doesn't return
  File "/opt/zenoss/zenoss/lib/python/transaction/_transaction.py", line 252, 
in _prior_operation_failed
    raise TransactionFailedError("An operation previously failed, "
ZODB.POSException.TransactionFailedError: An operation previously failed, with 
traceback:

  File "<stdin>", line 1, in ?
  File "/opt/zenoss/zenoss/lib/python/transaction/_manager.py", line 84, in 
commit
    self.get().commit(sub)
  File "/opt/zenoss/zenoss/lib/python/transaction/_transaction.py", line 381, 
in commit
    self._saveCommitishError() # This raises!
  File "/opt/zenoss/zenoss/lib/python/transaction/_transaction.py", line 379, 
in commit
    self._commitResources()
  File "/opt/zenoss/zenoss/lib/python/transaction/_transaction.py", line 424, 
in _commitResources
    rm.commit(self)
  File "/opt/zenoss/zenoss/lib/python/ZODB/Connection.py", line 462, in commit
    self._commit(transaction)
  File "/opt/zenoss/zenoss/lib/python/ZODB/Connection.py", line 495, in _commit
    raise ConflictError(object=obj)
ConflictError: database conflict error (oid 0x034a9d, class 
Products.ZenModel.IpRouteEntry.IpRouteEntry)




Not sure how I can get this network deleted at this point. Any help would be 
appreciated.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=29323#29323

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to