You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Nicolas Lamirault (JIRA)" <ji...@apache.org> on 2013/05/01 07:14:15 UTC

[jira] [Commented] (CLOUDSTACK-2194) Upgrade from 2.2.14 to 4.1.0 failed due to encryption error

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

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

Sure, i will test this fix tomorrow on thursday. Do you think database upgrade will be called first ?
According to this patch, it seems only ApiServer is changed.

                
> 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: Kelven Yang
>            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