Fabrizio Quaranta
2013-01-29 08:18:22 UTC
Fabrizio Quaranta [http://community.zenoss.org/people/forthy] created the discussion
"installing ZenPack ZenPacks.zenoss.XenMonitor failed"
To view the discussion, visit: http://community.zenoss.org/message/71244#71244
--------------------------------------------------------------
I installed Zenoss 4.2.3
I need to install then XenMonitor zenpack but I get the following error:
2013-01-29T09:14:13 INFO zen.ZenPackManager Output from installing ZenPack ZenPacks.zenoss.XenMonitor-1.1.0-py2.7.egg:
2013-01-29 09:14:12,861 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.XenMonitor-1.1.0-py.egg/ZenPacks/zenoss/XenMonitor/objects/objects.xml
2013-01-29 09:14:12,866 WARNING zen.AddToPack: Unable to find context path /zport/dmd/Devices/Server/Virtual Machine Host (line 4 ?) for Xen
2013-01-29 09:14:12,866 WARNING zen.AddToPack: Not committing any changes
2013-01-29 09:14:12,867 ERROR zen.ZenPackCMD: Error installing ZenPack /tmp/tmpRugucZ/ZenPacks.zenoss.XenMonitor-1.1.0-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/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/Devices/Server/Virtual Machine Host/Xen
 * module: Products.ZenModel.DeviceClass
 * class: DeviceClass
2013-01-29 09:14:12,884 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/Devices/Server/Virtual Machine Host/Xen
 * module: Products.ZenModel.DeviceClass
 * class: DeviceClass
Coluld you help me?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71244#71244]
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]
"installing ZenPack ZenPacks.zenoss.XenMonitor failed"
To view the discussion, visit: http://community.zenoss.org/message/71244#71244
--------------------------------------------------------------
I installed Zenoss 4.2.3
I need to install then XenMonitor zenpack but I get the following error:
2013-01-29T09:14:13 INFO zen.ZenPackManager Output from installing ZenPack ZenPacks.zenoss.XenMonitor-1.1.0-py2.7.egg:
2013-01-29 09:14:12,861 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.XenMonitor-1.1.0-py.egg/ZenPacks/zenoss/XenMonitor/objects/objects.xml
2013-01-29 09:14:12,866 WARNING zen.AddToPack: Unable to find context path /zport/dmd/Devices/Server/Virtual Machine Host (line 4 ?) for Xen
2013-01-29 09:14:12,866 WARNING zen.AddToPack: Not committing any changes
2013-01-29 09:14:12,867 ERROR zen.ZenPackCMD: Error installing ZenPack /tmp/tmpRugucZ/ZenPacks.zenoss.XenMonitor-1.1.0-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/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/Devices/Server/Virtual Machine Host/Xen
 * module: Products.ZenModel.DeviceClass
 * class: DeviceClass
2013-01-29 09:14:12,884 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/Devices/Server/Virtual Machine Host/Xen
 * module: Products.ZenModel.DeviceClass
 * class: DeviceClass
Coluld you help me?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71244#71244]
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]