Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43E5B10E99 for ; Tue, 30 Jul 2013 17:53:53 +0000 (UTC) Received: (qmail 99954 invoked by uid 500); 30 Jul 2013 17:53:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 99837 invoked by uid 500); 30 Jul 2013 17:53:51 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 99756 invoked by uid 500); 30 Jul 2013 17:53:51 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 99721 invoked by uid 99); 30 Jul 2013 17:53:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 17:53:50 +0000 Date: Tue, 30 Jul 2013 17:53:50 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-3936) [Upgrade from 2.2.16 to 4.2] upgrade is not enabled from 2.2.16 to 4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724157#comment-13724157 ] ASF subversion and git services commented on CLOUDSTACK-3936: ------------------------------------------------------------- Commit 95fde83815aa0e63865cd16f160eb5fe08ca7612 in branch refs/heads/master from [~alena1108] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=95fde83 ] CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2 > [Upgrade from 2.2.16 to 4.2] upgrade is not enabled from 2.2.16 to 4.2 > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-3936 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3936 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Upgrade > Affects Versions: 4.2.0 > Environment: CS 2.2.16 to CS 4.2 upgrade > Reporter: Abhinav Roy > Assignee: Alena Prokharchyk > Priority: Blocker > Fix For: 4.2.0 > > Attachments: DB_DUMP_2216_cloud.sql, DB_DUMP_2216_cloud_usage.sql, management-server.log > > > Steps : > ====================== > 1. Deploy a CS 2.2.15 advanced zone setup with CentOS 6.0 and MS and Xen 6.0.2 as the Host. > 2. Do some pre-upgrade configurations. > 3. Stop the management server and usage server. > 4. Do the upgrade using install.sh script > 5. run cloudstack-setup-encryption > 6. start management server. > Expected behaviour : > ===================== > The DB upgrade should be successful > Observed behaviour : > ==================== > The DB upgrade fails with > 2013-07-30 14:09:52,809 INFO [utils.component.ComponentContext] (Timer-1:null) Running SystemIntegrityChecker encryptionSecretKeyChecker > 2013-07-30 14:09:52,810 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (Timer-1:null) Encryption Type: file > 2013-07-30 14:09:52,810 WARN [utils.crypt.EncryptionSecretKeyChecker] (Timer-1:null) Encryption already enabled, is check() called twice? > 2013-07-30 14:09:52,811 INFO [utils.component.ComponentContext] (Timer-1:null) Running SystemIntegrityChecker databaseIntegrityChecker > 2013-07-30 14:09:52,811 INFO [cloud.upgrade.DatabaseIntegrityChecker] (Timer-1:null) Grabbing lock to check for database integrity. > 2013-07-30 14:09:52,815 INFO [cloud.upgrade.DatabaseIntegrityChecker] (Timer-1:null) Performing database integrity check > 2013-07-30 14:09:52,839 DEBUG [cloud.upgrade.DatabaseIntegrityChecker] (Timer-1:null) No duplicate hosts with the same local storage found in database > 2013-07-30 14:09:52,845 DEBUG [upgrade.dao.VersionDaoImpl] (Timer-1:null) Checking to see if the database is at a version before it was the version table is created > 2013-07-30 14:09:52,868 INFO [utils.component.ComponentContext] (Timer-1:null) Running SystemIntegrityChecker managementServerNode > 2013-07-30 14:09:52,869 INFO [utils.component.ComponentContext] (Timer-1:null) Running SystemIntegrityChecker DatabaseUpgradeChecker > 2013-07-30 14:09:52,869 INFO [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:null) Grabbing lock to check for database upgrade. > 2013-07-30 14:09:52,871 DEBUG [upgrade.dao.VersionDaoImpl] (Timer-1:null) Checking to see if the database is at a version before it was the version table is created > 2013-07-30 14:09:52,875 INFO [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:null) DB version = 2.2.16.20130528070319 Code Version = 4.2.0-SNAPSHOT > 2013-07-30 14:09:52,876 INFO [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:null) Database upgrade must be performed from 2.2.16.20130528070319 to 4.2.0-SNAPSHOT > 2013-07-30 14:09:52,876 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:null) There is no upgrade path from 2.2.16.20130528070319 to 4.2.0-SNAPSHOT > 2013-07-30 14:09:52,878 ERROR [utils.component.ComponentContext] (Timer-1:null) System integrity check failed. Refuse to startup -- 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