Chandan Purushothama created CLOUDSTACK-4165:
------------------------------------------------
Summary: 3.0.6 to ASF 4.2 Upgrade: Data Migration step of the
Upgrade Fails
Key: CLOUDSTACK-4165
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4165
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Reporter: Chandan Purushothama
Priority: Blocker
Fix For: 4.2.0
=================
Steps to Reproduce:
=================
1. Deployed a 3.0.6 Advanced Zone Setup with two VMWare Clusters with one host
in each Cluster. Used NFS Primary Storage.
2. Upgraded the Setup using the Latest 4.2 Build.
===========
Observations:
===========
On Starting the Management Server after Upgrading the RPMs, I observed that the
schema of the setup got upgraded but failed before data migration phase started.
=======================
On Management Server Log:
=======================
2013-08-07 14:10:57,271 DEBUG [utils.db.ScriptRunner] (Timer-1:null) INSERT
IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT',
'management-server', 'eip.use.multiple.netscalers', 'false', 'Should be set to
true, if there will be multiple NetScaler devices providing EIP service in a
zone')
2013-08-07 14:10:57,272 DEBUG [utils.db.ScriptRunner] (Timer-1:null) INSERT
IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT',
'SnapshotManager', 'snapshot.backup.rightafter', 'true', 'backup snapshot right
after snapshot is taken')
2013-08-07 14:10:57,363 TRACE [db.Transaction.Connection] (Timer-1:null) txn:
Not closing DB connection because we're still in a transaction.
2013-08-07 14:10:57,364 DEBUG [db.Transaction.Transaction] (Timer-1:null)
Rolling back the transaction: Time = 5301 Name =
-CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484;
called by
-Transaction.rollback:896-Transaction.removeUpTo:839-Transaction.close:663-DatabaseUpgradeChecker.upgrade:293-DatabaseUpgradeChecker.check:389-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484
2013-08-07 14:10:57,365 TRACE [db.Transaction.Connection] (Timer-1:null)
Closing DB connection: dbconn162979043
2013-08-07 14:10:57,366 TRACE [utils.db.GlobalLock] (Timer-1:null) lock
DatabaseUpgrade is returned to free state, total holding time :8969
2013-08-07 14:10:57,366 TRACE [utils.db.GlobalLock] (Timer-1:null) lock
DatabaseUpgrade is released, lock count :0
2013-08-07 14:10:57,366 ERROR [utils.component.ComponentContext] (Timer-1:null)
System integrity check failed. Refuse to startup
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira