cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Lamirault (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-2302) Upgrade from 2.2.14 to 4.1.0 failed due to database upgrade
Date Thu, 02 May 2013 08:10:16 GMT
Nicolas Lamirault created CLOUDSTACK-2302:
---------------------------------------------

             Summary: Upgrade from 2.2.14 to 4.1.0 failed due to database upgrade
                 Key: CLOUDSTACK-2302
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2302
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.1.0
            Reporter: Nicolas Lamirault
            Priority: Blocker
             Fix For: 4.1.0


I try to upgrade from 2.2.14 to 4.1.0

INFO: Initializing log4j from [classpath:log4j-cloud.xml]
May 2, 2013 10:05:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
INFO  [web.context.ContextLoader] (main:) Root WebApplicationContext: initialization started
INFO  [context.support.XmlWebApplicationContext] (main:) Refreshing Root WebApplicationContext:
startup date [Thu May 02 10:05:45 CEST 2013]; root of context hierarchy
INFO  [factory.xml.XmlBeanDefinitionReader] (main:) Loading XML bean definitions from class
path resource [applicationContext.xml]
INFO  [factory.xml.XmlBeanDefinitionReader] (main:) Loading XML bean definitions from class
path resource [nonossComponentContext.xml]
INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) JSR-330 'javax.inject.Inject'
annotation found and supported for autowiring
INFO  [context.support.XmlWebApplicationContext] (main:) Bean 'transactionContextBuilder'
of type [class com.cloud.utils.db.TransactionContextBuilder] is not eligible for getting processed
by all BeanPostProcessor
s (for example: not eligible for auto-proxying)
INFO  [context.support.XmlWebApplicationContext] (main:) Bean 'actionEventInterceptor' of
type [class com.cloud.event.ActionEventInterceptor] is not eligible for getting processed
by all BeanPostProcessors (for ex
ample: not eligible for auto-proxying)
|...]
INFO  [utils.component.ComponentContext] (main:) Setup Spring Application context
INFO  [db.Transaction.Transaction] (main:) Encryption set
INFO  [db.Transaction.Transaction] (main:) SQL :cloudstackprp cloudstackprp
INFO  [cloud.serializer.GsonHelper] (main:) Default Builder inited.
INFO  [hypervisor.vmware.VmwareServerDiscoverer] (main:) VmwareServerDiscoverer is constructed
INFO  [web.context.ContextLoader] (main:) Root WebApplicationContext: initialization completed
in 12179 ms
INFO  [cloud.utils.LogUtils] (main:) log4j configuration found at /usr2/web/cloudstack-prp.bop.cloud.mbs/client/WEB-INF/classes/log4j-cloud.xml
INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) JSR-330 'javax.inject.Inject'
annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.service.dao.ServiceOfferingDaoImpl_EnhancerByCloudStack_af34365d@5e8dc627
May 2, 2013 10:05:57 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.storage.dao.DiskOfferingDaoImpl_EnhancerByCloudStack_eb5bef65@5d9d277e
May 2, 2013 10:05:57 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 2, 2013 10:05:57 AM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /usr/local/webapps/manager inside the host appBase has been specified,
and will be ignored
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.dc.dao.DataCenterDaoImpl_EnhancerByCloudStack_64f15179@7f371a59
May 2, 2013 10:05:57 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.dc.dao.HostPodDaoImpl_EnhancerByCloudStack_8ac13ca5@351775bc
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.dc.dao.VlanDaoImpl_EnhancerByCloudStack_77d75d5@15b57dcb
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_f3e2d1d9@4e81d783
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.storage.dao.VMTemplateDaoImpl_EnhancerByCloudStack_c338eac7@29086036
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.hypervisor.dao.HypervisorCapabilitiesDaoImpl_EnhancerByCloudStack_45b65693@34139285
May 2, 2013 10:05:57 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.user.dao.AccountDaoImpl_EnhancerByCloudStack_15fe0949@1ddd40f3
May 2, 2013 10:05:57 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.user.AccountDetailsDaoImpl_EnhancerByCloudStack_161a52fb@6e39b27b
May 2, 2013 10:05:57 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.api.query.dao.AccountJoinDaoImpl_EnhancerByCloudStack_ea7d94ea@50d79dfe
INFO  [utils.component.ComponentContext] (Timer-1:) Spring configure bean com.cloud.dc.dao.AccountVlanMapDaoImpl_EnhancerByCloudStack_c9251164@67f6dc61
May 2, 2013 10:05:57 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 2, 2013 10:05:57 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/22  config=null
May 2, 2013 10:05:57 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 13754 ms

[ ... ]

INFO  [utils.component.ComponentContext] (Timer-1:) Running SystemIntegrityChecker encryptionSecretKeyChecker
WARN  [utils.crypt.EncryptionSecretKeyChecker] (Timer-1:) Encryption already enabled, is check()
called twice?
INFO  [utils.component.ComponentContext] (Timer-1:) Running SystemIntegrityChecker databaseIntegrityChecker
INFO  [cloud.upgrade.DatabaseIntegrityChecker] (Timer-1:) Grabbing lock to check for database
integrity.
INFO  [cloud.upgrade.DatabaseIntegrityChecker] (Timer-1:) Performing database integrity check
INFO  [utils.component.ComponentContext] (Timer-1:) Running SystemIntegrityChecker managementServerNode
INFO  [utils.component.ComponentContext] (Timer-1:) Running SystemIntegrityChecker premiumDatabaseUpgradeChecker
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) Grabbing lock to check for database
upgrade.
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) DB version = 2.2.14 Code Version =
4.1.0
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) Database upgrade must be performed
from 2.2.14 to 4.1.0
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) DBVersion upgrade from : 2.2.14
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) --> Upgrade: 3.0.0
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) --> Upgrade: 3.0.1
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) --> Upgrade: 3.0.2
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) --> Upgrade: 4.0.0
INFO  [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) --> Upgrade: 4.1.0
WARN  [upgrade.dao.Upgrade30xBase] (Timer-1:) Statement is com.mysql.jdbc.JDBC4PreparedStatement@8517bc3:
INSERT INTO `cloud`.`physical_network` (id, uuid, data_center_id, vnet, broadcast_domain_range,
state, name
) VALUES (200,'2dae5efc-331e-4f69-a7b2-96b3b12613bb',1,null,'ZONE','Enabled','CloudMBS_PRP-pNtwk200')
WARN  [upgrade.dao.Upgrade2214to30] (Timer-1:) 3.0.0 XenServer SystemVm template not found.
XenServer hypervisor is not used, so not failing upgrade
WARN  [upgrade.dao.Upgrade2214to30] (Timer-1:) 3.0.0 KVM SystemVm template not found. KVM
hypervisor is not used, so not failing upgrade
ERROR [utils.component.ComponentContext] (Timer-1:) System integrity check failed. Refuse
to startup
com.cloud.utils.exception.CloudRuntimeException: 3.0.0 VMware SystemVm template not found.
Cannot upgrade system Vms
        at com.cloud.upgrade.dao.Upgrade2214to30.updateSystemVms(Upgrade2214to30.java:713)
        at com.cloud.upgrade.dao.Upgrade2214to30.performDataMigration(Upgrade2214to30.java:82)
        at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:258)
        at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:379)
        at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:91)
        at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
May 2, 2013 10:06:33 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
May 2, 2013 10:06:34 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
May 2, 2013 10:06:34 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
INFO  [context.support.XmlWebApplicationContext] (Thread-32:) Closing Root WebApplicationContext:
startup date [Thu May 02 10:05:45 CEST 2013]; root of context hierarchy
INFO  [factory.support.DefaultListableBeanFactory] (Thread-32:) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5c09624:
defining beans [org.springframework.context.an





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

Mime
View raw message