CloudStack
  1. CloudStack
  2. CLOUDSTACK-2194

Upgrade from 2.2.14 to 4.1.0 failed due to encryption error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      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

        Activity

          People

          • Assignee:
            Kelven Yang
            Reporter:
            Nicolas Lamirault
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development