[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

edison su resolved CLOUDSTACK-71.
---------------------------------

    Resolution: Fixed

It's the issue of build system, passed in a wrong package version, fixed in 
build-cloudstack-master-rhel6.3
                
> Upgrade checker needs modification to allow for minor upgrades to work
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-71
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-71
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: 4.0.0
>         Environment: Management server: CentOS 6.3
>            Reporter: Ahmad Emneina
>            Assignee: edison su
>            Priority: Minor
>
> I did a minor binary upgrade, using rpm's, between build 4.0.46 and 4.0.59 
> and the server failed to start citing:
> 2012-09-10 15:32:06,903 DEBUG [upgrade.dao.VersionDaoImpl] (main:null) 
> Checking to see if the database is at a version before it was the version 
> table is created
> 2012-09-10 15:32:06,909 INFO  [cloud.upgrade.DatabaseUpgradeChecker] 
> (main:null) DB version = 4.0.46.20120907075031 Code Version = 
> 4.0.59.20120908055459
> 2012-09-10 15:32:06,910 INFO  [cloud.upgrade.DatabaseUpgradeChecker] 
> (main:null) Database upgrade must be performed from 4.0.46.20120907075031 to 
> 4.0.59.20120908055459
> 2012-09-10 15:32:06,910 ERROR [cloud.upgrade.DatabaseUpgradeChecker] 
> (main:null) There is no upgrade path from 4.0.46.20120907075031 to 
> 4.0.59.20120908055459
> 2012-09-10 15:32:06,915 ERROR [utils.component.ComponentLocator] (main:null) 
> Problems with running checker:DatabaseUpgradeChecker
> com.cloud.utils.exception.CloudRuntimeException: There is no upgrade path 
> from 4.0.46.20120907075031 to 4.0.59.20120908055459
>         at 
> com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:188)
>         at 
> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:351)
>         at 
> com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273)
>         at 
> com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245)
>         at 
> com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836)
>         at 
> com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874)
>         at 
> com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416)
>         at 
> com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409)
>         at 
> com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>         at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>         at 
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>         at 
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
>         at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>         at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>         at 
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
>         at 
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
>         at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>         at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>         at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>         at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>         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:616)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

--
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

Reply via email to