Discussion:
Update to 4.2.3 from 4.2SP1?
ashleigh Charlesworth
2013-01-10 10:53:22 UTC
Permalink
ashleigh Charlesworth [http://community.zenoss.org/people/charlas] created the discussion

"Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
Anyone got a decent method for updating to 4.2.3 from 4.2SP1?

The RPM installer is expecting a clean environment, and I'd rather just upgrade to be honest, got to be a way to do it.

Any ideas?

Cheers

Ashleigh
--------------------------------------------------------------

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

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]
jmp242
2013-01-10 14:44:00 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
ZCA initial testing shows you can do this:
https://zcaportal.org/wiki/bin/view/ZCA/ZCAFAQCore4#How_do_I_upgrade_from_Core_4.2_to_4.2.3_63 https://zcaportal.org/wiki/bin/view/ZCA/ZCAFAQCore4#How_do_I_upgrade_from_Core_4.2_to_4.2.3_63

--
James Pulver
LEPP Computer Group
Cornell University
--------------------------------------------------------------

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

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]
stwainer
2013-01-10 16:58:13 UTC
Permalink
stwainer [http://community.zenoss.org/people/stwainer] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
Hi James,

Following the steps at the ZCA Wiki and I'm getting errors after:

yum -y localinstall --enablerepo=epel zenoss_core-4.2.3.el6.x86_64.rpm

I get a bunch of missing dependency issues such as:

error:  Missing Dependency: liberation-sans-fonts is needed by package zenoss-4.2.3-1695.el6.x86_64 (/zenoss_core-4.2.3.el6.x86_64)
Error: Missing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) is needed by package zenoss-4.2.3-1695.el6.x86_64 (/zenoss_core-4.2.3.el6.x86_64)
Error: Missing Dependency: libstdc++.so.6(GLIBCXX_3.4.10)(64bit) is needed by package zenoss-4.2.3-1695.el6.x86_64 (/zenoss_core-4.2.3.el6.x86_64)

I know I have liberation-fonts installed. I'm a bit confused.

Thanks

steve
--------------------------------------------------------------

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

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]
Johnathan Bravo
2013-01-11 14:31:31 UTC
Permalink
Johnathan Bravo [http://community.zenoss.org/people/MRJB] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
I followed the steps in the wiki post and received an error about apache zenpack existing.
running Zenoss 4.2. sp1 on cent 6.3

I ran the instructions as root. Then su - zenoss to restart zenoss. That's when I got the error.
So I rebooted and only zenevent daemon came up. Then as root

+service zenoss start+

and a bunch of upgrade scripts ran and all the daemons started except zenjmx . Recieved the following error for zenjmx

+/opt/zenoss/bin/python: can't open file '/opt/zenoss/zenjmx.py': [Errno 2] No such file or directory+

so did a find and located zenjmx.py and then created a symbolic link to it in /opt/zenoss

+ln -s ./ZenPacks/ZenPacks.zenoss.ZenJMX-3.9.3-py2.7.egg/ZenPacks/zenoss/ZenJMX/zenjmx.py zenjmx.py+

Seems after that everything is going ok so far.

I'm just wondering where I can change the actual reference to zenjmx.py in zendaemon so I don;t have to rely on the hacked link.

Any assistance is appreciated and much thanks to James for the wiki article.

MrJohnathanBravo
--------------------------------------------------------------

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

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]
stwainer
2013-01-11 21:21:23 UTC
Permalink
stwainer [http://community.zenoss.org/people/stwainer] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
Found the resolution to my problem above.

Intead of:

wget http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.3/zenoss_core-4.2.3.el6.x86_64.rpm/download http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.3/zenoss_core-4.2.3.el6.x86_64.rpm/download
yum -y localinstall --enablerepo=epel zenoss_core-4.2.3.el6.x86_64.rpm

I needed:

wget http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.3/zenoss_core-4.2.3.el5.x86_64.rpm/download http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.3/zenoss_core-4.2.3.el5.x86_64.rpm/download
yum -y  --nogpgcheck --enablerepo=epel localinstall zenoss_core-4.2.3.el5.x86_64.rpm

Because I'm on CentOS 5 not Centos 6.

Sometimes it's the simple things.
--------------------------------------------------------------

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

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]
jshardlow
2013-01-15 13:08:25 UTC
Permalink
jshardlow [http://community.zenoss.org/people/jshardlow] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
I'm just upgrading a test box from 4.2 SP1 to 4.2.3. Hit a gotacha with the fact you need a later version of RabbitMQ, but with a small pointer from http://community.zenoss.org/thread/19002?tstart=0 http://community.zenoss.org/thread/19002?tstart=0 got that sorted OK.

My main problem is it (sort-of) bombing out due to the Windows Monitor ZenPack. I'm not too bothered as I don't use it, but given it was part of the core ZenPack then I'd expect it to survive the upgrade!

2013-01-15 12:52:56,714 ERROR zen.ZenPackCMD: Error installing ZenPack /opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
    fromUI=fromUI)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
    zenPack, deferFileDeletion, existing = transactional_actions()
  File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
    r = f(*args, **kwargs)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional_actions
    zenPack.install(dmd)
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.2-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/__init__.py", line 82, in install
    ZenPackBase.install(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
    loader.load(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
    importer.loadObjectFromXML(xmlfile=f)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML
    parser.parse(self.infile)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 161, in startElement
    'attributes:\n%s' % formattedAttrs)
Exception: Unable to create object using the following attributes:
  * id: /zport/dmd/Events/Cmd/Fail/WinExe
  * module: Products.ZenEvents.EventClass
  * class: EventClass

2013-01-15 12:52:56,721 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
    fromUI=self.options.fromui)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
    raise e
Exception: Unable to create object using the following attributes:
  * id: /zport/dmd/Events/Cmd/Fail/WinExe
  * module: Products.ZenEvents.EventClass
  * class: EventClass

There was an error during the ZenPack operation: Command 'zenpack  --install /opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg' returned non-zero exit status 3
Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.

Upgrade install post step
Zenoss upgrade complete.


In fact it complained about all the Microsoft based stuff!

+/opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg
+/opt/zenoss/packs/ZenPacks.zenoss.ActiveDirectory-2.1.0-py2.7.egg
+/opt/zenoss/packs/ZenPacks.zenoss.IISMonitor-2.0.2-py2.7.egg
+/opt/zenoss/packs/ZenPacks.zenoss.MSExchange-2.0.4-py2.7.egg
+/opt/zenoss/packs/ZenPacks.zenoss.MSMQMonitor-1.2.1-py2.7.egg
+/opt/zenoss/packs/ZenPacks.zenoss.MSSQLServer-2.0.3-py2.7.egg


Not sure if it's trying to tell me something... :)
--------------------------------------------------------------

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

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]
Philip Warren
2013-01-15 14:00:46 UTC
Permalink
Philip Warren [http://community.zenoss.org/people/pwarren] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
From the error message posted, it sounds like the /Cmd/Fail event class doesn't exist in the database. Can you try running the following from zendmd to add it and then retry the ZenPack installation?
dmd.Events.manage_addOrganizer('/Cmd/Fail')
commit()
-- Philip
--------------------------------------------------------------

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

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]
jshardlow
2013-01-15 14:31:08 UTC
Permalink
jshardlow [http://community.zenoss.org/people/jshardlow] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
Thanks, I should have paid a bit more attention to the error message!

I forced on a reinstall of the Zenoss package, it re-ran the migration steps and this time re-installed all the MS ZenPacks. It seems to have started OK. I'll need to have look round to check.
--------------------------------------------------------------

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

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]
jeronimo
2013-01-15 21:57:13 UTC
Permalink
jeronimo [http://community.zenoss.org/people/jeronimo] created the discussion

"Re: Update to 4.2.3 from 4.2SP1?"

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

--------------------------------------------------------------
This was briefly mentioned by http://community.zenoss.org/people/MRJB Johnathan Bravo, but I found it was *crucial* for my upgrade that I (as root) run "service zenoss start".  When I tried just "zenoss start" (as the zenoss user) I got a big bunch of fail: http://pastebin.com/raw.php?i=x6w1RqUC http://pastebin.com/raw.php?i=x6w1RqUC

But "service zenoss start" finished the upgrade:
http://pastebin.com/raw.php?i=ryC61ve4 http://pastebin.com/raw.php?i=ryC61ve4

That really should be in the instructions.

The jmx problem mentioned above is because the upgrade apparently blows away daemons installed by user-installed zenpacks.  Rmatte entered a bug for it:  http://jira.zenoss.com/jira/browse/ZEN-4949 http://jira.zenoss.com/jira/browse/ZEN-4949

For me, it was zenperfsql from SQL Data Source.  I had to just re-install SQL Data Source over the top of the old one to fix it.
--------------------------------------------------------------

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

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...