[
https://issues.apache.org/jira/browse/CLOUDSTACK-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanna Santhanam updated CLOUDSTACK-4791:
-------------------------------------------
Attachment: logs.tar.bz2
management server log + dbdump
> Server startup failure on master (b44bc9db)
> -------------------------------------------
>
> Key: CLOUDSTACK-4791
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4791
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Prasanna Santhanam
> Priority: Critical
> Attachments: logs.tar.bz2
>
>
> when running from the development environment server starts up perfectly fine
> but when deployed from packages (rhel) made from master there are several
> errors and the server startup fails
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'dataMotionServiceImpl': Injection of autowired dependencies
> failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field: java.util.List
> org.apache.cloudstack.storage.motion.DataMotionServiceImpl.strategies; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'ancientDataMotionStrategy': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field: org.apache.cloudstack.engine.subsystem.api.storage.StorageCacheManager
> org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.cacheMgr;
> nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'storageCacheManagerImpl': Injection of
> autowired dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field:
> org.apache.cloudstack.storage.cache.manager.StorageCacheReplacementAlgorithm
> org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl.cacheReplacementAlgorithm;
> nested exception is 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:
> com.mysql.jdbc.JDBC4PreparedStatement@4e5ced83: SELECT
> configuration.instance, configuration.component, configuration.name,
> configuration.value, configuration.default_value, configuration.description,
> configuration.category, configuration.is_dynamic, configuration.scope,
> configuration.updated FROM configuration WHERE configuration.name =
> _binary'storage.cache.replacement.lru.interval' ORDER BY RAND() LIMIT 1
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
> 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.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
> at
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:397
> Logs are attached with db dump from a freshly installed system
--
This message was sent by Atlassian JIRA
(v6.1#6144)