TECHZEN Zenoss User Community ARCHIVE  

problem loading plugin Layer2

Subject: problem loading plugin Layer2
Author: Yury G
Posted: 2018-10-22 07:29

Hi Colleagues,

I am configuring Zenoss Core 6.2.1
and trying to use Layer2 plugin https://www.zenoss.com/product/zenpacks/layer2
it fails to start saying that:
2018-10-22 11:41:19,903 ERROR zen.ZenDisc: Problem loading plugin ZenPacks.zenoss.Layer2.modeler.plugins.zenoss.snmp.CDPLLDPDiscover

2018-10-22 11:41:19,903 ERROR zen.ZenDisc: ['Traceback (most recent call last):', ' File "/opt/zenoss/Products/DataCollector/Plugins.py", line 100, in create', ' self.modPath)', ' File "/opt/zenoss/Products/DataCollector/Plugins.py", line 192, in importPlugin', ' return importClass(modPath)', ' File "/opt/zenoss/Products/ZenUtils/Utils.py", line 541, in importClass', ' raise ex', 'ImportError: No module named Layer2.modeler.plugins.zenoss.snmp.CDPLLDPDiscover']

2018-10-22 11:41:19,903 ERROR zen.ZenDisc: Due to import errors, removing the ZenPacks.zenoss.Layer2.modeler.plugins.zenoss.snmp.CDPLLDPDiscover plugin from this collection cycle.


this plugin is shown as installed:
[root@core-master ~]# serviced service run zope zenpack list | grep Layer2
time="2018-10-22T11:26:37Z" level=info msg="Loaded delegate keys from file" keyfile="/etc/serviced/delegate.keys" location="localkeys.go:339" logger=auth
ZenPacks.zenoss.Layer2 (/opt/zenoss/ZenPacks/ZenPacks.zenoss.Layer2-1.4.2.egg)


Do You have any idea what should be checked ?

------------------------------
Yury G
------------------------------


Subject: RE: problem loading plugin Layer2
Author: Jane Curry
Posted: 2018-10-22 16:51

I am a bit surprised by:
importClass(modPath)', ' File "/opt/zenoss/Products/ZenUtils/Utils.py", line 541, in importClass', ' raise ex', 'ImportError: No module named Layer2.modeler.plugins.zenoss.snmp.CDPLLDPDiscover']

I would expect the module to have the full path starting from ZenPacks.zenoss

Can you look down the directory area where the ZenPack is installed (probably in the zope container) and see if you can trace down into ZenPacks.zenoss.Layer2.modeler.plugins.zenoss.snmp.CDPLLDPDiscover ?

This smacks a bit of the install not having been fully successful.


Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: problem loading plugin Layer2
Author: Yury G
Posted: 2018-10-23 03:10

Hi Jane,

Thank You for reply.

Could You be so kind to point out how to check it up as I am not a guru in zenoss ?

Yury

------------------------------
Yury G
------------------------------


Subject: RE: problem loading plugin Layer2
Author: Yury G
Posted: 2018-10-30 05:45

Hi Jane,

I've noticed that GUI doesn't reply after a couple of days.
restart of zope service helps to repair.

Can it be influenced by missed plugin or vise versa ?

regards,

------------------------------
Yury G
------------------------------


< Previous
Change Memory Threshold for just one server
  Next
Unable to download install-zenoss-hbase-24.0.8.run
>