cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Animesh Chaturvedi <animesh.chaturv...@citrix.com>
Subject Re: MS fails to start due - Incorrect code version
Date Fri, 23 Aug 2013 16:49:05 GMT
Yes no checkins to 4.2 branch. You can send an email to mailing list with subject prefix [ACS42][Patch]
for requesting a patch to be included. I will review and pull in. I already built RC and would
be sending out Vote email shortly after test completion

Thanks
Animesh

On Aug 20, 2013, at 7:11 AM, "Sudha Ponnaganti" <sudha.ponnaganti@citrix.com> wrote:

> Unless you are fixing a defect for 4.2 please refrain from checking new code in to 4.2
at this time. RC is supposed to be cut yesterday and will be done in any minute. Any new code
would introduce stability issues. 
> Appreciate all of your understanding at this time.  
> 
> Thanks
> /Sudha
> 
> -----Original Message-----
> From: SuichII, Christopher [mailto:Chris.Suich@netapp.com] 
> Sent: Tuesday, August 20, 2013 6:58 AM
> To: <dev@cloudstack.apache.org>
> Subject: Re: MS fails to start due - Incorrect code version
> 
> I've made some contributions to the UI which are only on master. I could cherry pick
them into 4.2 locally, but I'd like to avoid doing that.
> 
> On Aug 20, 2013, at 9:50 AM, Nitin Mehta <Nitin.Mehta@citrix.com> wrote:
> 
>> I would suggest playing around with 4.2 branch, should be much more 
>> stable
>> 
>> On 20/08/13 7:18 PM, "SuichII, Christopher" <Chris.Suich@netapp.com> 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.StorageCacheManage
>>> r 
>>> org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.cacheM
>>> gr;
>>> 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.StorageCacheReplacementAl
>>> gorit
>>> hm
>>> org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl.c
>>> acheR eplacementAlgorithm; 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.AutowiredAnnotationBeanP
>>> ostPr 
>>> ocessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso
>>> r.jav
>>> a:287)
>>>    at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>>> Facto
>>> ry.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>>>    at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>>> Facto
>>> ry.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>>>    at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>>> Facto
>>> ry.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>>    at
>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
>>> ject(
>>> AbstractBeanFactory.java:294)
>>>    at
>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
>>> y.get
>>> Singleton(DefaultSingletonBeanRegistry.java:225)
>>>    at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
>>> an(Ab
>>> stractBeanFactory.java:291)
>>>    at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
>>> (Abst
>>> ractBeanFactory.java:193)
>>>    at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
>>> an(Ab
>>> stractBeanFactory.java:284)
>>>    at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
>>> (Abst
>>> ractBeanFactory.java:193)
>>>    at
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.
>>> preIn
>>> stantiateSingletons(DefaultListableBeanFactory.java:609)
>>>    at
>>> org.springframework.context.support.AbstractApplicationContext.finish
>>> BeanF
>>> actoryInitialization(AbstractApplicationContext.java:918)
>>>    at
>>> org.springframework.context.support.AbstractApplicationContext.refres
>>> h(Abs
>>> tractApplicationContext.java:469)
>>>    at
>>> org.springframework.web.context.ContextLoader.configureAndRefreshWebA
>>> pplic
>>> ationContext(ContextLoader.java:383)
>>>    at
>>> org.springframework.web.context.ContextLoader.initWebApplicationConte
>>> xt(Co
>>> ntextLoader.java:283)
>>>    at
>>> org.springframework.web.context.ContextLoaderListener.contextInitiali
>>> zed(C
>>> ontextLoaderListener.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.jav
>>> a:128
>>> 2)
>>>    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(Jetty6Plug
>>> inWeb
>>> AppContext.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(ContextHan
>>> dlerC
>>> ollection.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(AbstractJettyMo
>>> jo.ja
>>> va:454)
>>>    at
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:
>>> 396)
>>>    at
>>> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRu
>>> nMojo
>>> .java:210)
>>>    at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
>>>    at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
>>> Build
>>> PluginManager.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.buildProje
>>> ct(Li
>>> fecycleModuleBuilder.java:84)
>>>    at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
>>> ct(Li
>>> fecycleModuleBuilder.java:59)
>>>    at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
>>> ild(L
>>> ifecycleStarter.java:183)
>>>    at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
>>> eStar
>>> ter.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(DelegatingMethodAcces
>>> sorIm
>>> pl.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.jav
>>> a:230
>>> )
>>>    at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
>>> unche
>>> r.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(DatabaseUpgradeCheck
>>>>> er.ja
>>>>> va: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?
> 

Mime
View raw message