cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjeev N (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-6405) Observed SQL exceptions during db upgrade from 4.0.0 to 4.4.0
Date Mon, 14 Apr 2014 20:02:14 GMT
Sanjeev N created CLOUDSTACK-6405:

             Summary: Observed SQL exceptions during db upgrade from 4.0.0 to 4.4.0
                 Key: CLOUDSTACK-6405
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.4.0
         Environment: Latest build from 4.4 with commit 098324aa84d3835d2eca24d41f0266128d2d4f29
            Reporter: Sanjeev N
            Priority: Critical
             Fix For: 4.4.0
         Attachments: catalina.rar, management-server.rar

Observed SQL Exceptions during db upgrade from 4.0.0 to 4.4.0

Steps to Reproduce:
1.Install MS with latest build from 4.4
2.Observe log file after cloudstack-setup-management

During MS start we upgrade DB from 4.0.0 to latest version which is 4.4.0
Found some SQL exceptions during this db upgrade. Following is one of them:
INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) DB version = 4.0.0 Code Version = 4.4.0-SNAPSHOT
INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) Database upgrade must be performed from 4.0.0
to 4.4.0-SNAPSHOT
WARN  [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception when trying to drop
key last_sent on table alert
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Can't DROP 'last_sent'; check that
column/key exists
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at com.mysql.jdbc.Util.handleNewInstance(
        at com.mysql.jdbc.Util.getInstance(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.sendCommand(
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.PreparedStatement.executeInternal(
        at com.mysql.jdbc.PreparedStatement.executeUpdate(
        at com.mysql.jdbc.PreparedStatement.executeUpdate(
        at com.mysql.jdbc.PreparedStatement.executeUpdate(
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(
        at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(
        at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(

This message was sent by Atlassian JIRA

View raw message