![]() |
![]() |
Subject: | solution to zenpack installation problem (when it killed other zenoss processes) |
Author: | [Not Specified] |
Posted: | 2014-01-27 19:08 |
I was trying to install this zenpack on Zenoss 4.2.4
ZenPacks.community.zenRedis-1.1.egg
it failed with the following messages
ERROR:zen.ZenossStartup:Error encountered while processing ZenPacks.community.zenRedis
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenossStartup/__init__.py", line 27, in
pkg_path = zpkg.load().__path__[0]
File "/opt/zenoss/lib/python/pkg_resources.py", line 1953, in load
if require: self.require(env, installer)
File "/opt/zenoss/lib/python/pkg_resources.py", line 1966, in require
working_set.resolve(self.dist.requires(self.extras),env,installer))
File "/opt/zenoss/lib/python/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
DistributionNotFound: ZenPacks.community.ConstructionKit
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 143, in run
self.connect()
File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 52, in connect
setDescriptors(self.dmd)
File "/opt/zenoss/Products/ZenRelations/ZenPropertyManager.py", line 663, in setDescriptors
module = __import__(zpkg.module_name, globals(), locals(), fromlist)
File "/opt/zenoss/ZenPacks/ZenPacks.community.zenRedis-1.1.egg/ZenPacks/community/zenRedis/__init__.py", line 1, in
from ZenPacks.community.ConstructionKit.Construct import *
Notice the error messages complaint about ConstructionKit. I did installed ConstructionKit but I deleted it.
when I tried restart zenoss it failed with the similar messages and zenhub is dead. So the entire zenoss is broken because of a failed Zenpack installation (bad bad)
Anyway this is how I got that fixed. Edit this file
/opt/zenoss/ZenPacks/easy-install.pth
removed ZenPacks.community.zenRedis
that fixed the problem.
Subject: | looks like you solved it |
Author: | [Not Specified] |
Posted: | 2014-07-07 20:49 |
way to go!
< |
Previous ZenPack Device Properties Display |
Next Issue installation Zenoss 4.2.4 on CentOS 6.5 |
> |