Rayees Namathponnan created CLOUDSTACK-4825:
-----------------------------------------------
Summary: [Automation] Failed to start management server with RPM
build from master
Key: CLOUDSTACK-4825
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4825
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Install and Setup
Environment: This issue found in master RPM build
Reporter: Rayees Namathponnan
Management server failed start in master build, observed below error
2013-10-07 15:42:24,998 INFO [o.s.b.f.a.AutowiredAnnotationBeanPostProcessor]
(main:null) JSR-330 'javax.inject.Inject' annotation found and supported for
autowiring
2013-10-07 15:42:25,003 INFO [o.s.b.f.a.AutowiredAnnotationBeanPostProcessor]
(main:null) JSR-330 'javax.inject.Inject' annotation found and supported for
autowiring
2013-10-07 15:42:25,006 INFO [o.s.b.f.a.AutowiredAnnotationBeanPostProcessor]
(main:null) JSR-330 'javax.inject.Inject' annotation found and supported for
autowiring
2013-10-07 15:42:37,118 FATAL [o.a.c.c.CallContext] (Timer-2:null) Exiting the
system because we're unable to register the system call context.
com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
com.mysql.jdbc.JDBC4PreparedStatement@346ab6ce: SELECT account.id,
account.account_name, account.type, account.domain_id, account.state,
account.removed, account.cleanup_needed, account.network_domain, account.uuid,
account.default_zone_id, account.default FROM account WHERE account.id = 1 AND
account.removed IS NULL
at com.cloud.utils.db.GenericDaoBase.findById(GenericDaoBase.java:986)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.utils.db.GenericDaoBase.lockRow(GenericDaoBase.java:963)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.utils.db.GenericDaoBase.findById(GenericDaoBase.java:926)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.dao.EntityManagerImpl.findById(EntityManagerImpl.java:45)
at
org.apache.cloudstack.context.CallContext.register(CallContext.java:166)
at
org.apache.cloudstack.context.CallContext.registerSystemCallContextOnceOnly(CallContext.java:141)
at
org.apache.cloudstack.context.CallContextListener.onEnterContext(CallContextListener.java:36)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:83)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
column 'account.default' in 'field list'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2318)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at com.cloud.utils.db.GenericDaoBase.findById(GenericDaoBase.java:983)
--
This message was sent by Atlassian JIRA
(v6.1#6144)