Skip navigation
4043 Views 0 Replies Latest reply: Dec 8, 2010 11:10 AM by nilie RSS
nilie Rank: Green Belt 372 posts since
May 27, 2010
Currently Being Moderated

Dec 8, 2010 11:10 AM

Zendisc error and device creation job runs forever

I'm running Zenoss Core v3.0.3 on CentOS v5.5 64-bit and I recently installed Firestar CiscoASA ZenPacks v2.1.1.

The installation went fine, however I copied the templates into a new device class I created because I wanted to have my ASA in a distinct class. Instead of the default /Network/Router/Cisco, I put them in /Network/Firewall/Cisco/ASA which seems more appropriate to me.

Now every time I add a new device in this class, the device creation job runs forever (usually I stop them after 1 day) and in the job details I see these error messages :


DeviceCreationJob "/opt/zenoss/bin/zendisc run --now -d FNCDN2VPN2 --monitor localhost --deviceclass /Network/Firewall/Cisco/ASA --job DeviceCreationJob_3f99b040-4f1a-47b1-baa2-33d5cf7272f5"


2010-12-08 09:54:12,492 INFO zen.ZenDisc: Connecting to localhost:8789
2010-12-08 09:54:12,499 INFO zen.ZenDisc: Connected to ZenHub
2010-12-08 09:54:13,272 ERROR zen.ZenDisc: Error occured: [Failure instance: Traceback (failure with no frames): : Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenHub/", line 75, in inner
    return callable(*args, **kw)
  File "/opt/zenoss/Products/ZenHub/services/", line 25, in remote_getThresholdClasses
    classes += pack.getThresholdClasses()
  File "/opt/zenoss/Products/ZenModel/", line 699, in getThresholdClasses
    return self._getClassesByPath('thresholds')
  File "/opt/zenoss/Products/ZenModel/", line 682, in _getClassesByPath
    for path, dirs, files in os.walk(self.path(name)):
  File "/opt/zenoss/Products/ZenModel/", line 766, in path
    module = self.getModule()
  File "/opt/zenoss/Products/ZenModel/", line 882, in getModule
    _, packEntry = self.getEntryPoint()
  File "/opt/zenoss/Products/ZenModel/", line 865, in getEntryPoint
    dist = self.getDistribution()
  File "/opt/zenoss/Products/ZenModel/", line 855, in getDistribution
    return pkg_resources.get_distribution(
  File "/opt/zenoss/lib/python/", line 311, in get_distribution
    if isinstance(dist,Requirement): dist = get_provider(dist)
  File "/opt/zenoss/lib/python/", line 197, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/opt/zenoss/lib/python/", line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/zenoss/lib/python/", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
DistributionNotFound: ZenPacks.Firestar.CiscoASA




The device is being added but no monitoring is being done which is not unexpected. I re-model the device and after a few seconds everything runs just fine and the device is being monitored correctly.


Any idea why this is happening ?

More Like This

  • Retrieving data ...


  • Correct Answers - 4 points
  • Helpful Answers - 2 points