You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jaro (JIRA)" <ji...@apache.org> on 2013/12/08 13:11:35 UTC
[jira] [Resolved] (CLOUDSTACK-5369) upgrade from 4.0.2 to 4.2 fail
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaro resolved CLOUDSTACK-5369.
------------------------------
Resolution: Fixed
java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="true" password="`cat /etc/cloudstack/management/key`" verbose=false
----OUTPUT----------------------
Ry6eEu????????Vmcwvyrw==
then:
UPDATE `cloud`.`configuration` SET `value`='Ry6eEu????????Vmcwvyrw==' WHERE `name`='secondary.storage.vm';
> 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)