Discussion:
Failed stack upgrade to 3.2.1
giandee
2012-01-04 02:59:15 UTC
Permalink
giandee [http://community.zenoss.org/people/giandee] created the discussion

"Failed stack upgrade to 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/63517#63517

--------------------------------------------------------------
Hey guys,

I was upgrading from 3.1.0 to 3.2.1 on CentOS 5.7 using the stack installer.  Previous to running this upgrade i removed the preupgrade zenpack. The upgrade script dumped the following errors:

INFO:zen.migrate:Finished total time=444.14 rate=127.44 count=56601
INFO:zen.migrate:Installing ToManyPersistentList (3.1.1)
INFO:zen.migrate:Installing eventfacadeUsingCatalog (3.1.1)
INFO:zen.migrate:Reindexing components.  This may take a while ...
INFO:zen.migrate:indexed 1 components
WARNING:zen.migrate:Recovering
Traceback (most recent call last):
  File "/data/local/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line
21, in <module>
    main()
  File "/data/local/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line
18, in main
    m.main()
  File "/data/local/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line
423, in main
    self.cutover()
  File "/data/local/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line
310, in cutover
    self.migrate()
  File "/data/local/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line
286, in migrate
    m.cutover(self.dmd)
  File
"/data/local/zenoss/zenoss/Products/ZenModel/migrate/eventfacadeUsingCatalog.py",
line 44, in cutover
    comp = brain.getObject()
  File
"/data/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-x
86_64.egg/Products/ZCatalog/CatalogBrains.py", line 83, in getObject
    parent = parent.unrestrictedTraverse(path[:-1])
  File
"/data/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-x
86_64.egg/OFS/Traversable.py", line 293, in unrestrictedTraverse
    raise e
KeyError: 'memorymodules'

After continuing i am unable to load the events page.  Therefore i rolled back to 3.1.0.


Here is a list of the zenpacks i have installed.  The only non-zenoss one is the HP mib pack.
ZenPacks.community.mib_utils (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.community.mib_utils-1.08-py2.4.egg)
ZenPacks.zenoss.ApacheMonitor (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.0-py2.4.egg)
ZenPacks.zenoss.DnsMonitor (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.DnsMonitor-2.0.1-py2.4.egg)
ZenPacks.zenoss.HttpMonitor (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.1-py2.4.egg)
ZenPacks.zenoss.LDAPMonitor (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.LDAPMonitor-1.2.2-py2.4.egg)
ZenPacks.zenoss.LinuxMonitor (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-1.1.0-py2.4.egg)
ZenPacks.zenoss.ZenossVirtualHostMonitor (/data/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor-2.3.0-py2.4.egg)


Could that mib pack be causing the memorymodules fault?  Should i install the rest of the HP modules before attempting the upgrade again?

Thanks for your help!

giandee
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63517#63517]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
giandee
2012-01-04 03:46:52 UTC
Permalink
giandee [http://community.zenoss.org/people/giandee] created the discussion

"Re: Failed stack upgrade to 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/63519#63519

--------------------------------------------------------------
I was able to get rid of the mib utils zenpack by deleting it from the zendmd cli. 
dmd.ZenPackManager.packs._delObject('ZenPacks.community.mib_utils')
commit()
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63519#63519]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...