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 46E4D105F6 for ; Mon, 1 Jul 2013 17:58:24 +0000 (UTC) Received: (qmail 45554 invoked by uid 500); 1 Jul 2013 17:58:24 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 45072 invoked by uid 500); 1 Jul 2013 17:58:20 -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 45041 invoked by uid 500); 1 Jul 2013 17:58:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 45036 invoked by uid 99); 1 Jul 2013 17:58:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 17:58:20 +0000 Date: Mon, 1 Jul 2013 17:58:20 +0000 (UTC) From: "Jessica Wang (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-3162) [UI] UI does not allow to fix errors with Cluster addition failure saying " Zone 1 is already associated with a VMware datacenter" 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-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jessica Wang reassigned CLOUDSTACK-3162: ---------------------------------------- Assignee: Sateesh Chodapuneedi (was: Jessica Wang) Sailaja, This is a server-side bug, not UI bug. Sateesh, Server-side shouldn't add entry to database when addVmwareDc API fails. Server-side should only add entry to database when addVmwareDc API succeeds. All other addXXXXXXX API don't add entry to database when they fail. Jessica > [UI] UI does not allow to fix errors with Cluster addition failure saying " Zone 1 is already associated with a VMware datacenter" > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3162 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3162 > 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: Sailaja Mada > Assignee: Sateesh Chodapuneedi > Priority: Critical > Fix For: 4.2.0 > > > Steps: > 1. Tried to configure Adv zone with Nexus 1000v enabled VMWARE cluster > 2. It failed to VMWARE cluster with invalid nexus credentials issue > 3. Later tried to add cluster again with correct credentials with Fix Errors option > Observation: > Cluster addition failed saying " Zone 1 is already associated with a VMware datacenter" > I had to cancel the cluster add operation from zone config screen . Later i added cluster from clusters screen then it worked. > Reasons: > 1. AddVMWAREDC is called during cluster addition, when there is a failure in cluster addition with other reasons then we are not calling removeVMWAREDC to ensure proper cleanup. > 2. Whenever we tried to add cluster using fix errors option , we are calling addVMWAREDc again. Which is not allowed as it is already added to vmware. -- 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