We have never had a flawless Zenoss installation, but I am trying to address 
the problems we are currently having.  I just upgraded to 2.4.1 and am 
troubleshooting from there.

I am specifically looking at WMI, SNMP, and an error that crops up when I model 
a device.  I am using the native RPMs on CentOS 5.3 x86.

Here is the error in the web interface when modeling a device.  I believe this 
happens on every device we model...



> 
> Traceback (most recent call last): File 
> "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 114, in publish request, 
> bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 88, in 
> mapply if debug is not None: return debug(object,args,context) File 
> "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 40, in call_object 
> result=apply(object,args) # Type s to step into published object. File 
> "/opt/zenoss/Products/ZenUtils/Utils.py", line 1281, in inner return f(self, 
> *args, **kwargs) TypeError: __call__() got an unexpected keyword argument 'ms'
> 


Here is out put at the console when looking at ZenPacks installed and trying to 
reindex()...


> 
> [zen...@ccc-status ~]$ /opt/zenoss/bin/zenpack --list
> APC UPS PowerNet (/opt/zenoss/Products/APC UPS PowerNet)
> ColdFusionMX (/opt/zenoss/Products/ColdFusionMX)
> MicrosoftIIS6 (/opt/zenoss/Products/MicrosoftIIS6)
> Netbotz (/opt/zenoss/Products/Netbotz)
> Perfmon (/opt/zenoss/Products/Perfmon)
> RRAS (/opt/zenoss/Products/RRAS)
> Squid (/opt/zenoss/Products/Squid)
> WMIExchangeMonitor (/opt/zenoss/Products/WMIExchangeMonitor)
> WMIPerformanceMonitor (/opt/zenoss/Products/WMIPerformanceMonitor)
> Websensors (/opt/zenoss/Products/Websensors)
> WindowsWMIDeviceTemplateV2 (/opt/zenoss/Products/WindowsWMIDeviceTemplateV2)
> ZenPacks.Firestar.CiscoASA 
> (/opt/zenoss/ZenPacks/ZenPacks.Firestar.CiscoASA-1.0-py2.4.egg)
> ZenPacks.LearningObjects.PostgresqlMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.LearningObjects.PostgresqlMonitor-1.0-py2.4.egg)
> ZenPacks.Nagios.CheckPing 
> (/opt/zenoss/ZenPacks/ZenPacks.Nagios.CheckPing-1.0-py2.4.egg)
> ZenPacks.SCC.ShowGraphPortlet 
> (/opt/zenoss/ZenPacks/ZenPacks.SCC.ShowGraphPortlet-1.0-py2.4.egg)
> ZenPacks.chudler.AlterPathCS 
> (/opt/zenoss/ZenPacks/ZenPacks.chudler.AlterPathCS-1.0.0-py2.4.egg)
> ZenPacks.community.VMwareEsx 
> (/opt/zenoss/ZenPacks/ZenPacks.community.VMwareEsx-2.2.1-py2.4.egg)
> ZenPacks.community.WMIFilesMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.community.WMIFilesMonitor-1.2-py2.4.egg)
> ZenPacks.community.mib_utils 
> (/opt/zenoss/ZenPacks/ZenPacks.community.mib_utils-1.04-py2.4.egg)
> ZenPacks.vmware.VirtualMachines 
> (/opt/zenoss/ZenPacks/ZenPacks.vmware.VirtualMachines-1.2-py2.4.egg)
> ZenPacks.zenoss.ApacheMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.0.2-py2.4.egg)
> ZenPacks.zenoss.DellMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DellMonitor-2.0.0-py2.4.egg)
> ZenPacks.zenoss.DigMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DigMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.DnsMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DnsMonitor-2.0.1-py2.4.egg)
> ZenPacks.zenoss.FtpMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.FtpMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.HPMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.HPMonitor-2.0.0-py2.4.egg)
> ZenPacks.zenoss.HttpMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.1-py2.4.egg)
> ZenPacks.zenoss.IRCDMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.IRCDMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.JabberMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.JabberMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.LDAPMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.LDAPMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.LinuxMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-1.0.0-py2.4.egg)
> ZenPacks.zenoss.NNTPMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.NNTPMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.NtpMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.2-py2.4.egg)
> ZenPacks.zenoss.RPCMonitor 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.RPCMonitor-1.0.1-py2.4.egg)
> ZenPacks.zenoss.ZenJMX 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.1.6-py2.4.egg)
> ZenPacks.zenoss.powerware 
> (/opt/zenoss/ZenPacks/ZenPacks.zenoss.powerware-1.0-py2.4.egg)
> 



> 
> [zen...@ccc-status ~]$ /opt/zenoss/bin/zendmd 
> 2009-06-04 15:33:20 WARNING OFS.Application Duplicate Product name
> After loading Product 'Five' from '/opt/zenoss/Products',
> I skipped the one in '/opt/zenoss/lib/python/Products'.
> 
> 2009-06-04 15:33:25 CRITICAL txn.-1208383792 A storage error occured during 
> the second phase of the two-phase commit.  Resources may be in an 
> inconsistent state.
> 2009-06-04 15:33:25 ERROR Zope Couldn't install ZenWidgets
> Traceback (most recent call last):
>   File "/opt/zenoss/lib/python/OFS/Application.py", line 826, in 
> install_product
>     transaction.commit()
>   File "/opt/zenoss/lib/python/transaction/_manager.py", line 84, in commit
>     self.get().commit(sub)
>   File "/opt/zenoss/lib/python/transaction/_transaction.py", line 381, in 
> commit
>     self._saveCommitishError() # This raises!
>   File "/opt/zenoss/lib/python/transaction/_transaction.py", line 379, in 
> commit
>     self._commitResources()
>   File "/opt/zenoss/lib/python/transaction/_transaction.py", line 432, in 
> _commitResources
>     rm.tpc_finish(self)
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 651, in tpc_finish
>     self._storage.tpc_finish(transaction, callback)
>   File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 974, in tpc_finish
>     self._update_cache(tid)
>   File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 999, in 
> _update_cache
>     self._cache.invalidate(oid, version, tid)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 376, in invalidate
>     assert o.end_tid is None  # i.e., o was current
> AssertionError
> Welcome to the Zenoss dmd command shell!
> 'dmd' is bound to the DataRoot. 'zhelp()' to get a list of commands.
> >>> reindex()
> 2009-06-04 15:36:16 ERROR ZODB.Connection Couldn't load state for 0x018fda
> Traceback (most recent call last):
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 704, in setstate
>     self._setstate(obj)
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 740, in _setstate
>     p, serial = self._storage.load(obj._p_oid, self._version)
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 1144, in load
>     return self._storage.load(oid, self._base_version)
>   File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 746, in load
>     return self.loadEx(oid, version)[:2]
>   File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 774, in loadEx
>     self._cache.store(oid, ver, tid, None, data)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 293, in store
>     self.fc.add(o)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 980, in add
>     available = self._makeroom(size)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 918, in _makeroom
>     self._evictobj(e, size)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 996, in _evictobj
>     self.parent._evicted(o)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 438, in _evicted
>     L = self.noncurrent[oid]
> KeyError: '\x00\x00\x00\x00\x00\x02]f'
> Traceback (most recent call last):
>   File "<console>", line 1, in ?
>   File "/opt/zenoss/Products/ZenModel/zendmd.py", line 106, in reindex
>     dmd.Devices.reIndex()
>   File "/opt/zenoss/Products/ZenModel/DeviceClass.py", line 750, in reIndex
>     comp.index_object()
>   File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 183, in 
> index_object
>     self.index_links()
>   File "/opt/zenoss/Products/ZenModel/Linkable.py", line 30, in index_links
>     cat.catalog_object(self, self.getPrimaryId())
>   File "/opt/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 567, in 
> catalog_object
>     update_metadata=update_metadata)
>   File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 345, in 
> catalogObject
>     self.paths[index] = uid
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 704, in setstate
>     self._setstate(obj)
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 740, in _setstate
>     p, serial = self._storage.load(obj._p_oid, self._version)
>   File "/opt/zenoss/lib/python/ZODB/Connection.py", line 1144, in load
>     return self._storage.load(oid, self._base_version)
>   File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 746, in load
>     return self.loadEx(oid, version)[:2]
>   File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 774, in loadEx
>     self._cache.store(oid, ver, tid, None, data)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 293, in store
>     self.fc.add(o)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 980, in add
>     available = self._makeroom(size)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 918, in _makeroom
>     self._evictobj(e, size)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 996, in _evictobj
>     self.parent._evicted(o)
>   File "/opt/zenoss/lib/python/ZEO/cache.py", line 438, in _evicted
>     L = self.noncurrent[oid]
> KeyError: '\x00\x00\x00\x00\x00\x02]f'
> >>> 
> 


Any help or insight into what might be going on here is much appreciated.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35641#35641

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to