Archived community.zenoss.org | full text search
Skip navigation
11601 Views 5 Replies Latest reply: Jan 4, 2012 4:00 AM by jcurry RSS
jcurry ZenossMaster 1,021 posts since
Apr 15, 2008
Currently Being Moderated

Jun 21, 2010 2:57 PM

mib browser Zenapck install fails - and can't uninstall

Zenoss 2.5.2 on OpenSuSE 10.3.  Mib Browser ZenPack 1.08.  Brand new install so no history lying around.  Zenoss server is zen-01.skills-1st.co.uk.   Tried to install zenpack with:

 

zenoss@zen-01:/code/zenpacks> zenpack -v 10 --install ZenPacks.community.mib_utils-1.08-py2.4.egg
2010-06-21 21:49:25,265 INFO zen.ZPLoader: Loading /srv/zen-01-data/local/zenoss/zenoss/ZenPacks/ZenPacks.community.mib_utils-1.08-py2.4.egg/ZenPacks/community/mib_utils/objects/objects.xml
2010-06-21 21:49:25,819 INFO zen.AddToPack: End loading objects
2010-06-21 21:49:25,819 INFO zen.AddToPack: Processing links
2010-06-21 21:49:26,133 INFO zen.AddToPack: Loaded 4 objects into the ZODB database
2010-06-21 21:49:26,288 INFO zen.HookReportLoader: loading reports from:/srv/zen-01-data/local/zenoss/zenoss/ZenPacks/ZenPacks.community.mib_utils-1.08-py2.4.egg/ZenPacks/community/mib_utils/reports
ERROR: zenpack command failed. Reason: KeyError: 'zen'

 

Bounced zenhub, zopectl and zentrap.  Don''t see broser icons from MIBs menu.

 

Command line thinks the zenpack is installed, as does Settings -> ZenPacks:

zenoss@zen-01:/code/zenpacks> zenpack --list
ZenPacks.community.mib_utils (/srv/zen-01-data/local/zenoss/zenoss/ZenPacks/ZenPacks.community.mib_utils-1.08-py2.4.egg)

 

 

But cannot de-install this broken zenpack:

zenoss@zen-01:/code/zenpacks> zenpack --remove ZenPacks.community.mib_utils
ERROR: zenpack command failed. Reason: NotImplementedError:

 

Tried all sorts but can't get rid.  Can't reinstall because it tries to remove it first...

 

Looking at the ERROR from the install, I am wondering if the problem is with the Zenoss server name of zen-01 - can't see where else it might have a KeyError of zen ?????

 

Anyone have any thoughts or fixes?

 

Cheers,

Jane

  • kingpin Rank: Green Belt 109 posts since
    Sep 22, 2008

    Hi Jane,

     

    I also can't unistall the ZenPacks.community.mib_utils version 1.08 on my Zenoss 3.2.1. I get a simular output "NotImplementedError".

     

    zenoss@zenoss1:/usr/local/zenoss/zenoss/$ zenpack --remove ZenPacks.community.mib_utils

    ERROR:zen.ZenPackCmd:zenpack command failed

    Traceback (most recent call last):

      File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 406, in <module>

        zp.run()

      File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 168, in run

        self.options.removePackName)

      File "/usr/local/zenoss/zenoss/Products/ZenUtils/ZenPackCmd.py", line 812, in RemoveZenPack

        zp.remove(dmd, leaveObjects)

      File "/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.community.mib_utils-1.08-py2.4.egg/ZenPacks/community/mib_utils/__init__.py", line 36, in remove

        ZenPackBase.remove( self, app, leaveObjects=False )

      File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 291, in remove

        loader.unload(self, app, leaveObjects)

      File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPackLoader.py", line 125, in unload

        obj._delOb(id)

      File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyRelationshipBase.py", line 106, in _delOb

        raise NotImplementedError

    NotImplementedError

     

    Can you help ?

  • giandee Rank: White Belt 7 posts since
    Jan 12, 2011

    I have the same issue with the same zenpack.  Kingpin, were you able to resolve this?

More Like This

  • Retrieving data ...

Legend

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