Discussion:
Unable to delete the device from zenoss
obulesu donthu
2013-12-08 07:34:21 UTC
Permalink
obulesu donthu [http://community.zenoss.org/people/obulesu] created the discussion

"Unable to delete the device from zenoss"

To view the discussion, visit: http://community.zenoss.org/message/75437#75437

--------------------------------------------------------------
Unable to delete the device from Zenoss.

Tried in the Zendmd also(device.deleteDevice()).

Getting the following log:
================================================================
2013-12-08T02:22:47 ERROR Zope.SiteErrorLog 1386487367.670.853640075517 http://192.168.184.134:8080/zport/dmd/device_router http://192.168.184.134:8080/zport/dmd/device_router
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.ZenUtils.extdirect.zope.router, line 22, in __call__
  Module Products.ZenUtils.jsonutils, line 156, in inner
  Module Products.ZenUtils.extdirect.router, line 129, in __call__
  Module Products.ZenUtils.extdirect.router, line 187, in _processDirectRequest
  Module transaction._transaction, line 705, in rollback
InvalidSavepointRollbackError: invalidated by a later savepoint
------
2013-12-08T02:22:51 ERROR zen.Zuul [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/opt/zenoss/Products/Zuul/routers/device.py", line 1116, in removeDevices
    deletePerf=deletePerf)
  File "/opt/zenoss/Products/Zuul/facades/devicefacade.py", line 223, in deleteDevices
    return self._deleteDevices(uids, deleteEvents, deletePerf)
  File "/opt/zenoss/Products/Zuul/facades/devicefacade.py", line 210, in _deleteDevices
    deletedIds = sum(map(dbDeleteDevices, uidChunks(uids)), [])
  File "/opt/zenoss/lib/python/ZODB/transact.py", line 51, in g
    _commit(note)
  File "/opt/zenoss/lib/python/ZODB/transact.py", line 23, in _commit
    t.commit()
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 327, in commit
    self._callBeforeCommitHooks()
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 397, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 236, in beforeCompletionHook
    dataManager = AmqpDataManager(self._queuePublisher.channel, tx._manager)
  File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 396, in channel
    return self._client.getChannel()
  File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 69, in getChannel
    ssl=self._connectionInfo.usessl)
  File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 144, in __init__
    (10, 30), # tune
  File "/opt/zenoss/lib/python/amqplib/client_0_8/abstract_channel.py", line 95, in wait
    self.channel_id, allowed_methods)
  File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 202, in _wait_method
    self.method_reader.read_method()
  File "/opt/zenoss/lib/python/amqplib/client_0_8/method_framing.py", line 221, in read_method
    raise m
error: [Errno 104] Connection reset by peer

================================================================

Regards,
Obu
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75437#75437]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...