mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Issue ===== Exception observed while creating CPVM in VMware Setup with DVS. Observed error "StartCommand failed due to Exception: com.vmware.vim25.AlreadyExists." This is due to concurrent attempts to create same dv portgroup on same dvSwitch by manager threads of CPVM and SSVM when both are started at same time. Fix === Synchronize api calls to create/update dvportgroup. Also maintaing local cache to avoid multiple fetch api calls to vCenter when multiple threads try to create same object. Signed-off-by: Sateesh Chodapuneedi <sateesh.chodapuneedi@accelerite.com>