Discussion:
Force remove zenpacks
thomas
2010-04-08 14:08:36 UTC
Permalink
Hi
 
I have a major problem on my Zenoss install... The problem is that our zenoss install had a very old MySqlmonitor installed which we need to update (was a version 1.1.0), I tried to install a newer version of the zenpack from the source-code (from svn) where I did a search-replace everywhere so the zenpack would be named ZenPacks.myname.MySqlMonitor
 
I did a zenpack --install and this failed misarably. Now I wan't to remove all traces from the different zenpacks that figures in the overview.
 
When I do a zenpack --remove, I get this output:
***@zen:/pack/zenoss/Products$ zenpack --remove ZenPacks.myname.MySqlMonitor
ERROR: zenpack command failed. Reason: AttributeError: 'ZenPack' object has no attribute '__of__'

 
If I stop zenoss, remove the zenpack from the ZenPacks dir and start zenoss again, then it comes up broken when doing zenpack --list, If I then try to remove it I get the same error
 
Now, All that I really want is that I can delete every reference to this zenpack and get a clean slate where I can install the latest MySqlMonitor on, but I can't find a solution to this :-(
 
Also, the error comes when I try to start zenhub, so effectively this has also died :-( I have a backup from last night, but I'd really like to avoid rolling back to this.
 
Any help are greatly appreciated.
 
Regards
Thomas


--------------------------------------------------------------

To post a reply to the thread message, either reply to this email (recommended) or visit the message page: http://community.zenoss.org/message/47585#47585





--end--
thomas
2010-04-09 12:33:42 UTC
Permalink
Now I have tried to:
 
- remove all unnecessary zenpacks
- removed MySQL template from all devices
- ran zenbackup --save-mysql-access
- installed zenoss 2.5.2 from scratch
  - installed all zenpacks installed on previous installations
  - Did a zenrestore from previously taken backup
  - restarted zenoss
 
Everything "seems" to be working fine, except the MySQL template is still broken >:-|
 
If I try and remove it, I get this error:
 
***@zen:~$ zenpack --remove ZenPacks.zenoss.MySqlMonitor
ERROR: zenpack command failed. Reason: AttributeError: 'MySqlMonitorDataSource' object has no attribute '__of__'
 
What the heck is going on? Is there somewhere in the big ZopeDB references to a broken installation of MySQL monitor? And how can I clean this up so I can get it to work as it should?
 
Please HELP!
 
Thomas

--------------------------------------------------------------

To post a reply to the thread message, either reply to this email (recommended) or visit the message page: http://community.zenoss.org/message/47628#47628





--end--

Loading...