Nov 21, 2013 3:52 AM
Zenpack install broken when not using --link
-
Like (0)
I have forked a ZenPack of Shane Scott, its goal is to monitor Cisco QoS. I have issues with it at installation time: it works fine when installed using "--link", but when I install it using the normal ZenPack installation, a bunch of the installation procedure breaks, eg objects.xml load does not happen.
1. using —link, it works, objects.xml is being loaded:
zenpack --link --install ZenPacks.ShaneScott.QoS
2013-11-21 08:58:29,961 INFO zen.ZPLoader: Loading /export/home/zenoss/devel_zenpack/nze/ZenPacks.ShaneScott.QoS/ZenPacks/ShaneScott/QoS/objects/objects.xml
2013-11-21 08:58:30,502 INFO zen.AddToPack: End loading objects
2013-11-21 08:58:30,502 INFO zen.AddToPack: Processing links
2013-11-21 08:58:30,699 INFO zen.AddToPack: Loaded 16 objects into the ZODB database
2013-11-21 08:58:30,708 INFO zen.HookReportLoader: loading reports from:/export/home/zenoss/devel_zenpack/nze/ZenPacks.ShaneScott.QoS/ZenPacks/ShaneScott/QoS/reports
2013-11-21 08:58:30,736 INFO zen.ZenQoS: Nothing needing linking.
2013-11-21 08:58:30,736 INFO zen.ZenQoS: Adding QoS organizer
2013-11-21 08:58:30,737 INFO zen.ZenQoS: Setting /Network/Router/QoS properties
2013-11-21 08:58:30,737 INFO zen.ZenQoS: Install pysnmp
Searching for pysnmp
Best match: pysnmp 4.2.4
Processing pysnmp-4.2.4-py2.6.egg
pysnmp 4.2.4 is already the active version in easy-install.pth
Installing libsmi2pysnmp script to /opt/zenoss/python/bin
Installing build-pysnmp-mib script to /opt/zenoss/python/bin
Using /opt/zenoss/python/lib/python2.6/site-packages/pysnmp-4.2.4-py2.6.egg
Processing dependencies for pysnmp
Finished processing dependencies for pysnmp
2. using "normal" installation, half of it is not being installed:
zenpack --install ZenPacks.ShaneScott.QoS
2013-11-21 08:55:13,957 INFO zen.HookReportLoader: loading reports from:/opt/zenoss/zenoss/ZenPacks/ZenPacks.ShaneScott.QoS-1.3-py2.6.egg/ZenPacks/ShaneScott/QoS/reports
2013-11-21 08:55:14,088 INFO zen.ZenQoS: Nothing needing linking.
2013-11-21 08:55:14,088 INFO zen.ZenQoS: Adding QoS organizer
2013-11-21 08:55:14,250 INFO zen.ZenQoS: Setting /Network/Router/QoS properties
2013-11-21 08:55:14,250 INFO zen.ZenQoS: Install pysnmp
Searching for pysnmp
Best match: pysnmp 4.2.4
Processing pysnmp-4.2.4-py2.6.egg
pysnmp 4.2.4 is already the active version in easy-install.pth
Installing libsmi2pysnmp script to /opt/zenoss/python/bin
Installing build-pysnmp-mib script to /opt/zenoss/python/bin
Using /opt/zenoss/python/lib/python2.6/site-packages/pysnmp-4.2.4-py2.6.egg
Processing dependencies for pysnmp
Finished processing dependencies for pysnmp
I would be very happy to get your help in debugging this issue.
Platform: Zenoss 3.2.1 on Ubuntu 10.04.4
OK, found the issue: the files were not copied to $ZENHOME/ZenPacks because I had no MANIFEST.in in place. Adding it fixed the issue, the zenpack --install command now pushes everything in place.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||