Aug 31, 2011 8:53 AM
Remove manually zenpack
-
Like (0)
Hi,
Zenoss 3.0.3
Just installed F5 zenpack and after that installation there are a few daemons like ZenPing that don't start and show error like this
2011-08-31 14:35:28,707 ERROR zen.ZenPing: [Failure instance: Traceback (failure with no frames): <class 'Products.ZenHub.PBDaemon.RemoteException'>: Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner return callable(*args, **kw) File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 116, in remote_execute return runOnce() File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 111, in runOnce res = m(*args, **kw) File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 83, in inner traceback.format_exc()) RemoteException: Remote exception: <type 'exceptions.KeyError'>: 'F5'Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner return callable(*args, **kw) File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 23, in remote_getPingTree return self.getPingTree(self.dmd, root, fallbackIp) File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 41, in getPingTree devices = config.getPingDevices() File "/usr/local/zenoss/zenoss/Products/ZenModel/PerformanceConf.py", line 588, in getPingDevices dev = dev.primaryAq() File "/usr/local/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", line 80, in primaryAq return getObjByPath(app, self.getPrimaryPath()) File "/usr/local/zenoss/zenoss/Products/ZenUtils/Utils.py", line 243, in getObjByPath next = bobo_traverse(REQUEST, name) File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-x86_64.egg/OFS/Application.py", line 148, in __bobo_traverse__ raise KeyError, name KeyError: 'F5'
May be there's an issue with the old F5 Zenpack. Likely the old F5 was removed and some dirty files remain in the system.
Is there any way to remove manually the old zenpack.
Anyway, may be I'm wrong and the issue with Zenping hasn't anything to do with the F5 zenpack.
Any help will be really apreciated.
Thanks in advance.
So the uninstall from the web interface or CLI doesn't work for you?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Uninstall was done through GUI and everything went well, you can't see the zenpack in Settings -> Zenpack and if I go to CLI and run zenpack --list it doesn't show the uninstalled zenpack, but the some Daemons are still shut down with the same KeyError, F5.
I don't suppose you have a backup of your install from before you installed the zenpack? There are some things we can try, but a restore will be quickest (and some of the things might make it worse)...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
You're right, I don't have a backup pre-zenpack.
Try the ZenChkRels from:
docs/DOC-4724#I_have_a_phantom_device_what_do_I_do
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Hi,
That didn't worke either
Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 49, in _next self.iter.next().addBoth(self._finish) StopIteration 2011-09-01 17:25:44,734 DEBUG zen.ZenPing: Queueing event {'severity': 3, 'component': 'zenping', 'agent': 'zenping', 'summary': 'stopped', 'manager': 'madricpd1zos00.tragsa.es', 'device': 'localhost', 'eventClass': '/App/Stop', 'monitor': 'localhost'} 2011-09-01 17:25:44,734 DEBUG zen.ZenPing: Total of 2 queued events 2011-09-01 17:25:44,735 DEBUG zen.ZenPing: Sent a 'stop' event 2011-09-01 17:25:44,781 DEBUG zen.ZenPing: stop() called when not running 2011-09-01 17:25:44,781 INFO zen.ZenPing: Deleting PID file /usr/local/zenoss/zenoss/var/zenping-localhost.pid ... 2011-09-01 17:25:44,781 INFO zen.ZenPing: Daemon ZenPing shutting down 2011-09-01 17:25:44,781 DEBUG zen.ZenPing: Removing service EventService 2011-09-01 17:25:44,782 DEBUG zen.ZenPing: Removing service PingConfig
Thank you.
That looks like it did work, I think. What you're seeing there is a successful zenping run. What exactly did you run to get that?
Thanks,
Chip Holden
Zenoss engineering
I've just gone to the Zenoss console, Advanced Tab-> Daemons and can see that Zenping is stopped.
Tried to start it, it looks fine till but in a few seconds it shuts down as showed in my last post:
Daemon ZenPing shutting down
Thank you.
try going to the command line as the zenoss user and run "zenping run -c -v10". What do you see then?
This is the long output:
2011-09-01 18:31:31,530 INFO zen.ZenPing: started
2011-09-01 18:31:31,537 DEBUG zen.ZenPing: Starting PBDaemon initialization
2011-09-01 18:31:31,538 INFO zen.ZenPing: Connecting to localhost:8789
2011-09-01 18:31:31,538 DEBUG zen.ZenPing: Logging in as admin
2011-09-01 18:31:31,545 INFO zen.ZenPing: Connected to ZenHub
2011-09-01 18:31:31,545 DEBUG zen.ZenPing: Setting up initial services: EventSer vice, PingConfig
2011-09-01 18:31:31,546 DEBUG zen.ZenPing: Chaining getInitialServices with d2
2011-09-01 18:31:31,548 DEBUG zen.ZenPing: Loaded service EventService from zenh ub
2011-09-01 18:31:31,548 DEBUG zen.ZenPing: Loaded service PingConfig from zenhub
2011-09-01 18:31:31,548 DEBUG zen.ZenPing: Queueing event {'severity': 0, 'compo nent': 'zenping', 'agent': 'zenping', 'summary': 'started', 'manager': 'madricpd 1zos00.tragsa.es', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2011-09-01 18:31:31,549 DEBUG zen.ZenPing: Total of 1 queued events
2011-09-01 18:31:31,549 DEBUG zen.ZenPing: Calling connected.
2011-09-01 18:31:31,549 DEBUG zen.ZenPing: Connected, getting config
2011-09-01 18:31:31,549 INFO zen.ZenPing: fetching monitor properties
2011-09-01 18:31:31,634 INFO zen.ZenPing: fetching default RRDCreateCommand
2011-09-01 18:31:31,637 INFO zen.ZenPing: getting threshold classes
2011-09-01 18:31:31,639 DEBUG zen.ZenPing: Loading classes ['Products.ZenModel.M inMaxThreshold', 'ZenPacks.community.deviceAdvDetail.thresholds.StatusThreshold' ]
2011-09-01 18:31:31,641 INFO zen.ZenPing: getting collector thresholds
2011-09-01 18:31:31,654 DEBUG zen.thresholds: Updating threshold ('high event qu eue', ('localhost', ''))
2011-09-01 18:31:31,654 DEBUG zen.thresholds: Updating threshold ('zenmodeler cy cle time', ('localhost', ''))
2011-09-01 18:31:31,654 DEBUG zen.thresholds: Updating threshold ('zenperfsnmp c ycle time', ('localhost', ''))
2011-09-01 18:31:31,655 DEBUG zen.thresholds: Updating threshold ('zenping cycle time', ('localhost', ''))
2011-09-01 18:31:31,655 DEBUG zen.thresholds: Updating threshold ('zenprocess cy cle time', ('localhost', ''))
2011-09-01 18:31:31,657 INFO zen.ZenPing: getting ping tree
2011-09-01 18:31:32,205 ERROR zen.ZenPing: Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 116, in remote_execute
return runOnce()
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 111, in runOnce
res = m(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 83, in inner
traceback.format_exc())
RemoteException: Remote exception: <type 'exceptions.KeyError'>: 'F5'Traceback ( most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 2 3, in remote_getPingTree
return self.getPingTree(self.dmd, root, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 4 1, in getPingTree
devices = config.getPingDevices()
File "/usr/local/zenoss/zenoss/Products/ZenModel/PerformanceConf.py", line 588 , in getPingDevices
dev = dev.primaryAq()
File "/usr/local/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager. py", line 80, in primaryAq
return getObjByPath(app, self.getPrimaryPath())
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Utils.py", line 243, in getOb jByPath
next = bobo_traverse(REQUEST, name)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6- linux-x86_64.egg/OFS/Application.py", line 148, in __bobo_traverse__
raise KeyError, name
KeyError: 'F5'
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py", line 162, in lo adConfig
oldtree, self.pingtree = self.pingtree, driver.next()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in resul t
raise ex
RemoteException: Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 116, in remote_execute
return runOnce()
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 111, in runOnce
res = m(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 83, in inner
traceback.format_exc())
RemoteException: Remote exception: <type 'exceptions.KeyError'>: 'F5'Traceback ( most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 2 3, in remote_getPingTree
return self.getPingTree(self.dmd, root, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 4 1, in getPingTree
devices = config.getPingDevices()
File "/usr/local/zenoss/zenoss/Products/ZenModel/PerformanceConf.py", line 588 , in getPingDevices
dev = dev.primaryAq()
File "/usr/local/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager. py", line 80, in primaryAq
return getObjByPath(app, self.getPrimaryPath())
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Utils.py", line 243, in getOb jByPath
next = bobo_traverse(REQUEST, name)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6- linux-x86_64.egg/OFS/Application.py", line 148, in __bobo_traverse__
raise KeyError, name
KeyError: 'F5'
2011-09-01 18:31:32,206 ERROR zen.ZenPing: [Failure instance: Traceback (failure with no frames): <class 'Products.ZenHub.PBDaemon.RemoteException'>: Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 116, in remote_execute
return runOnce()
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 111, in runOnce
res = m(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 83, in inner
traceback.format_exc())
RemoteException: Remote exception: <type 'exceptions.KeyError'>: 'F5'Traceback ( most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 2 3, in remote_getPingTree
return self.getPingTree(self.dmd, root, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 4 1, in getPingTree
devices = config.getPingDevices()
File "/usr/local/zenoss/zenoss/Products/ZenModel/PerformanceConf.py", line 588 , in getPingDevices
dev = dev.primaryAq()
File "/usr/local/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager. py", line 80, in primaryAq
return getObjByPath(app, self.getPrimaryPath())
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Utils.py", line 243, in getOb jByPath
next = bobo_traverse(REQUEST, name)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6- linux-x86_64.egg/OFS/Application.py", line 148, in __bobo_traverse__
raise KeyError, name
KeyError: 'F5'
]
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 49, in _next
self.iter.next().addBoth(self._finish)
StopIteration
2011-09-01 18:31:32,206 DEBUG zen.ZenPing: Queueing event {'severity': 3, 'compo nent': 'zenping', 'agent': 'zenping', 'summary': 'stopped', 'manager': 'madricpd 1zos00.tragsa.es', 'device': 'localhost', 'eventClass': '/App/Stop', 'monitor': 'localhost'}
2011-09-01 18:31:32,206 DEBUG zen.ZenPing: Total of 1 queued events
2011-09-01 18:31:32,207 DEBUG zen.ZenPing: Sent a 'stop' event
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: Products.ZenHub.PBDaemon.RemoteException: Traceback (most recent call l ast):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 116, in remote_execute
return runOnce()
File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 111, in runOnce
res = m(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 83, in inner
traceback.format_exc())
RemoteException: Remote exception: <type 'exceptions.KeyError'>: 'F5'Traceback ( most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 2 3, in remote_getPingTree
return self.getPingTree(self.dmd, root, fallbackIp)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 4 1, in getPingTree
devices = config.getPingDevices()
File "/usr/local/zenoss/zenoss/Products/ZenModel/PerformanceConf.py", line 588 , in getPingDevices
dev = dev.primaryAq()
File "/usr/local/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager. py", line 80, in primaryAq
return getObjByPath(app, self.getPrimaryPath())
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Utils.py", line 243, in getOb jByPath
next = bobo_traverse(REQUEST, name)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6- linux-x86_64.egg/OFS/Application.py", line 148, in __bobo_traverse__
raise KeyError, name
KeyError: 'F5'
Any further suggestion to solve this problem?.
Thank you.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||