TECHZEN Zenoss User Community ARCHIVE  

Zenoss GUI trying to use older version of Zenpack

Subject: Zenoss GUI trying to use older version of Zenpack
Author: [Not Specified]
Posted: 2014-11-24 09:45

Hi,

I'm running Zenoss 3.2.1 on a large number of zenoss hosts. It's very stable and is coping well with a lot of devices. Most of our checks are command based. Recently, we have noticed a very strange phenomenon. When testing a command from the template in the Zenoss GUI, it tries to use an older version of a zenpack. The test then fails telling me that the files do not exist. (As zenoss is looking for the path with the older version number in it).

Reinstalling the zenpack and restarting make no difference. Uninstalling the zenpack, doing a stack restart, installing the zenpack made no difference. It has happened 3 times on 2 out of 15 zenoss servers. The updated zenpack works fine with no issues on the other zenoss servers.
It only fails when testing via the GUI. The device itself isn't in error. It's very difficult when we're trying to troubleshoot though.

Is there a cache that the GUI uses that I could clear

I'd really appreciate if anyone had any suggestions. (other than, "upgrade to 4! :) )

Thank you,

Joan



Subject: anyone have any ideas?
Author: [Not Specified]
Posted: 2014-12-11 07:57

anyone have any ideas



Subject: Did you look in your zenoss
Author: Brad
Posted: 2014-12-11 14:08

Did you look in your zenoss/ZenPacks directory to verify the zenpack is completely removed I would uninstall, then verify.

Then you can do a zendmd and see if it is listed:

zendmd
>>> dmd.ZenPackManager.packs();

Brad



Subject: Beware removing ZenPacks
Author: Jane Curry
Posted: 2014-12-16 03:35

Beware removing ZenPacks entirely - if they include objects such as device classes and you then have lots of devices in that device class, those devices will also be deleted. If you just install a newer version of a ZenPack, this deletion does not happen.

This is obviously an extreme case but folk should be aware of it.

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: Jane's point is well taken.
Author: Andrew Kirch
Posted: 2014-12-16 16:19

Jane's point is well taken. If completely removing a ZenPack make sure that the portion of the Devices tree used by that ZenPack is empty, or badness most likely will happen.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
zenup incomplete
  Next
Error collecting performance data: __init__() takes exactly 1 argument (2 given)
>