konsa79 wrote: > > Code: > > Migrating data > INFO:zen.migrate:Database going to version Zenoss 2.2.1 > INFO:zen.migrate:Installing EvenMoreBettererStandardErrorMessage (2.2.1) > INFO:zen.migrate:Installing HappierZenPackRels (2.2.1) > INFO:zen.migrate:Installing ReindexIpAddressNetworkIds (2.2.1) > INFO:zen.migrate:Installing ReindexZenPackPerstence (2.2.1) > INFO:zen.migrate:Loading Reports > CRITICAL:txn.-1208346944:A storage error occured during the second phase of > the two-phase commit. Resources may be in an inconsistent state. > 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 295, in > migrate > rl.loadDatabase() > File "/opt/zenoss/Products/ZenReports/ReportLoader.py", line 31, in > loadDatabase > transaction.commit() > File "/opt/zenoss/lib/python/transaction/_manager.py", line 84, in commit > self.get().commit(sub) > File "/opt/zenoss/lib/python/transaction/_transaction.py", line 381, in > commit > self._saveCommitishError() # This raises! > File "/opt/zenoss/lib/python/transaction/_transaction.py", line 379, in > commit > self._commitResources() > File "/opt/zenoss/lib/python/transaction/_transaction.py", line 432, in > _commitResources > rm.tpc_finish(self) > File "/opt/zenoss/lib/python/ZODB/Connection.py", line 651, in tpc_finish > self._storage.tpc_finish(transaction, callback) > File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 974, in tpc_finish > self._update_cache(tid) > File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 999, in > _update_cache > self._cache.invalidate(oid, version, tid) > File "/opt/zenoss/lib/python/ZEO/cache.py", line 375, in invalidate > assert o is not None > AssertionError > > > >
Looks like zenmigrate didn't complete because of a corrupt object database or cache file. Try removing the cache files and running zenmigrate again Code: zenoss$ rm $ZENHOME/var/*.zec zenoss$ zenmigrate If you still get the CRITICAL error mentioning the two-phase commit then you're in a tough spot and your database is probably corrupt. If zenmigrate runs without an error then it may solve the other problems you saw. -jason -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=22865#22865 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
