Discussion:
Zenoss Upgrade 4.2.0 => 4.2.4
Mouhammed Soueidane
2013-10-14 17:34:56 UTC
Permalink
Mouhammed Soueidane [http://community.zenoss.org/people/raziology] created the discussion

"Zenoss Upgrade 4.2.0 => 4.2.4"

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

--------------------------------------------------------------
Hi everyone,
I just attempted an upgrade from Zenoss core 4.2.0 to version 4.2.4. The installation did not go without any problems however:

1- After attempting to start the Zenoss service for the first time after the upgrade, I got the following error:


+Traceback (most recent call last):+
+  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 247, in InstallEggAndZenPack+
+    fromUI=fromUI)+
+  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 477, 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 436, in transactional_actions+
+    zenPack.install(dmd)+
+  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.8-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 106, 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/Devices/Server/Windows/WMI+
+  * module: Products.ZenModel.DeviceClass+
+  * class: DeviceClass+


+2013-10-14 13:12:37,363 ERROR zen.ZenPackCmd: zenpack command failed+
+Traceback (most recent call last):+
+  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, 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 263, in InstallEggAndZenPack+
+    raise e+
+Exception: Unable to create object using the following attributes:+
+  * id: /zport/dmd/Devices/Server/Windows/WMI+
+  * module: Products.ZenModel.DeviceClass+
+  * class: DeviceClass+

I have added the /Server/Windows/WMI class, but this left me with another problem suggesting that some ZenPacks are invalid. So I ended up deleting the contents of the /opt/zenoss/var/zenpack_actions.txt file which fixed the problem.

Now, when I start my Zenoss service, I get the following:
Daemon: zenwinperf /opt/zenoss/bin/zenoss: line 115: /opt/zenoss/bin/zenwinperf: No such file or directory
Daemon: zeneventlog /opt/zenoss/bin/zenoss: line 115: /opt/zenoss/bin/zeneventlog: No such file or directory
Daemon: zenwin /opt/zenoss/bin/zenoss: line 115: /opt/zenoss/bin/zenwin: No such file or directory

I'm assuming that this is mainly 'cause I have deliberately omitted the zenpacks as mentioned above. Now I'm sure that I don't need zenwinperf nor zenwin, but shouldn't I worry about zeneventlog?

2- Now that the Zenoss service has started, I saw the following in my event console:
1- For some of  the devices, I got errors with component=zenmodeler, EventClass=/Cmd/Fail and the summary=User timeout caused connection failure.
2- For some other devices, I got  errors with component=zencommand, EventClass=/Cmd/Fail and the summary = zCommandUsername is not set so SSH-based commands will not run

I have noticed that the count for these errors is not incrementing. So the question is, should I worry about them?


Thanks in advance for the help.
--------------------------------------------------------------

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

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