Hi,
I've recently tried upgrading from 2.1.0 to 2.2.0. While running zenmigrate, I
received this error...
Code:
...
INFO:zen.migrate:Installing TwoTwoIndexing (2.2.0)
Recovering
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 21, in ?
main()
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 18, in main
m.main()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 426, in main
self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 306, in cutover
self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 282, in migrate
m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/twotwoindexing.py", line 44, in
cutover
for comp in dev.getDeviceComponents():
File "/opt/zenoss/Products/ZenModel/Device.py", line 586, in
getDeviceComponents
return [c.getObject() for c in brains]
File "/opt/zenoss/lib/python/Products/ZCatalog/Lazy.py", line 158, in
__getitem__
data.append(func(s[ind]))
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 127, in
__getitem__
r=self._v_result_class(self.data[index]).__of__(self.aq_parent)
KeyError: 1476293288
I added some debugging code and discovered what device getDeviceComponents()
was being called on. I tried removing this device using the web interface, and
although it appeared to succeed, I still get the same error with zenmigrate.
If i try to add the device, zenoss reports that another device exists with the
same IP address (even though it doesn't show up anywhere in the device classes).
Is there a way to manually prune the offending device and its components,
perhaps using zendmd?
Thanks,
-Kristian
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=21219#21219
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users