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 27F6310E4D for ; Fri, 2 Aug 2013 12:01:55 +0000 (UTC) Received: (qmail 22647 invoked by uid 500); 2 Aug 2013 12:01:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 22540 invoked by uid 500); 2 Aug 2013 12:01:54 -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 22477 invoked by uid 500); 2 Aug 2013 12:01:54 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 22417 invoked by uid 99); 2 Aug 2013 12:01:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2013 12:01:54 +0000 Date: Fri, 2 Aug 2013 12:01:54 +0000 (UTC) From: "Bharat Kumar (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (CLOUDSTACK-3612) 3.0.6 to ASF 4.2 Upgrade: Database Schema Inconsistencies on the Upgraded Setup 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-3612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bharat Kumar reopened CLOUDSTACK-3612: -------------------------------------- > 3.0.6 to ASF 4.2 Upgrade: Database Schema Inconsistencies on the Upgraded Setup > ------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3612 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3612 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Upgrade > Affects Versions: 4.2.0 > Reporter: Chandan Purushothama > Assignee: Bharat Kumar > Priority: Critical > Fix For: 4.2.0 > > > Table 1: baremetal_dhcp_devices > On ASF 4.2 Setup: > `nsp_id` bigint(20) UNSIGNED DEFAULT NULL, > `pod_id` bigint(20) UNSIGNED DEFAULT NULL, > `device_type` varchar(255) DEFAULT NULL, > `physical_network_id` bigint(20) UNSIGNED DEFAULT NULL, > `host_id` bigint(20) UNSIGNED DEFAULT NULL, > On the 4.2 Upgraded Setup: > `nsp_id` bigint(20) UNSIGNED NOT NULL, > `pod_id` bigint(20) UNSIGNED NOT NULL, > `device_type` varchar(255) NOT NULL, > `physical_network_id` bigint(20) UNSIGNED NOT NULL, > `host_id` bigint(20) UNSIGNED NOT NULL, > Table 2: baremetal_pxe_devices > On ASF 4.2 Setup: > `nsp_id` bigint(20) UNSIGNED DEFAULT NULL, > `device_type` varchar(255) DEFAULT NULL, > `physical_network_id` bigint(20) UNSIGNED DEFAULT NULL, > `host_id` bigint(20) UNSIGNED DEFAULT NULL, > On the 4.2 Upgraded Setup: > `nsp_id` bigint(20) UNSIGNED NOT NULL, > `device_type` varchar(255) NOT NULL, > `physical_network_id` bigint(20) UNSIGNED NOT NULL, > `host_id` bigint(20) UNSIGNED NOT NULL, > Table 3: netscaler_pod_ref > On ASF 4.2 Setup: > Present on the Setup > Missing on the Upgraded Setup. > Table 4: nicira_nvp_nic_map > On ASF 4.2 Setup: > Constraint: > ALTER TABLE `cloud`.`nicira_nvp_nic_map` ADD CONSTRAINT `fk_nicira_nvp_nic_map__nic` > FOREIGN KEY ( `nic` ) REFERENCES `nics` ( `uuid` ) ON DELETE CASCADE; > On the 4.2 Upgraded Setup: > No such constraint > Table 5: router_network_ref > On ASF 4.2 Setup: > Constraint: > ALTER TABLE `cloud`.`router_network_ref` ADD CONSTRAINT `fk_router_network_ref__router_id` > FOREIGN KEY ( `router_id` ) REFERENCES `domain_router` ( `id` ) ON DELETE CASCADE; > On the 4.2 Upgraded Setup: > No such constraint > Table 6: sync_queue > On ASF 4.2 Setup: > `queue_size` smallint(6) NOT NULL DEFAULT '0', > `queue_size_limit` smallint(6) NOT NULL DEFAULT '1', > On the 4.2 Upgraded Setup: > `queue_size` smallint(6) DEFAULT '0', > `queue_size_limit` smallint(6) DEFAULT '1', > Table 7: usage_event > On ASF 4.2 Setup: > no virtual_size column > On the 4.2 Upgraded Setup: > `virtual_size` bigint(20) UNSIGNED DEFAULT NULL, > Table 8: volumes > On ASF 4.2 Setup: > no iso_id column > On the 4.2 Upgraded Setup: > `iso_id` bigint(20) UNSIGNED DEFAULT NULL, -- 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