cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-3223) Exception observed while creating CPVM in VMware Setup with DVS
Date Wed, 17 May 2017 05:12:04 GMT


ASF subversion and git services commented on CLOUDSTACK-3223:

Commit 9bed11d1f1195dd5442241f0698f1ef539fa7de9 in cloudstack's branch refs/heads/4.9 from
[;h=9bed11d ]

CLOUDSTACK-3223 Exception observed while creating CPVM in VMware Setup with DVS

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.

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 <>

> Exception observed while creating CPVM in VMware Setup with DVS
> ---------------------------------------------------------------
>                 Key: CLOUDSTACK-3223
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.2.0
>            Reporter: Kiran Koneti
>            Assignee: Sateesh Chodapuneedi
>             Fix For:
>         Attachments: IssuewithPublicportgroupupdate.png, management-server.log.2013-06-26
> Exception occured while creating the CPVM in the VmWare Setup using *VMware dvSwitches*
using the latest SystemVM template, below are the steps followed.
> 1)Tried to create a VMware Advanced Zone  setup using the latest system VM template.
> 2)while creating the CPVM the below error message is observed:
> 2013-06-26 16:30:57,826 WARN  [vmware.resource.VmwareResource] (DirectAgent-3:
StartCommand failed due to Exception: com.vmware.vim25.AlreadyExists
> message: []
> com.vmware.vim25.AlreadyExistsFaultMsg: The specified key, name, or identifier already
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
>         at java.lang.reflect.Constructor.newInstance(
>         at
>         at
>         at
>         at
>         at $Proxy90.addPortGroup(Unknown Source)
>         at
>         at
>         at
>         at
>         at
>         at
>         at$
>         at java.util.concurrent.Executors$
>         at java.util.concurrent.FutureTask$Sync.innerRun(
>         at
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(
>         at java.util.concurrent.ScheduledThreadPoolExecutor$
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
>         at java.util.concurrent.ThreadPoolExecutor$"
> 3)The same error message is also observed in the Vcenter also for both 4.1 and 5.0 setups.
> Note:This error message does not prevent the creation of CPVM or any other functionality
of CS,but this would create a panic while creating the setup.

This message was sent by Atlassian JIRA

View raw message