VMware Communities
sdkuser
Contributor
Contributor

VC5 sdk not sending events for failure to create VM

I make a call to createVM using the sdk. I have a dedicated thread that makes the blocking calls to getUpdates from the SDK web services. When a change is reported I process that change to keep my environment coherent. Using VC 5 SDK when I try to create a VM on a host that does not have enough storage on the datastore for the vDisk requirement there is no notification sent from the web services notifiying the listening thread of the failure. If I use the vSphere client to attempt the same operation the create VM will fail with the error message: Insufficient disk space on data store. I was expecting to get this same message from the SDK.

Is there a fix for this missing message?

Tags (2)
0 Kudos
0 Replies