Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 66038200BE8 for ; Fri, 23 Dec 2016 13:21:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 64D81160B37; Fri, 23 Dec 2016 12:21:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AD045160B3B for ; Fri, 23 Dec 2016 13:21:33 +0100 (CET) Received: (qmail 83139 invoked by uid 500); 23 Dec 2016 12:21:31 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 82783 invoked by uid 99); 23 Dec 2016 12:21:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2016 12:21:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EAFEAF2DDA; Fri, 23 Dec 2016 12:21:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Date: Fri, 23 Dec 2016 12:21:45 -0000 Message-Id: <8e4a4d23d6184860a8f015a08f77d9fe@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [16/19] git commit: updated refs/heads/4.9 to 20986ba archived-at: Fri, 23 Dec 2016 12:21:34 -0000 Merge pull request #1827 from sateesh-chodapuneedi/pr-cloudstack-9673 CLOUDSTACK-9673 : Exception occured while creating the CPVM in VMware setup over standard vSwitchesJira === CLOUDSTACK-9673 : Exception occured while creating the CPVM in VMware setup over standard vSwitches Issue ==== Exception occured while creating the CPVM in the VmWare Setup using standard vswitches. ``` StartCommand failed due to Exception: com.vmware.vim25.AlreadyExists message: [] com.vmware.vim25.AlreadyExistsFaultMsg: The specified key, name, or identifier already exists ``` Fix === Ensure synchronization while attempting to create port group such that simultaneous attempts are not made with same port group name on same ESXi host. Testing ====== Successfully ran manual tests (deploy user instance) on top of latest master commit `17653a86fad67447a4f13e455e336694ad5c1735`.This code change is involved in virtual network creation over VMware standard vSwitches. Existing functional tests covers this functionality. * pr/1827: CLOUDSTACK-9673 Exception occured while creating the CPVM in the VmWare Setup over standard vSwitches Signed-off-by: Rohit Yadav Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/52f224f6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/52f224f6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/52f224f6 Branch: refs/heads/4.9 Commit: 52f224f61df65cea8389959f4accba8b7bb4583c Parents: 23df5be 32e9e29 Author: Rohit Yadav Authored: Thu Dec 22 15:12:16 2016 +0530 Committer: Rohit Yadav Committed: Thu Dec 22 15:12:16 2016 +0530 ---------------------------------------------------------------------- .../vmware/resource/VmwareResource.java | 16 +++--- .../com/cloud/hypervisor/vmware/mo/HostMO.java | 54 ++++++++++++++++++++ .../vmware/mo/HypervisorHostHelper.java | 7 ++- 3 files changed, 65 insertions(+), 12 deletions(-) ----------------------------------------------------------------------