cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1747) mvn deploydb only creates 4.0 DB, not 4.1
Date Thu, 21 Mar 2013 17:11:17 GMT

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

Min Chen commented on CLOUDSTACK-1747:
--------------------------------------

You can do the wordings based on the following paragraph:

CloudStack's database is created using the 4.0 schema and updated to the 4.1 schema when the
management server starts for the first time.  It is fine to see the same schema as 4.0 if
the management server has not started yet.
                
> mvn deploydb only creates 4.0 DB, not 4.1
> -----------------------------------------
>
>                 Key: CLOUDSTACK-1747
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1747
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Doc
>    Affects Versions: 4.1.0
>            Reporter: Min Chen
>            Assignee: Jessica Tomechak
>             Fix For: 4.1.0
>
>
> 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. 

--
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

Mime
View raw message