Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-1747

mvn deploydb only creates 4.0 DB, not 4.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • Doc
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      In 4.1 branch and on developer environment, if we run mvn -P developer -pl developer -Ddeploydb to deploy fresh db, it will create 4.1 CS DB, which will only run 4.0 CS schema. Only when we start MS, it will upgrade DB to 4.0, this is not designed behavior for 4.1 DB change. The correct behavior is that mvn deploydb should create a fresh 4.1 DB, then in next release we can move DB upgrade logic from MS start code. The commit for this is already in master, we just need to cherry-pick the following two commits from master to 4.1: 5b760f903f1a3145f62d05c1d3c142b710248026 and a32c6d5c9d50320b2526bc9e8a6820dd1e0987f0.

      Attachments

        Activity

          People

            jzb Joe Brockmeier
            minchen07 Min Chen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: