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] [Commented] (CLOUDSTACK-2194) Upgrade from 2.2.14 to 4.1.0 failed due to encryption error
Date Tue, 30 Apr 2013 09:14:16 GMT

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

Nicolas Lamirault commented on CLOUDSTACK-2194:
-----------------------------------------------

Now it seems bug comes from ApiServer :


2013-04-30 11:11:34,978 INFO  [web.context.ContextLoader] (main:null) Root WebApplicationContext:
initialization started
2013-04-30 11:11:35,104 INFO  [context.support.XmlWebApplicationContext] (main:null) Refreshing
Root WebApplicationContext: startup date [Tue Apr 30 11:11:35 CEST 2013]; root of context
hierarchy
2013-04-30 11:11:35,185 INFO  [factory.xml.XmlBeanDefinitionReader] (main:null) Loading XML
bean definitions from class path resource [applicationContext.xml]
2013-04-30 11:11:35,715 INFO  [factory.xml.XmlBeanDefinitionReader] (main:null) Loading XML
bean definitions from class path resource [nonossComponentContext.xml]
2013-04-30 11:11:37,583 INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:null)
JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2013-04-30 11:11:37,628 INFO  [context.support.XmlWebApplicationContext] (main:null) Bean
'transactionContextBuilder' of type [class com.cloud.utils.db.TransactionContextBuilder] is
not eligible for getting proces
sed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2013-04-30 11:11:37,633 INFO  [context.support.XmlWebApplicationContext] (main:null) Bean
'actionEventInterceptor' of type [class com.cloud.event.ActionEventInterceptor] is not eligible
for getting processed by al
l BeanPostProcessors (for example: not eligible for auto-proxying)
2013-04-30 11:11:37,692 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Pre-instantiating
singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5c09624:
defining beans [
org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAn
notationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,componentContext,transactionContextBuilder,actionEventInterceptor,instantiatePostProcessor,onwireRegistry,messageSerialize
r,transportProvider,rpcProvider,eventBus,serviceOfferingDaoImpl,diskOfferingDaoImpl,dataCenterDaoImpl,hostPodDaoImpl,vlanDaoImpl,userDaoImpl,VMTemplateDaoImpl,hypervisorCapabilitiesDaoImpl,accountDaoImpl,accountDe
tailsDaoImpl,accountJoinDaoImpl,accountVlanMapDaoImpl,agentUpgradeDaoImpl,alertDaoImpl,asyncJobDaoImpl,asyncJobJoinDaoImpl,autoScalePolicyConditionMapDaoImpl,autoScalePolicyDaoImpl,autoScaleVmGroupDaoImpl,autoScal
eVmGroupPolicyMapDaoImpl,autoScaleVmProfileDaoImpl,capacityDaoImpl,certificateDaoImpl,clusterDaoImpl,clusterDetailsDaoImpl,commandExecLogDaoImpl,conditionDaoImpl,consoleProxyDaoImpl,counterDaoImpl,dataCenterIpAddr
essDaoImpl,dataCenterJoinDaoImpl,dataCenterLinkLocalIpAddressDaoImpl,dataCenterVnetDaoImpl,dataStoreProviderDaoImpl,dcDetailsDaoImpl,engineDcDetailsDaoImpl,diskOfferingJoinDaoImpl,domainDaoImpl,domainRouterDaoImpl
,domainRouterJoinDaoImpl,elasticLbVmMapDaoImpl,engineClusterDaoImpl,engineDataCenterDaoImpl,engineHostDaoImpl,engineHostPodDaoImpl,eventDaoImpl,eventJoinDaoImpl,externalFirewallDeviceDaoImpl,externalLoadBalancerDe
viceDaoImpl,externalPublicIpStatisticsDaoImpl,firewallRulesCidrsDaoImpl,firewallRulesDaoImpl,guestOSCategoryDaoImpl,guestOSDaoImpl,highAvailabilityDaoImpl,hostDaoImpl,hostDetailsDaoImpl,engineHostDetailsDaoImpl,ho
stJoinDaoImpl,engineHostTagsDaoImpl,hostTagsDaoImpl,hostTransferMapDaoImpl,iPAddressDaoImpl,identityDaoImpl,imageDaoStoreDaoImpl,imageDataDaoImpl,imageDataStoreProviderDaoImpl,inlineLoadBalancerNicMapDaoImpl,insta
nceGroupDaoImpl,instanceGroupJoinDaoImpl,instanceGroupVMMapDaoImpl,itWorkDaoImpl,keystoreDaoImpl,lBStickinessPolicyDaoImpl,launchPermissionDaoImpl,loadBalancerDaoImpl,loadBalancerVMMapDaoImpl,managementServerHostD
aoImpl,managementServerHostPeerDaoImpl,networkAccountDaoImpl,networkDaoImpl,networkDomainDaoImpl,networkExternalFirewallDaoImpl,networkExternalLoadBalancerDaoImpl,networkOfferingDaoImpl,networkOfferingServiceMapDa
oImpl,networkOpDaoImpl,networkRuleConfigDaoImpl,networkServiceMapDaoImpl,nicDaoImpl,objectInDataStoreDaoImpl,ovsTunnelInterfaceDaoImpl,ovsTunnelNetworkDaoImpl,physicalNetworkDaoImpl,physicalNetworkIsolationMethodD
aoImpl,physicalNetworkServiceProviderDaoImpl,physicalNetworkTagDaoImpl,physicalNetworkTrafficTypeDaoImpl,podVlanDaoImpl,podVlanMapDaoImpl,portForwardingRulesDaoImpl,primaryDataStoreDaoImpl,primaryDataStoreDetailsD
aoImpl,privateIpDaoImpl,projectAccountDaoImpl,projectAccountJoinDaoImpl,projectDaoImpl,projectInvitationDaoImpl,projectInvitationJoinDaoImpl,projectJoinDaoImpl,regionDaoImpl,remoteAccessVpnDaoImpl,resourceCountDao
Impl,resourceLimitDaoImpl,resourceTagJoinDaoImpl,resourceTagsDaoImpl,routerNetworkDaoImpl,s3DaoImpl,sSHKeyPairDaoImpl,secondaryStorageVmDaoImpl,securityGroupDaoImpl,securityGroupJoinDaoImpl,securityGroupRuleDaoImp
l,securityGroupRulesDaoImpl,securityGroupVMMapDaoImpl,securityGroupWorkDaoImpl,serviceOfferingJoinDaoImpl,site2SiteCustomerGatewayDaoImpl,site2SiteVpnConnectionDaoImpl,site2SiteVpnGatewayDaoImpl,snapshotDao2Impl,s
napshotDaoImpl,snapshotPolicyDaoImpl,snapshotScheduleDaoImpl,stackMaidDaoImpl,staticRouteDaoImpl,storageNetworkIpAddressDaoImpl,storageNetworkIpRangeDaoImpl,storagePoolDaoImpl,storagePoolDetailsDaoImpl,storagePool
HostDaoImpl,storagePoolJoinDaoImpl,storagePoolWorkDaoImpl,swiftDaoImpl,syncQueueDaoImpl,syncQueueItemDaoImpl,templatePrimaryDataStoreDaoImpl,uploadDaoImpl,usageDaoImpl,usageEventDaoImpl,usageIPAddressDaoImpl,usage
JobDaoImpl,usageLoadBalancerPolicyDaoImpl,usageNetworkDaoImpl,usageNetworkOfferingDaoImpl,usagePortForwardingRuleDaoImpl,usageSecurityGroupDaoImpl,usageStorageDaoImpl,usageVMInstanceDaoImpl,usageVPNUserDaoImpl,usa
geVolumeDaoImpl,userAccountDaoImpl,userAccountJoinDaoImpl,userIpv6AddressDaoImpl,userStatisticsDaoImpl,userStatsLogDaoImpl,userVmDetailsDaoImpl,userVmJoinDaoImpl,vMComputeTagDaoImpl,vMEntityDaoImpl,vMInstanceDaoIm
pl,vMNetworkMapDaoImpl,vMReservationDaoImpl,vMRootDiskTagDaoImpl,vMTemplateDetailsDaoImpl,vMTemplateHostDaoImpl,vMTemplatePoolDaoImpl,vMTemplateS3DaoImpl,vMTemplateSwiftDaoImpl,vMTemplateZoneDaoImpl,versionDaoImpl
,virtualRouterProviderDaoImpl,vmRulesetLogDaoImpl,volumeDao2Impl,volumeDaoImpl,volumeHostDaoImpl,volumeJoinDaoImpl,volumeReservationDaoImpl,vpcDaoImpl,vpcGatewayDaoImpl,vpcOfferingDaoImpl,vpcOfferingServiceMapDaoI
mpl,vpnUserDaoImpl,userVmDaoImpl,portProfileDaoImpl,clusterVSMMapDaoImpl,encryptionSecretKeyChecker,StaticRoleBasedAPIAccessChecker,databaseIntegrityChecker,domainChecker,basicAgentAuthManager,MD5UserAuthenticator
,LDAPUserAuthenticator,Ovs,SecurityGroupProvider,VirtualRouter,VpcVirtualRouter,elasticLoadBalancerElement,firstFitAllocator,randomAllocator,FirstFitRouting,LocalStoragePoolAllocator,FirstFitStoragePoolAllocator,U
serConcentratedAllocator,useLocalForRootAllocator,garbageCollectingStoragePoolAllocator,randomStoragePoolAllocator,recreatableFencer,recreateHostAllocator,secondaryStorageVmDefaultAllocator,ConsoleProxyAllocator,E
xteralIpAddressAllocator,hyervisorTemplateAdapter,clusterAlertAdapter,consoleProxyAlertAdapter,secondaryStorageVmAlertAdapter,clusterServiceServletAdapter,CheckOnAgentInvestigator,XenServerInvestigator,UserVmDomRI
nvestigator,ManagementIPSystemVMInvestigator,XenServerFencer,KVMFencer,OvmFencer,XcpServerDiscoverer,SecondaryStorageDiscoverer,KvmServerDiscoverer,HypervServerDiscoverer,OvmDiscoverer,dummyHostDiscoverer,UserDisp
ersingPlanner,UserConcentratedPodPlanner,clusterBasedAgentLoadBalancerPlanner,StorageNetworkGuru,ExternalGuestNetworkGuru,PublicNetworkGuru,PodBasedNetworkGuru,ControlNetworkGuru,DirectNetworkGuru,DirectPodBasedNe
tworkGuru,OvsGuestNetworkGuru,PrivateNetworkGuru,XenServerGuru,KVMGuru,OvmGuru,HypervisorPlannerSelector,accountManagerImpl,managementServerImpl,storageManagerImpl,FirstFitPlanner,resourceManagerImpl,highAvailabil
ityManagerExtImpl,clusteredVirtualMachineManagerImpl,networkManagerImpl,networkModelImpl,configurationServerImpl,clusterManagerImpl,clusteredAgentManagerImpl,userVmManagerImpl,consoleProxyManagerImpl,securityGroup
ManagerImpl2,premiumSecondaryStorageManagerImpl,ipv6AddressManagerImpl,apiRateLimitServiceImpl,alertManagerImpl,asyncJobExecutorContextImpl,asyncJobManagerImpl,autoScaleManagerImpl,capacityManagerImpl,clusterFence
ManagerImpl,configurationManagerImpl,dataStoreProviderManagerImpl,domainManagerImpl,downloadMonitorImpl,elasticLoadBalancerManagerImpl,entityManagerImpl,externalLoadBalancerUsageManagerImpl,externalNetworkDeviceMa
nagerImpl,firewallManagerImpl,hypervisorGuruManagerImpl,identityServiceImpl,keystoreManagerImpl,loadBalancingRulesManagerImpl,networkACLManagerImpl,networkServiceImpl,networkUsageManagerImpl,oCFS2ManagerImpl,ovsTu
nnelManagerImpl,projectManagerImpl,queryManagerImpl,regionManagerImpl,regionServiceImpl,remoteAccessVpnManagerImpl,resourceLimitManagerImpl,rulesManagerImpl,s3ManagerImpl,site2SiteVpnManagerImpl,snapshotManagerImp
l,snapshotSchedulerImpl,storageNetworkManagerImpl,swiftManagerImpl,syncQueueManagerImpl,taggedResourceManagerImpl,templateManagerImpl,upgradeManagerImpl,uploadMonitorImpl,usageServiceImpl,virtualNetworkApplianceMa
nagerImpl,vpcManagerImpl,vpcVirtualNetworkApplianceManagerImpl,cloudZonesStartupProcessor,managementServerNode,actionEventUtils,agentMonitor,alertGenerator,apiDBUtils,apiDiscoveryServiceImpl,apiDispatcher,apiRespo
nseHelper,apiServer,apiServlet,cloudOrchestrator,clusterRestService,consoleProxyServlet,dataCenterResourceManagerImpl,dataDisk,dataMotionServiceImpl,dataObjectManagerImpl,dataStoreManagerImpl,defaultEndPointSelect
or,defaultImageDataStoreProvider,defaultImageMotionStrategy,defaultPrimaryDataStoreProviderManagerImpl,defaultPrimaryDatastoreProviderImpl,eventUtils,hypervisorBasedSnapshot,hypervsiorHostEndPointRpcServer,iSCSI,I
SO,imageDataFactoryImpl,imageDataManagerImpl,imageDataStoreHelper,imageDataStoreManagerImpl,imageFormatHelper,imageMotionServiceImpl,imageServiceImpl,iso,networkFileSystem,networkRestService,OVA,objectInDataStoreM
anagerImpl,podRestService,primaryDataStoreHelper,provisioningServiceImpl,QCOW2,registerCompleteServlet,rootDisk,snapshotDataFactoryImpl,snapshotServiceImpl,statsCollector,templateInstallStrategyImpl,unknown,usageE
ventUtils,userContextInitializer,VHD,vMEntityManagerImpl,virtualMachineEntityImpl,virtualMachineRestService,volumeDataFactoryImpl,volumeManagerImpl,volumeRestService,volumeServiceImpl,volumeTypeHelper,zoneRestServ
ice,premiumDatabaseUpgradeChecker,configurationDaoImpl,VmwareFencer,vmwareServerDiscoverer,VMwareGuru,VmwareInvestigator,VmwareManager,vmwareContextFactory,niciraNvpDaoImpl,niciraNvpNicMappingDaoImpl,niciraNvpRout
erMappingDaoImpl,NiciraNvpGuestNetworkGuru,NiciraNvp,lunDaoImpl,poolDaoImpl,netappVolumeDaoImpl,NetappManager,JuniperSRX,netScalerPodDaoImpl,Netscaler,F5BigIP,ciscoNexusVSMDeviceDaoImpl,CiscoNexus1000vVSM,bigSwitc
hVnsDaoImpl,bigSwitchVnsElement,userAuthenticators,securityCheckers,resourceDiscoverers,haInvestigators,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolAllocators,ipDeployers,dhcpProvide
rs,networkGurus,networkElements,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hierarchy
2013-04-30 11:11:37,697 INFO  [utils.component.ComponentContext] (main:null) Setup Spring
Application context
2013-04-30 11:11:38,132 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:null) Encryption
Type: file
2013-04-30 11:11:38,137 INFO  [db.Transaction.Transaction] (main:null) Encryption set
2013-04-30 11:11:38,630 INFO  [db.Transaction.Transaction] (main:null) SQL :cloudstackprp
cloudstackprp
2013-04-30 11:11:45,782 INFO  [cloud.serializer.GsonHelper] (main:null) Default Builder inited.
2013-04-30 11:11:46,540 INFO  [cloud.api.ApiServer] (main:null) Api Server initialize
2013-04-30 11:11:46,916 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
account.cleanup.interval
2013-04-30 11:11:46,916 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
agent.lb.enabled
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
agent.load.threshold
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.email.addresses
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.email.sender
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.smtp.host
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.smtp.password
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.smtp.port
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.smtp.useAuth
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.smtp.username
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
alert.wait
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
allow.public.user.templates
2013-04-30 11:11:46,917 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
allow.subdomain.network.access
2013-04-30 11:11:46,918 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
backup.snapshot.wait
2013-04-30 11:11:46,918 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
capacity.check.period
2013-04-30 11:11:46,918 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
capacity.skipcounting.hours
2013-04-30 11:11:46,918 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
check.pod.cidrs
2013-04-30 11:11:46,918 INFO  [configuration.dao.ConfigurationDaoImpl] (main:null) Config
cloud.identifier
2013-04-30 11:11:46,938 DEBUG [utils.crypt.DBEncryptionUtil] (main:null) Error while decrypting:
f8af0421-a349-487f-9a25-8f25540a2d2d
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'apiServer':
Invocation of init method failed; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleExcepti
on
        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.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:4205)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
        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:1315)
        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:1061)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
        at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)
        at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:725)
        at com.cloud.utils.crypt.DBEncryptionUtil.decrypt(DBEncryptionUtil.java:65)
        at com.cloud.configuration.ConfigurationVO.getValue(ConfigurationVO.java:92)
        at com.cloud.configuration.dao.ConfigurationDaoImpl.getConfiguration(ConfigurationDaoImpl.java:85)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.configuration.dao.ConfigurationDaoImpl.getConfiguration(ConfigurationDaoImpl.java:115)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.api.ApiServer.init(ApiServer.java:196)
        at com.cloud.api.ApiServer.initComponent(ApiServer.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
        ... 38 more


                
> Upgrade from 2.2.14 to 4.1.0 failed due to encryption error
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-2194
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2194
>             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
>            Assignee: sebastien goasguen
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> i'm trying to upgrade from 2.2.14 to 4.1.0.
> After setting encryption like that : 
> $> cloud-setup-encryption -m cloudstackprp -k cloudstackprp
> Preparing /etc/cloud/management/db.properties                                    [ OK
]
> Processing encryption ...                                                           
        [ OK ]
> Finalizing setup ...                                                                
             [ OK ]
> CloudStack has successfully setup Encryption
> I start Cloudstack. Output logs are here : http://pastebin.com/ZE99v90D
> db.properties content is :
>  $> grep -v "#" /etc/cloudstack/management/db.properties|sort
> cluster.node.IP=127.0.0.1
> cluster.servlet.port=9090
> db.awsapi.host=cloud-sql01-prp.cloud
> db.awsapi.name=cloudbridge
> db.awsapi.password=cloudstackprp
> db.awsapi.port=3306
> db.awsapi.username=cloudstackprp
> db.cloud.autoReconnect=true
> db.cloud.encryption.type=file
> db.cloud.encrypt.secret=ENC(dKaV+o5+JqtVi2tfo9xVn6eyUatFXwfZ)
> db.cloud.host=cloud-sql01-prp.cloud
> db.cloud.keyStore=
> db.cloud.keyStorePassword=
> db.cloud.maxActive=250
> db.cloud.maxIdle=30
> db.cloud.maxWait=10000
> db.cloud.minEvictableIdleTimeMillis=240000
> db.cloud.name=cloud
> db.cloud.password=ENC(IhnVBWyQT2ES/YNjPleAz6GXHoGrVsvq)
> db.cloud.poolPreparedStatements=false
> db.cloud.port=3306
> db.cloud.testOnBorrow=true
> db.cloud.testWhileIdle=true
> db.cloud.timeBetweenEvictionRunsMillis=40000
> db.cloud.trustStore=
> db.cloud.trustStorePassword=
> db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true
> db.cloud.username=cloudstackprp
> db.cloud.useSSL=false
> db.cloud.validationQuery=SELECT 1
> db.simulator.autoReconnect=true
> db.simulator.host=cloud-sql01-prp.cloud
> db.simulator.maxActive=250
> db.simulator.maxIdle=30
> db.simulator.maxWait=10000
> db.simulator.name=simulator
> db.simulator.password=cloudstackprp
> db.simulator.port=3306
> db.simulator.username=cloudstackprp
> db.usage.autoReconnect=true
> db.usage.host=cloud-sql01-prp.cloud
> db.usage.maxActive=100
> db.usage.maxIdle=30
> db.usage.maxWait=10000
> db.usage.name=cloud_usage
> db.usage.password=ENC(K57vTmW5CYCKY5P0B4NoeUchMwBPb1Z3)
> db.usage.port=3306
> db.usage.username=cloudstackprp
> region.id=1

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