manasaveloori created CLOUDSTACK-3670: -----------------------------------------
Summary: upgrade failed from 3.0.7 to 4.2 Key: CLOUDSTACK-3670 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3670 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Upgrade Affects Versions: 4.2.0 Environment: 3.0.7 with two hypervisors(xen 6.1 and ESXi 5.1) upgarded to CloudPlatform-4.2-dbupgrade-43-rhel6.3 External devices:Netscaler and SRX Reporter: manasaveloori Priority: Blocker Fix For: 4.2.0 Steps: 1. Set up the CS with 3.0.7 with 2 advanced zones with ESXi5.1 and xen 6.1 hypervisors. 2. Have Netscaler and SRX as external devices. 3. Upgrade to 4.2 build. Observed the DB exception: by: 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: null at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) 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.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478) ... 67 more Attached the MS logs -- 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