[
https://issues.apache.org/jira/browse/CLOUDSTACK-7140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067674#comment-14067674
]
Pierre-Luc Dion commented on CLOUDSTACK-7140:
---------------------------------------------
to reproduce this issue:
1. following release notes to upgrade 4.2.x to 4.4.
2. after upgrading package starting CloudStack fail with following error in
managment-server.log:
{code}
com.cloud.utils.exception.CloudRuntimeException:
updateSystemVmTemplates:Exception:4.3.0 XenServer SystemVm template not found.
Cannot upgrade system Vms
{code}
3. then restarting cloudstack-management cause the db upgrade issue:
{code}
2014-07-19 16:45:22,132 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) Unable
to execute upgrade script:
/usr/share/cloudstack-management/setup/db/schema-421to430.sql
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column
name 'related'
{code}
> Upgrade 4.2.1 -> 4.4.0rc2
> -------------------------
>
> Key: CLOUDSTACK-7140
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7140
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Upgrade
> Affects Versions: 4.4.0
> Environment: CloudStack 4.2.1 on CentOS 6.5
> Reporter: Pierre-Luc Dion
> Priority: Critical
> Attachments: catalina.out, management-server.log
>
>
> Upgrading CloudStack management 4.2.1 to 4.4.0rc2 fail to upgrade database.
--
This message was sent by Atlassian JIRA
(v6.2#6252)