cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/mo
Rohit Yadav 52f224f61d 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 <rohit.yadav@shapeblue.com>
2016-12-22 15:12:16 +05:30
..
BaseMO.java CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-04-01 00:09:53 -06:00
ClusterMO.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
CustomFieldConstants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
CustomFieldsManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
DatacenterMO.java CLOUDSTACK-8112. CS allows creation of VM's with the same Display name when vm.instancename.flag is set to true. 2014-12-23 13:48:01 +05:30
DatastoreFile.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
DatastoreMO.java CLOUDSTACK-8318. Storage vMotion support for VMFS. 2015-03-12 11:57:01 +05:30
DiskControllerType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
DistributedVirtualSwitchMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
FeatureKeyConstants.java CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error 2013-07-08 12:49:39 +05:30
HostDatastoreBrowserMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostDatastoreSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostFirewallSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostMO.java CLOUDSTACK-9673 Exception occured while creating the CPVM in the VmWare Setup over standard vSwitches 2016-12-22 01:35:10 +05:30
HostNetworkSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostStorageSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostVirtualNicType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
HttpNfcLeaseMO.java Fix findbugs encoding warning in HttpNfcLeaseMO VMWare ovf files are utf-8 encoded. Relying on default encoding in some platforms such as windows would cause erroneous characters from being read on some fields like description, and could also cause the import to fail, depending on the characters. 2015-06-15 12:00:02 +03:00
HypervisorHostHelper.java CLOUDSTACK-9673 Exception occured while creating the CPVM in the VmWare Setup over standard vSwitches 2016-12-22 01:35:10 +05:30
LicenseAssignmentManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
LicenseManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
NetworkDetails.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
PerfCounterInfoMapper.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
PerfManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
ScsiDiskControllerType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
SnapshotDescriptor.java CLOUDSTACK-8656: try-with-resource in vmsd reader 2015-08-04 11:37:06 +02:00
TaskMO.java CLOUDSTACK-8656: filling empty catch block with info messages 2015-07-30 15:51:52 +02:00
VersioningContants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualDiskManagerMO.java CLOUDSTACK-8956: Add VMware Api v5.5 and change pom.xml to use VMware Api v5.5 2015-11-16 11:29:30 -08:00
VirtualEthernetCardType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualMachineDiskInfoBuilder.java vmware: improve support for disks 2016-04-18 22:44:18 +05:30
VirtualMachineMO.java CLOUDSTACK-9676 Start instance fails after reverting to a VM snapshot, when there are child VM snapshots 2016-12-22 13:29:07 +05:30
VirtualSwitchType.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VmdkAdapterType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmdkFileDescriptor.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmwareHostType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmwareHypervisorHost.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmwareHypervisorHostNetworkSummary.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VmwareHypervisorHostResourceSummary.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00