cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5369) upgrade from 4.0.2 to 4.2 fail
Date Wed, 04 Dec 2013 16:17:35 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jaro updated CLOUDSTACK-5369:
-----------------------------

    Description: 
Hello
I try to upgrade CloudStak 4.0.2 to 4.2.
I go with procedure from DOC

I run "cloudstack-management start"
cloudstack successfully prepare database
" Upgrade completed for version 4.2.0"

and try to start and stops on

utils.crypt.DBEncryptionUtil] (Timer-2:null) Error while decrypting: true

in mysql last log seen
UPDATE configuration SET value = 'qUC9aJDgXXXXXXXMX1ST/ZA==' WHERE name =
'init'

I decrypt all password in db.properties and password above and all is ok

in catalina.out i found some error:


Exception in thread "Timer-2"
org.jasypt.exceptions.EncryptionOperationNotPossibleException
        at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:918)
        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:84)
        at
com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a.CGLIB$getConfiguration$6(<generated>)
        at
com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a_FastClassByCloudStack_f2c2e518.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
        at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at
com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a.getConfiguration(<generated>)
        at
com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1287)
        at
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
        at
com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:534)
        at java.util.TimerThread.run(Timer.java:484)



  was:
Hello
I try to upgrade CloudStak 4.0.2 to 4.2.
I go with procedure from DOC

I run "cloudstack-management start"
cloudstack successfully prepare database
" Upgrade completed for version 4.2.0"

and try to start and stops on

utils.crypt.DBEncryptionUtil] (Timer-2:null) Error while decrypting: true

in mysql last log seen
UPDATE configuration SET value = 'qUC9aJDgXXXXXXXMX1ST/ZA==' WHERE name =
'init'

I decrypt all password in db.properties and password above and all is ok

in catalina.out i found some error:

in catalina.out

Exception in thread "Timer-2"
org.jasypt.exceptions.EncryptionOperationNotPossibleException
        at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:918)
        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:84)
        at
com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a.CGLIB$getConfiguration$6(<generated>)
        at
com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a_FastClassByCloudStack_f2c2e518.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
        at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at
com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a.getConfiguration(<generated>)
        at
com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1287)
        at
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
        at
com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:534)
        at java.util.TimerThread.run(Timer.java:484)




> upgrade from 4.0.2 to 4.2 fail
> ------------------------------
>
>                 Key: CLOUDSTACK-5369
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5369
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server, Upgrade
>    Affects Versions: 4.0.2, 4.2.0
>         Environment: CentOS release 6.4
>            Reporter: Jaro
>              Labels: fail, upgrade
>
> Hello
> I try to upgrade CloudStak 4.0.2 to 4.2.
> I go with procedure from DOC
> I run "cloudstack-management start"
> cloudstack successfully prepare database
> " Upgrade completed for version 4.2.0"
> and try to start and stops on
> utils.crypt.DBEncryptionUtil] (Timer-2:null) Error while decrypting: true
> in mysql last log seen
> UPDATE configuration SET value = 'qUC9aJDgXXXXXXXMX1ST/ZA==' WHERE name =
> 'init'
> I decrypt all password in db.properties and password above and all is ok
> in catalina.out i found some error:
> Exception in thread "Timer-2"
> org.jasypt.exceptions.EncryptionOperationNotPossibleException
>         at
> org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:918)
>         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:84)
>         at
> com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a.CGLIB$getConfiguration$6(<generated>)
>         at
> com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a_FastClassByCloudStack_f2c2e518.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
>         at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at
> com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_daa8e77a.getConfiguration(<generated>)
>         at
> com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1287)
>         at
> com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
>         at
> com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:534)
>         at java.util.TimerThread.run(Timer.java:484)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message