![]() |
![]() |
Subject: | persistent broken ZenPacks |
Author: | [Not Specified] |
Posted: | 2016-11-28 16:53 |
Tried to install the LinuxMonitor zenpack on4.2.5 zenoss. It failed. Now I can't remove the zenpack. When I try to remove the zenpack I get:
zenpack --remove ZenPacks.zenoss.LinuxMonitor-2.1.0.egg
ERROR:zen.ZenMessaging:Error encountered while processing ZenPacks.zenoss.LinuxMonitor
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/schema.py", line 58, in _getZenPackSchemas
pkg_path = zpkg.load().__path__[0]
File "/opt/zenoss/lib/python/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-2.1.0.egg/ZenPacks/zenoss/LinuxMonitor/__init__.py", line 24, in
ImportError: cannot import name schema
ERROR:zen.ZenossStartup:Error encountered while processing ZenPacks.zenoss.LinuxMonitor
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 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-2.1.0.egg/ZenPacks/zenoss/LinuxMonitor/__init__.py", line 13, in
ImportError: cannot import name zenpacklib
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.zenoss.LinuxMonitor-2.1.0.egg/ZenPacks/zenoss/LinuxMonitor/__init__.py", line 13, in
ImportError: cannot import name zenpacklib
zenhub will not start. The error is:
2016-11-28 17:19:19,184 INFO zen.Relations: Ignoring unresolvable object ' Any suggestions would be appreciated. Thanks. 1) install pyyaml 2) do zenoss restart 3) install zenpack again 4) restart zenoss again 5)Remove zenpack if you want to remove then. Thanks, Kr!
Subject:
1) install pyyaml
Author:
[Not Specified]
Posted:
2016-11-28 17:42
<
Previous
4.2.5 WinRM ZenPack 2.6.7
Next
Use additional libs for ZenPacks
>