[
https://issues.apache.org/jira/browse/CLOUDSTACK-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Animesh Chaturvedi updated CLOUDSTACK-3683:
-------------------------------------------
Affects Version/s: 4.2.0
> BeanCreationExceptions during systemvm start on XenServer
> ---------------------------------------------------------
>
> Key: CLOUDSTACK-3683
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3683
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.2.0
> Reporter: Prasanna Santhanam
> Priority: Blocker
>
> On Xenserver during systemVm startup we encounter the following
> BeanCreationException
> This is breaking the startup of systemVms and launching the cloudstack tests
> Running against master (88c84d91092f7f77bf7766a5164de90ac703bdc9)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com local0: 2013-07-20
> 05:53:39,233 WARN [storage.secondary.SecondaryStorageManagerImpl]
> (secstorage-1:null) Exception while trying to start secondary storage vm
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl':
> Injection of autowired dependencies
> failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field: org.apache.cloudstack.engine.subsystem.api.storage.SnapshotDataFactory
> org.apache.cloudstack.storage.datastore.PrimaryDataSt
> oreImpl.snapshotFactory; nested exception is
> org.springframework.beans.factory.BeanCreationNotAllowedException: Error
> creating bean with name 'dataStoreProviderManager': Singleton bean creation
> not allowed while the singletons of this f
> actory are in destruction (Do not request a bean from a BeanFactory in a
> destroy method implementation!)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBean(AbstractAutowireCapableBeanFactory.java:295)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.utils.component.ComponentContext.inject(ComponentContext.java:236)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.utils.component.ComponentContext.inject(ComponentContext.java:223)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl.createDataStore(PrimaryDataStoreImpl.java:99)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.datastore.manager.PrimaryDataStoreProviderManagerImpl.getPrimaryDataStore(PrimaryDataStoreProviderManagerImpl.java:64)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.datastore.DataStoreManagerImpl.getPrimaryDataStore(DataStoreManagerImpl.java:84)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.allocator.ClusterScopeStoragePoolAllocator.select(ClusterScopeStoragePoolAllocator.java:94)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.allocator.AbstractStoragePoolAllocator.allocateToPool(AbstractStoragePoolAllocator.java:109)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.deploy.DeploymentPlanningManagerImpl.findSuitablePoolsForVolumes(DeploymentPlanningManagerImpl.java:1157)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.deploy.DeploymentPlanningManagerImpl.checkClustersforDestination(DeploymentPlanningManagerImpl.java:881)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.deploy.DeploymentPlanningManagerImpl.planDeployment(DeploymentPlanningManagerImpl.java:416)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:862)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:614)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:607)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:262)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:689)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1275)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.lang.Thread.run(Thread.java:679)
> Jul 19 22:53:39 Caused by:
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field: org.apache.cloudstack.engine.subsystem.api.storage.SnapshotDataFactory
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl.snapshotFactory;
> nested exception is
> org.springframework.beans.factory.BeanCreationNotAllowedException: Error
> creating bean with name 'dataStoreProviderManager': Singleton bean creation
> not allowed while the singletons of this factory are in destruction (Do not
> request a bean from a BeanFactory in a destroy method implementation!)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com ... 33 more
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.allocator.ClusterScopeStoragePoolAllocator.select(ClusterScopeStoragePoolAllocator.java:94)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.apache.cloudstack.storage.allocator.AbstractStoragePoolAllocator.allocateToPool(AbstractStoragePoolAllocator.java:109)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.deploy.DeploymentPlanningManagerImpl.findSuitablePoolsForVolumes(DeploymentPlanningManagerImpl.java:1157)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.deploy.DeploymentPlanningManagerImpl.checkClustersforDestination(DeploymentPlanningManagerImpl.java:881)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.deploy.DeploymentPlanningManagerImpl.planDeployment(DeploymentPlanningManagerImpl.java:416)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:862)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:614)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:607)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:927)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1641)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:156)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> java.lang.Thread.run(Thread.java:679)
> Jul 19 22:53:39 Caused by:
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field: org.apache.cloudstack.engine.subsystem.api.storage.SnapshotDataFactory
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl.snapshotFactory;
> nested exception is
> org.springframework.beans.factory.BeanCreationNotAllowedException: Error
> creating bean with name 'dataStoreProviderManager': Singleton bean creation
> not allowed while the singletons of this factory are in destruction (Do not
> request a bean from a BeanFactory in a destroy method implementation!)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com ... 32 more
> Jul 19 22:53:39 Caused by:
> org.springframework.beans.factory.BeanCreationNotAllowedException: Error
> creating bean with name 'dataStoreProviderManager': Singleton bean creation
> not allowed while the singletons of this factory are in destruction (Do not
> request a bean from a BeanFactory in a destroy method implementation!)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:212)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.resolvedCachedArgument(AutowiredAnnotationBeanPostProcessor.java:442)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.access$0(AutowiredAnnotationBeanPostProcessor.java:435)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:472)
> Jul 19 22:53:39 cloudstack-centos63.fmt.vmops.com ... 34 more
--
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