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 D8596109B5 for ; Wed, 14 Aug 2013 17:28:52 +0000 (UTC) Received: (qmail 32493 invoked by uid 500); 14 Aug 2013 17:28:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 32255 invoked by uid 500); 14 Aug 2013 17:28:50 -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 32213 invoked by uid 500); 14 Aug 2013 17:28:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 32184 invoked by uid 99); 14 Aug 2013 17:28:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 17:28:49 +0000 Date: Wed, 14 Aug 2013 17:28:49 +0000 (UTC) From: "Jessica Wang (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4220) 3.0.6 to ASF 4.2 Upgrade: "Add VMWare DataCenter" button should not be provided for Legacy Zones 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-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jessica Wang updated CLOUDSTACK-4220: ------------------------------------- Fix Version/s: (was: 4.2.0) Future > 3.0.6 to ASF 4.2 Upgrade: "Add VMWare DataCenter" button should not be provided for Legacy Zones > ------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-4220 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4220 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: UI > Affects Versions: 4.2.0 > Reporter: Chandan Purushothama > Assignee: Sateesh Chodapuneedi > Priority: Critical > Fix For: Future > > Attachments: 306mysql_cloud_dump.zip, jessica_zoneDetailPage.PNG > > > After Upgrade, DB Observations: > mysql> select * from vmware_data_center; > Empty set (0.03 sec) > mysql> select * from vmware_data_center_zone_map; > Empty set (0.02 sec) > mysql> select * from legacy_zones; > +----+---------+ > | id | zone_id | > +----+---------+ > | 1 | 1 | > +----+---------+ > 1 row in set (0.00 sec) > mysql> select * from clusters; > ERROR 1146 (42S02): Table 'cloud.clusters' doesn't exist > mysql> select * from cluster; > +----+--------------------------------+--------------------------------------+--------------------------------------+--------+----------------+-----------------+-----------------+------------------+---------------+---------+-------+---------+-------------+--------------+ > | id | name | uuid | guid | pod_id | data_center_id | hypervisor_type | cluster_type | allocation_state | managed_state | removed | owner | created | lastUpdated | engine_state | > +----+--------------------------------+--------------------------------------+--------------------------------------+--------+----------------+-----------------+-----------------+------------------+---------------+---------+-------+---------+-------------+--------------+ > | 1 | 10.223.52.61/VMDC/clus1 | 2bc52adc-0345-426d-b4dc-b10bb26b475c | c4ca4238-a0b9-3382-8dcc-509a6f75849b | 1 | 1 | VMware | ExternalManaged | Enabled | Managed | NULL | NULL | NULL | NULL | Disabled | > | 2 | 10.223.52.61/OTHERVMDC/clus2 | e80bff91-598e-4d4e-8951-205311a979d4 | c81e728d-9d4c-3f63-af06-7f89cc14862c | 2 | 1 | VMware | ExternalManaged | Enabled | Managed | NULL | NULL | NULL | NULL | Disabled | > | 3 | 10.223.52.61/ANOTHERVMDC/clus3 | 159b911e-864d-41ef-b24e-de7be25a0ffb | eccbc87e-4b5c-32fe-a830-8fd9f2a7baf3 | 1 | 1 | VMware | ExternalManaged | Enabled | Managed | NULL | NULL | NULL | NULL | Disabled | > +----+--------------------------------+--------------------------------------+--------------------------------------+--------+----------------+-----------------+-----------------+------------------+---------------+---------+-------+---------+-------------+--------------+ > 3 rows in set (0.00 sec) > mysql> > Reference: the Mapping Model at https://cwiki.apache.org/confluence/display/CLOUDSTACK/Mapping+model+for+CloudStack+zone+and+Vmware+datacenter > Considering a model where a CloudStack deployment will have some zones with multiple DCs and some zones with single DC. This comes from the fact that existing CloudStack deployment has zones with multiple DCs. But after upgrade to the newest version, customer would like to have existing zones to operate as-is. But all new CloudStack zones would be having single DC. In this model, the existing zone with multiple DCs is termed as Legacy zone and it will not support the zone wide features are requires a zone to have only 1 DC. Also operations on legacy zone should be seamless (like adding a cluster etc.) as they were before upgrade. This means the code base doesn't apply any new logic, that affects the functionality, over legacy zone. For example, constraint checks that happen while adding a cluster to new zone should not be done if the zone is legacy zone. -- 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