Running Zenoss Core 2.2.3 on Debian Etch. In case this has some relevance to
the problem, couple of days ago applied the patches according to the recent
security anouncement.
After some deamon restarts and one full Zenoss restart I've made, I'm not able
to start Zenping any longer - it always dies with the following error.
Code:
2008-11-14 09:47:01 INFO zen.ZenPing: started
2008-11-14 09:47:01 WARNING zen.ZenPing: Reconnected to ZenHub
2008-11-14 09:47:01 INFO zen.ZenPing: fetching monitor properties
2008-11-14 09:47:01 INFO zen.ZenPing: fetching default RRDCreateCommand
2008-11-14 09:47:02 INFO zen.ZenPing: getting threshold classes
2008-11-14 09:47:02 INFO zen.ZenPing: getting collector thresholds
2008-11-14 09:47:02 INFO zen.ZenPing: getting ping tree
2008-11-14 09:47:02 ERROR zen.ZenPing: [Failure instance: Traceback (failure
with no frames): Products.ZenHub.PBDaemon.RemoteException: Remote exception:
AccessControl.unauthorized.Unauthorized: You are not allowed to access
'10.1.1.31' in this contextTraceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 47, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line
28, in remote_getPingTree
return self.getPingTree(dmd, root, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line
37, in getPingTree
me = self.lookupByIp(dmd, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line
61, in lookupByIp
ip = dmd.Networks.findIp(fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenModel/IpNetwork.py", line 395, in
findIp
return ret[0].getObject()
File
"/usr/local/zenoss/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py", line
86, in getObject
target = parent.restrictedTraverse(path[-1])
File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 245, in
restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=1)
File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 216, in
unrestrictedTraverse
next = guarded_getattr(obj, name, marker)
Unauthorized: You are not allowed to access '10.1.1.31' in this context
]
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 46, in _next
self.iter.next().addBoth(self._finish)
File "/usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py", line 145, in
loadConfig
oldtree, self.pingtree = self.pingtree, driver.next()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 58, in next
raise ex
RemoteException: Remote exception: AccessControl.unauthorized.Unauthorized: You
are not allowed to access '10.1.1.31' in this contextTraceback (most recent
call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 47, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line
28, in remote_getPingTree
return self.getPingTree(dmd, root, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line
37, in getPingTree
me = self.lookupByIp(dmd, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line
61, in lookupByIp
ip = dmd.Networks.findIp(fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenModel/IpNetwork.py", line 395, in
findIp
return ret[0].getObject()
File
"/usr/local/zenoss/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py", line
86, in getObject
target = parent.restrictedTraverse(path[-1])
File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 245, in
restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=1)
File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 216, in
unrestrictedTraverse
next = guarded_getattr(obj, name, marker)
Unauthorized: You are not allowed to access '10.1.1.31' in this context
2008-11-14 09:47:03 INFO zen.ZenPing: delete pidfile
/usr/local/zenoss/zenoss/var/zenping-localhost.pid
2008-11-14 09:47:03 INFO zen.ZenPing: Daemon ZenPing shutting down
2008-11-14 09:47:03 INFO zen.ZenPing: zenping shutting down
I've first remodeled and finally deleted the device in question, but this has
no effect - second day I keep getting the same error.
This is also reproduced on our test Zenoss install, which is basically
identical to the production one, with the only difference that after deleting
that offending device there, the same error started to point out to another
device, not existing in the device list at this time at all.
I've enabled verbose-security in zope.conf hoping to see more details in
zenping.log, but that had no additional effect (?).
Could anybody offer some help on the matter? Many thanks in advance.
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27655#27655
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users