cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SuichII, Christopher" <Chris.Su...@netapp.com>
Subject Re: MS fails to start due - Incorrect code version
Date Tue, 20 Aug 2013 14:59:43 GMT
I was on cc18ca79fc6d58fb639ffbb455791caeb021589a and tried rolling back to a commit I have
been able to deploy with before (b727001f483012012c061e8c352c1ebfe7d3fecd) and got the same
result.
On Aug 20, 2013, at 10:43 AM, Prasanna Santhanam <tsp@apache.org> wrote:

> What's your HEAD? I'm on 3a29c734475184cf28135acaca271fea1c90554a and
> don't see a problm starting up the server. I haven't configured my
> zones/pods etc. Also I started with a fresh DB.
> 
> On Tue, Aug 20, 2013 at 01:47:50PM +0000, SuichII, Christopher wrote:
>> Master.
>> 
>> Then, after commenting out the offending code, rebuilding, redeploying the db and
rerunning, this exception is thrown when attempting to start the MS:
>> 
>> ERROR [o.s.w.c.ContextLoader] (main:null) Context initialization failed
>> org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'dataMotionServiceImpl': Injection of autowired dependencies failed; nested exception
is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List
org.apache.cloudstack.storage.motion.DataMotionServiceImpl.strategies; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ancientDataMotionStrategy':
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: org.apache.cloudstack.engine.subsystem.api.storage.StorageCacheManager
org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.cacheMgr; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'storageCacheManagerImpl': Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.apache.cloudstack.storage.cache.manager.StorageCacheReplacementAlgorithm
org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl.cacheReplacementAlgorithm;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'StorageCacheReplacementAlgorithm': Invocation of init method failed; nested
exception is com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@29f9aaf0:
SELECT configuration.instance, configuration.component, configuration.name, configuration.value,
configuration.default_value, configuration.description, configuration.category, configuration.is_dynamic,
configuration.scope, configuration.updated FROM configuration WHERE configuration.name = _binary'storage.cache.replacement.lru.interval'
 ORDER BY RAND() LIMIT 1
>> 	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
>> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
>> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
>> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
>> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
>> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
>> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
>> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
>> 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
>> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
>> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
>> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
>> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
>> 	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
>> 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
>> 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
>> 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
>> 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
>> 	at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
>> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>> 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>> 	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>> 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>> 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>> 	at org.mortbay.jetty.Server.doStart(Server.java:224)
>> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>> 	at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
>> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
>> 	at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
>> 	at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
>> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 	at java.lang.reflect.Method.invoke(Method.java:601)
>> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> On Aug 20, 2013, at 9:41 AM, Chip Childers <chip.childers@sungard.com>
>> wrote:
>> 
>>> What branch?
>>> 
>>> 
>>> On Tue, Aug 20, 2013 at 8:48 AM, SuichII, Christopher <
>>> Chris.Suich@netapp.com> wrote:
>>> 
>>>> I started a fresh clean install this morning and am unable to start the
>>>> management server:
>>>> 
>>>> Error [c.c.u.c.ComponentContext] (Timer-3:null) System integrity check
>>>> failed. Refuse to startup
>>>> com.cloud.utils.exception.CloudRuntimeException: Database version 4.3.0 is
>>>> higher than management software version 1.7.0_19
>>>>       at
>>>> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:384)
>>>>       ?
>>>> 
>>>> 
>>>> So, it appears that the DatabaseUpgradeChecker is actually looking at my
>>>> Java JDK version, not the code version. Is this something wrong with my
>>>> environment setup?
>>>> 
> 
> -- 
> Prasanna.,
> 
> ------------------------
> Powered by BigRock.com
> 


Mime
View raw message