[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534800#comment-13534800
 ] 

Abhinav Roy commented on CLOUDSTACK-628:
----------------------------------------

I tried setting up an apt-repo by adding the binary package path and then did a 
'apt-get upgrade cloud-client' , got the following error :

2012-12-18 15:31:53,623 INFO  [utils.component.ComponentLocator] (main:null) 
Adding system integrity checker: DatabaseUpgradeChecker
2012-12-18 15:31:53,696 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) Encryption Type: file
2012-12-18 15:31:53,839 INFO  [cloud.upgrade.DatabaseIntegrityChecker] 
(main:null) Grabbing lock to check for database integrity.
2012-12-18 15:31:54,196 INFO  [cloud.upgrade.DatabaseIntegrityChecker] 
(main:null) Performing database integrity check
2012-12-18 15:31:54,213 DEBUG [cloud.upgrade.DatabaseIntegrityChecker] 
(main:null) No duplicate hosts with the same local storage found in database
2012-12-18 15:31:54,216 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-12-18 15:31:54,336 INFO  [cloud.upgrade.DatabaseUpgradeChecker] 
(main:null) Grabbing lock to check for database upgrade.
2012-12-18 15:31:54,337 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-12-18 15:31:54,340 INFO  [cloud.upgrade.DatabaseUpgradeChecker] 
(main:null) DB version = 4.0.0-incubating.20121024052007 Code Version = 
4.0.1-incubating.20121207193233
2012-12-18 15:31:54,341 INFO  [cloud.upgrade.DatabaseUpgradeChecker] 
(main:null) Database upgrade must be performed from 
4.0.0-incubating.20121024052007 to 4.0.1-incubating.20121207193233
2012-12-18 15:31:54,341 ERROR [cloud.upgrade.DatabaseUpgradeChecker] 
(main:null) There is no upgrade path from 4.0.0-incubating.20121024052007 to 
4.0.1-incubating.20121207193233
2012-12-18 15:31:54,343 ERROR [utils.component.ComponentLocator] (main:null) 
Problems with running checker:DatabaseUpgradeChecker
com.cloud.utils.exception.CloudRuntimeException: There is no upgrade path from 
4.0.0-incubating.20121024052007 to 4.0.1-incubating.20121207193233
        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:1206)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
        at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        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 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.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)

                
> Upgrade from ASF 4.0 to 4.0.1 fails with "There is no upgrade path from 
> 4.0.0-incubating.20121024052007 to 4.0.1-incubating.20121207193233" on ubuntu 
> 12.04 management server
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-628
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-628
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Install and Setup
>    Affects Versions: 4.0.1
>         Environment: MS : ubuntu 12.04 
> Builds :
> ASF 4.0 ------ CloudStack-non-OSS-4.0.0-24
> ASF 4.0.1 ----  CloudStack-non-OSS-4.0.1-8
>            Reporter: Abhinav Roy
>            Assignee: edison su
>            Priority: Blocker
>             Fix For: 4.0.1
>
>
> Description :
> ===========================
> While upgrading from ASF 4.0 to 4.0.1 on Ubuntu 12.04 management server I am 
> getting this weird dependency error :
> Welcome to the Apache CloudStack (Incubating) Installer.  What would you like 
> to do?
>     A) Install the Agent
>     S) Install the Usage Monitor
>     U) Upgrade the CloudStack packages installed on this computer
>     R) Stop any running CloudStack services and remove the CloudStack 
> packages from this computer
>     E) Remove the MySQL server (will not remove the MySQL databases)
>     Q) Quit
>     > u
> Updating the CloudStack and its dependencies...
> * Stopping CloudStack-specific Tomcat servlet engine cloud-management         
>                                                                               
>                                                                               
>                                                                               
>                                                           [ OK ]
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Note, selecting 'fcitx-module-cloudpinyin' for regex 'cloud-*'
> Note, selecting 'cloud-agent' for regex 'cloud-*'
> Note, selecting 'owncloud' for regex 'cloud-*'
> Note, selecting 'cloud-init' for regex 'cloud-*'
> Note, selecting 'cloudfoundry-client' for regex 'cloud-*'
> Note, selecting 'cloud-agent-scripts' for regex 'cloud-*'
> Note, selecting 'cloud-server' for regex 'cloud-*'
> Note, selecting 'cloud-client-ui' for regex 'cloud-*'
> Note, selecting 'libphp-cloudfusion' for regex 'cloud-*'
> Note, selecting 'cloud-agent-libs' for regex 'cloud-*'
> Note, selecting 'python-cloudfiles' for regex 'cloud-*'
> Note, selecting 'python-rackspace-cloudfiles' for regex 'cloud-*'
> Note, selecting 'cloud-setup' for regex 'cloud-*'
> Note, selecting 'python-rackspace-cloudservers' for regex 'cloud-*'
> Note, selecting 'cloud-system-iso' for regex 'cloud-*'
> Note, selecting 'cloud-initramfs-rescuevol' for regex 'cloud-*'
> Note, selecting 'cloud-initramfs-growroot' for regex 'cloud-*'
> Note, selecting 'ubuntu-cloud-keyring' for regex 'cloud-*'
> Note, selecting 'cloudprint' for regex 'cloud-*'
> Note, selecting 'cloud-usage' for regex 'cloud-*'
> Note, selecting 'cloud-awsapi' for regex 'cloud-*'
> Note, selecting 'cloud-python' for regex 'cloud-*'
> Note, selecting 'cloud-cli' for regex 'cloud-*'
> Note, selecting 'python-libcloud' for regex 'cloud-*'
> Note, selecting 'med-cloud' for regex 'cloud-*'
> Note, selecting 'cloud-deps' for regex 'cloud-*'
> Note, selecting 'libhtml-tagcloud-perl' for regex 'cloud-*'
> Note, selecting 'cloud-client' for regex 'cloud-*'
> Note, selecting 'cloud-utils' for regex 'cloud-*'
> Note, selecting 'cloud-scripts' for regex 'cloud-*'
> Note, selecting 'cloud-core' for regex 'cloud-*'
> Note, selecting 'cloud-agent-deps' for regex 'cloud-*'
> Note, selecting 'python-cloudservers' for regex 'cloud-*'
> Note, selecting 'tagcloud' for regex 'cloud-*'
> python-rackspace-cloudfiles is already the newest version.
> Some packages could not be installed. This may mean that you have requested 
> an impossible situation or if you are using the unstable distribution that 
> some required packages have not yet been created or been moved out of 
> Incoming.
> The following information may help to resolve the situation:
> The following packages have unmet dependencies:
> python-rackspace-cloudfiles : Conflicts: python-cloudfiles but 1.7.9.2-1 is 
> to be installed
> E: Unable to correct problems, you have held broken packages.
> * Starting CloudStack-specific Tomcat servlet engine cloud-management
> Note : 
> ========
> 1. This error is not seen during a fresh install of 4.0 or 4.0.1. I am seeing 
> this only during upgrade.
> 2. The hosts and management server are freshly installed....

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