Archived community.zenoss.org | full text search
Skip navigation
3518 Views 4 Replies Latest reply: Dec 21, 2011 9:50 AM by OneLoveAmaru RSS
Steve McMahon Newbie 2 posts since
Oct 17, 2011
Currently Being Moderated

Oct 21, 2011 11:21 AM

Problem Installing Zenpack after 3.2 update

I wrote a HaProxy ZenPack under version 3.1 of Zenoss. After I updated to 3.2 it failed and when trying to re-install I get the error below.

 

[zenoss@zenoss local]$ zenpack --install=ZenPacks.company.HaProxy --link

2011-10-21 11:14:32,796 INFO zen.HookReportLoader: loading reports from:/opt/zenoss/zenoss/local/ZenPacks.company.HaProxy/ZenPacks/company/HaProxy/reports

2011-10-21 11:14:32,970 ERROR zen.ZenPackCmd: zenpack command failed

Traceback (most recent call last):

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

    zp.run()

  File "/opt/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 134, in run

    previousVersion= self.options.previousVersion)

  File "/opt/zenoss/zenoss/Products/ZenUtils/ZenPackCmd.py", line 249, in InstallEggAndZenPack

    forceRunExternal=forceRunExternal)

  File "/opt/zenoss/zenoss/Products/ZenUtils/ZenPackCmd.py", line 424, in InstallDistAsZenPack

    zenPack.install(dmd)

  File "/opt/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 251, in install

    loader.load(self, app)

  File "/opt/zenoss/zenoss/Products/ZenModel/ZenPackLoader.py", line 287, in load

    registerSkin(app.zport.dmd, skinsDir)

  File "/opt/zenoss/zenoss/Products/ZenUtils/Skins.py", line 59, in registerSkin

    addDirectoryViews(skinstool, path, dict(__name__=root))

  File "/opt/zenoss/python/lib/python2.6/site-packages/Products.CMFCore-2.2.0_alpha-py2.6.egg/Products/CMFCore/DirectoryView.py", line 621, in addDirectoryVie

ws

    raise ValueError('Not a registered directory: %s' % reg_key)

ValueError: Not a registered directory: ZenPacks.company.HaProxy:/opt/zenoss/zenoss/local/ZenPacks.company.HaProxy/ZenPacks/company/HaProxy/skins

 

Does anyone have any ideas about fixing this? Only help I've found through google is related to .egg files being named .zip. This error also occurs when doing it as a local folder install and egg file install.

 

Thanks

More Like This

  • Retrieving data ...

Legend

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