TECHZEN Zenoss User Community ARCHIVE  

zenup incomplete

Subject: zenup incomplete
Author: [Not Specified]
Posted: 2014-11-26 09:40

Hi ... anyone know what's going on with this and how to maybe resolve it,

zenup output,
Install Steps:
1) Non-Destructive Pre-Install Steps:
[c] A) Some general sanity checks (check/sanity_checks)
[c] B) Check database permissions (check/database_perms)
[c] C) Check to see if mibs needs to be updated (check/check_mibs)
[c] D) Check to see if zenmigrate will need to run (check/check_migrate)
[c] E) Check for edge case of new files added after an RPM upgrade (check/check_new_files)
[c] F) Check to see that the patch utility exists (check/check_patch_exists)
[c] G) Check to see if zenpacks need to be updated (check/check_zenpack_updates)
2) Staging Steps:
[c] A) Set variables & stage things for consumption by the post lifecycle scripts (pre/pre)
3) File Patching:
[c] A) Lay down changes (File Patching)
4) Post-Install Steps:
[c] A) Sanity checks (post/sanity)
[c] B) Apply patches that need to be outside the normal ZenUp patching process (post/patch_post_install_files)
[c] C) Install binaries into webapps (post/install_changed_custom_blobs webapps)
[c] D) Remove binary files that are no longer needed (post/custom_file_remover)
[c] E) Install binaries into protocols (post/install_changed_custom_blobs lib/python/zenoss/protocols)
[c] F) If necessary, install recompiled javascript bundle (post/install_rebuilt_js)
[c] G) Install external depended-upon eggs (post/external_eggs)
[c] H) Update zenpacks (post/update_zenpacks $ZENPACK_UPDATE_LIST)
[c] I) If necessary, rebuild new javascript (post/build_javascript)
[i] J) Run zenmigrate (post/run_migrates 4.2.5)
[ ] K) If necessary, run zenmib (post/install_mibs)
[ ] L) Wrap-up text to console (post/finish)
(c = complete, i = incomplete)
NOTE: Pre-install & staging steps (1 + 2) are executed on every install attempt

In-progress update detected - will replay pre-install & staging steps, then pick up at the last previously attempted step (post/run_migrates 4.2.5). Press ENTER to continue or to quit
No changes have been applied to your system
Error while running command install
Traceback (most recent call last):
File "/opt/zenup/python/zenup/zenupcli.py", line 51, in __init__
run()
File "/opt/zenup/python/zenup/zenupcli.py", line 449, in _install
force=self.args.force)
File "/opt/zenup/python/zenup/zenupapi.py", line 300, in install
product.config.upgrading)
TypeError: not all arguments converted during string formatting

log,
2014-11-26 10:28:13,909 DEBUG : Loading products from config
2014-11-26 10:28:15,011 DEBUG : Phase check loaded: ['check/sanity_checks', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates']
2014-11-26 10:28:15,011 DEBUG : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish']
2014-11-26 10:28:15,011 DEBUG : Phase pre loaded: ['pre/pre']
2014-11-26 10:28:33,385 DEBUG : Phase check loaded: ['check/sanity_checks', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates']
2014-11-26 10:28:33,385 DEBUG : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish']
2014-11-26 10:28:33,385 DEBUG : Phase pre loaded: ['pre/pre']
2014-11-26 10:28:33,385 ERROR : Error testing zup: ../zenoss_core-4.2.5-SP203-zenup11.zup
Traceback (most recent call last):
File "/opt/zenup/python/zenup/zenupapi.py", line 300, in install
product.config.upgrading)
TypeError: not all arguments converted during string formatting



Subject: Are you running the latest
Author: Brad
Posted: 2014-11-26 15:36

Are you running the latest zenup 1.1



Subject: referring to the version of the zenup utility itself..
Author: [Not Specified]
Posted: 2014-11-27 10:39

rpm -qa|grep zenup

zenup-1.1.0.267.869d67a-1.el6.x86_64
^^^^^^^^^^^^^



Subject: zenup-1.1.0.267.869d67a-1.el5
Author: [Not Specified]
Posted: 2014-11-28 07:22

this is what is installed,
zenup-1.1.0.267.869d67a-1.el5



Subject: I am past that version. And
Author: Brad
Posted: 2014-12-02 14:37

I am past that version. And if I recall I had to init the latest pristine as well. There is a newer version not on the Wiki that I have been running without issues:

http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.5/upd...

I would grab that and the pristine.



Subject: How would I revert back to
Author: [Not Specified]
Posted: 2014-12-03 07:42

How would I revert back to the pristine and try the new upgrade



Subject: backup $ZENHOME, copy the
Author: Andrew Kirch
Posted: 2014-12-08 16:03

backup $ZENHOME, copy the pristine over $ZENHOME and run again

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: $ zenup init zenoss_core-4.2
Author: [Not Specified]
Posted: 2014-12-09 13:15

This is what I tried and received,

$ zenup init zenoss_core-4.2.5-2108.el5-pristine-SP246.tgz /opt/zenoss
Product id already in use: zenoss-core-4.2.5



Subject: deleted the previous prsitine init
Author: [Not Specified]
Posted: 2014-12-09 13:58

Tried the new pristine and then the updated and received this,

Calculating local diff
File patching not completed yet, merging local diffs
Checking patch conflicts
patching file Products/DataCollector/plugins/zenoss/cmd/linux/ifconfig.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/DataCollector/plugins/zenoss/snmp/InterfaceMap.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/Jobber/jobs.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenCollector/daemon.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenCollector/scheduler.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenCollector/tasks.py
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/EventClassInst.py
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 123.
Hunk #4 FAILED at 146.
Hunk #5 succeeded at 197 with fuzz 2 (offset 8 lines).
4 out of 5 hunks FAILED -- saving rejects to file DEBUG
patching file Products/ZenEvents/SyslogProcessing.py
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/browser/EventPillsAndSummaries.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/events2/processing.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/tests/testEventMigrate.py
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/tests/testSyslogProcessing.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/zenactiond.py
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/zensyslog.py
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenEvents/zentrap.py
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/PBDaemon.py
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/configure.zcml
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/interfaces.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/services/DiscoverService.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/services/EventService.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/services/PerformanceConfig.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenHub/zenhub.py
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/BatchDeviceLoader.py
Reversed (or previously applied) patch detected! Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/Device.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/DeviceResultInt.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/OSProcess.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/UserInterfaceSettings.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/actions.py
Reversed (or previously applied) patch detected! Skipping patch.
10 out of 10 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/data/devices.xml
Reversed (or previously applied) patch detected! Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenModel/skins/zenmodel/zenrrdzoom.js
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenRRD/RenderServer.py
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenRRD/parsers/ps.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenRRD/zenprocess.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenRelations/ZenPropertyManager.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenRelations/zPropertyCategory.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenStatus/ping/CmdPingTask.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenStatus/zenping.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/command.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/eventconsole/console-new.pt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/eventconsole/export.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/eventconsole/grid.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/eventconsole/view-events.pt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/css/zenoss.css
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/Action.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/BaseGrid.js
Hunk #1 succeeded at 162 (offset 53 lines).
Hunk #2 FAILED at 226.
Hunk #3 FAILED at 251.
Hunk #4 FAILED at 271.
Hunk #5 FAILED at 303.
Hunk #6 FAILED at 323.
Hunk #7 FAILED at 350.
Hunk #8 FAILED at 370.
Hunk #9 succeeded at 416 with fuzz 2 (offset 28 lines).
Hunk #10 FAILED at 550.
Hunk #11 FAILED at 622.
Hunk #12 FAILED at 727.
Hunk #13 FAILED at 767.
Hunk #14 FAILED at 782.
Hunk #15 FAILED at 823.
Hunk #16 FAILED at 918.
Hunk #17 FAILED at 960.
Hunk #18 FAILED at 978.
Hunk #19 FAILED at 1015.
Hunk #20 FAILED at 1046.
18 out of 20 hunks FAILED -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/ComponentDialogs.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/ComponentPanel.js
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/DevicePanels.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/EvConsole.js
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/EvHistory.js
Reversed (or previously applied) patch detected! Skipping patch.
10 out of 10 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/EventPanels.js
Reversed (or previously applied) patch detected! Skipping patch.
12 out of 12 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/ExtOverrides.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/HierarchyTreePanel.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/Reports.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/devdetail.js
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/eventDetail.js
Hunk #2 FAILED at 483.
1 out of 2 hunks FAILED -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/flares.js
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/form/graphPanel.js
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/itinfrastructure.js
Reversed (or previously applied) patch detected! Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/joblist.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/process.js
Reversed (or previously applied) patch detected! Skipping patch.
11 out of 11 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/resources/js/zenoss/zenoss.js
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/stats/configure.zcml
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/stats/stats.py
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 54.
2 out of 2 hunks FAILED -- saving rejects to file DEBUG
patching file Products/ZenUI3/browser/templates/base-new.pt
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/ProcessQueue.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/Security.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/Utils.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/ZenBackup.py
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/ZenRestore.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/ZenTales.py
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/extdirect/router.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/patches/pasmonkey.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenUtils/zencatalog.py
Reversed (or previously applied) patch detected! Skipping patch.
20 out of 20 hunks ignored -- saving rejects to file DEBUG
patching file Products/ZenWidgets/__init__.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/ZenWidgets/browser/quickstart/views.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/decorators.py
Hunk #1 succeeded at 15 with fuzz 2.
Hunk #2 FAILED at 109.
Hunk #3 FAILED at 123.
2 out of 3 hunks FAILED -- saving rejects to file DEBUG
patching file Products/Zuul/facades/__init__.py
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/facades/jobsfacade.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/Zuul/facades/templatefacade.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/facades/triggersfacade.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG
patching file Products/Zuul/facades/zepfacade.py
Reversed (or previously applied) patch detected! Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/infos/__init__.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/infos/event.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/interfaces/component.py
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/routers/__init__.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/routers/device.py
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/routers/zep.py
Reversed (or previously applied) patch detected! Skipping patch.
19 out of 19 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/tree.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file DEBUG
patching file Products/Zuul/utils.py
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file DEBUG



Subject: if you have a half applied
Author: Andrew Kirch
Posted: 2014-12-09 15:39

if you have a half applied patch you need to copy the pristine over $ZENHOME and reinitialize Zenup

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: bump
Author: [Not Specified]
Posted: 2014-12-16 09:00

bump



Subject: Well what I have done in the
Author: Brad
Posted: 2014-12-22 14:00

Well what I have done in the past, and not sure this is the complete correct way, was to wipe out the /opt/zenup directory. Then I re-installed the latest Zenoss RPM. After that I re-inialized with the latest pristine, and applied the zup.



Subject: you can literally copy (cp)
Author: Andrew Kirch
Posted: 2014-12-23 09:13

you can literally copy (cp) the contents of the tarball over $ZENHOME to fix a broken zenup, but you'll have to re-run zenup at that point.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: update
Author: [Not Specified]
Posted: 2014-12-30 09:29

I copied the tarball over the existing installed and applied the update successfully ...

Here are some of the things I ran into,

- When running "zenup diff" I received many things like,
****************************************
Index: bin/zeneventserver-config
===============================================================================
--- bin/zeneventserver-config (pristine)
+++ bin/zeneventserver-config (installed)
@@ -1,4 +1,4 @@
-#!/opt/zenoss/bin/python
+#!/usr/bin/env python

import optparse
import os
****************************************

- Had to reinstall some zenpacks because the copy reverted some back and previously updated ones became imcompatible.

And now ran the following after doing the above steps,

1. zodbscan -v10
No issues found

2. zenrelationscan -v10
..
2014-12-30 09:23:39,251 ERROR zenrelationscan: jobs
Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/zenoss.toolbox-0.5.1-py2.7.egg/zenoss/toolbox/zenrelationscan.py", line 171, in scan_relationships
object.checkRelations(repair=attempt_fix)
File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 256, in checkRelations
for rel in self.getRelationships():
File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 245, in getRelationships
return self.objectValues(spec=RELMETATYPES)
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 430, in objectValues
return [ self._getOb(id) for id in self.objectIds(spec) ]
File "/opt/zenoss/lib/python/OFS/CopySupport.py", line 88, in _getOb
raise AttributeError(id)
AttributeError: jobs
2014-12-30 09:23:39,304 ERROR zenrelationscan: jobs
Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/zenoss.toolbox-0.5.1-py2.7.egg/zenoss/toolbox/zenrelationscan.py", line 160, in scan_relationships
object = relationships_to_check.next()
File "/opt/zenoss/Products/ZenUtils/Utils.py", line 509, in getSubObjectsMemo
for x in getSubObjectsMemo(obj, filter, descend, memo):
File "/opt/zenoss/Products/ZenUtils/Utils.py", line 501, in getSubObjectsMemo
objs = base.objectValues()
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 430, in objectValues
return [ self._getOb(id) for id in self.objectIds(spec) ]
File "/opt/zenoss/lib/python/OFS/CopySupport.py", line 88, in _getOb
raise AttributeError(id)
AttributeError: jobs
2014-12-30 09:23:39,336 INFO zenrelationscan: zenrelationscan completed in 781.83 seconds
2014-12-30 09:23:39,337 INFO zenrelationscan: ############################################################

3. findposkeyerror -v10
2014-12-30 10:17:26,827 INFO findposkeyerror: Initializing findposkeyerror
2014-12-30 10:17:26,827 INFO findposkeyerror: Command line options: {'debug': True, 'path': '/', 'fix': False, 'unlimitedram': False}
2014-12-30 10:17:26,828 DEBUG findposkeyerror: Acquired 'zenoss.toolbox' execution lock
2014-12-30 10:17:31,401 DEBUG findposkeyerror: ZenScriptBase connection obtained
2014-12-30 10:17:31,480 INFO findposkeyerror: Examining items under the '/' path ()
2014-12-30 10:17:33,215 WARNING findposkeyerror: AttributeError: jobs on relationship 'jobs' of /zport/dmd/JobManager
2014-12-30 10:26:16,247 INFO findposkeyerror: findposkeyerror completed in 529.69 seconds
2014-12-30 10:26:16,248 INFO findposkeyerror: ############################################################

My question is ... Do other people get this and is it normal. And does someone have a fix other than reinstalling it

Thanks.



Subject: [1/29/15, 6:52:54 PM] Ryan
Author: [Not Specified]
Posted: 2015-01-30 12:24

[1/29/15, 6:52:54 PM] Ryan Matte: Fixing that jobs thing is usually just a matter of...
[1/29/15, 6:52:55 PM] Ryan Matte: dmd.JobManager.getCatalog()
dmd.JobManager.objectIds()

# you should see output like: ['jobs', 'job_catalog']

dmd.JobManager._objects = tuple([o for o in dmd.JobManager._objects if o['id'] !='jobs'])
commit()
dmd.JobManager.objectIds()

# you should see output like: ['job_catalog']



Subject: resolved ... thanks
Author: [Not Specified]
Posted: 2015-01-30 13:27

resolved ... thanks



Subject: RE: resolved ... thanks
Author: Roger Li
Posted: 2017-09-06 10:13

Hello,

May I know how did you resolve this?
I have the same issue as well.

Thank you.

Regards,
Roger

------------------------------
Roger Li
Engineer
TrendMicro
------------------------------


< Previous
cpu / load / disk monitoring, improved Linux ZenPack install on
  Next
Zenoss GUI trying to use older version of Zenpack
>