I finally discovered the issue with Zenping and why I had no issues with it -
until I tried to update to v2.2
It seems the upgrade process never removes old files, Zenping was still using
local libraries from /usr/local/zenoss/Products/ZenStatus instead of
/usr/local/zenoss/lib/python/
A quick diff between the 2 files reveals the issue. I added the missing
TRY/CATCH and it fixed the problem.
Code:
diff /usr/local/zenoss/Products/ZenStatus/inet.py
/usr/local/zenoss/lib/python/inetutils.py
> #
> # pyip is a Python package offering assembling/disassembling of raw ip packet
> # including ip, udp, and icmp. Also it includes 2 utilities based on raw ip,
> # traceroute and ping.
> #
> # pyip is released under PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2, and is
> # a project inspired by 'ping' written by Jeremy Hylton.
> #
> # Author: Kenneth Jiang, [EMAIL PROTECTED]
> #
>
>
6,8d17
< # Copyright 1997, Corporation for National Research Initiatives
< # written by Jeremy Hylton, [EMAIL PROTECTED]
<
17,20c26
< try:
< words = array.array('h', s)
< except:
< words = array.array('H', s)
---
> words = array.array('h', s)
37,40c43
< try:
< return struct.unpack('h', s)[0] & 0xffff
< except:
< return struct.unpack('H', s)[0] & 0xffff
---
> return struct.unpack('H', s)[0] & 0xffff
43,46c46
< try:
< return struct.pack('h', h)
< except:
< return struct.pack('H', h)
---
> return struct.pack('H', h)
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=21171#21171
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users