Ticket #3649 (closed defect: Fixed)

Opened 4 months ago

Last modified 4 months ago

Stack traces in other ZenPack migrates when ZenJMX ZenPack is present

Reported by: cholden Owned by: jstevens
Priority: 2 - High Milestone: zenoss-2.3
Component: ZenPack Version: 2.2.3
Keywords: zenoss-2.2.4-verified Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description (last modified by bbibeault) (diff)

INFO:zen.HookReportLoader:loading reports from:/opt/zenoss/ZenPacks/ZenPacks.zenoss.CiscoUCMMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/CiscoUCMMonitor/reports
Traceback (most recent call last):

File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 386, in ?

zp.run()

File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 128, in run

filesOnly=False)

File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 229, in InstallEggAndZenPack

zenPacks.append(InstallDistAsZenPack(dmd, d, filesOnly=filesOnly))

File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 357, in InstallDistAsZenPack

zenPack.install(dmd)

File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 187, in install

self.migrate()

File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 249, in migrate

instance.migrate(self)

File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 106, in migrate

for ds in template.datasources():

File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 67, in call

return [ob.of(self) for ob in self._objects.values()]

AttributeError: 'JMXDataSource' object has no attribute 'of'

Change History

Changed 4 months ago by bbibeault

  • keywords zenoss-2.2.4-accepted added
  • priority changed from medium to high
  • description modified (diff)
  • milestone set to zenoss-2.3

Changed 4 months ago by cholden

  • status changed from new to closed
  • resolution set to fixed

Fixed by [10053]. ZenJMX migrate script did not run because of improper version number. This would cause other migrate scripts with datasource conversions to fail.

Changed 4 months ago by cholden

  • keywords zenoss-2.2.4-patched added; zenoss-2.2.4-accepted removed

Changed 4 months ago by cholden

  • keywords zenoss-2.2.4-verified added; zenoss-2.2.4-patched removed

Verified in 2.2.4 (build 62)

Changed 4 months ago by bbibeault

  • reviewed changed from 0 to 1
Note: See TracTickets for help on using tickets.