[Agent Cloud : VMware vSphere] Unable to find folder ha-folder-vm in datacenter ha-datacenter

Answered

Please help. 

I correctly configure " Agent Cloud -> VMware vSphere" with Behaviour "Clone; Delete"

but in cloud logs see error "Unable to find folder ha-folder-vm in datacenter ha-datacenter" and VM not run.

 

URL : https://vmware/mob/?moid=ha-folder-vm

Work correctly.

 

Log Errors:

[2016-04-16 15:14:10,534] INFO [0 Flush Queue 1] - .server.impl.CloudEventsLogger - Cloud instance start succeeded: profile 'v'{id=vmw-1}, VmwareCloudInstance{myInstanceName='Agent-13'myState='SCHEDULED_TO_START'myStatusUpdateTime='Sat Apr 16 15:14:10 AST 2016'}


[2016-04-16 15:14:10,643] WARN ['v'{id=vmw-1} 1] - nnector.CloudAsyncTaskExecutor - An error occurred while executing : 'VmwareTaskWrapper{TaskName='Clone and start instance Agent-13',StartTime=Thu Jan 01 03:00:00 AST 1970}': java.util.concurrent.ExecutionException: jetbrains.buildServer.clouds.vmware.errors.VmwareCheckedCloudException: Unable to find folder ha-folder-vm in datacenter ha-datacenter
[2016-04-16 15:14:10,643] INFO ['v'{id=vmw-1} 1] - uds.base.AbstractCloudInstance - Changing Agent-13(1f15e8) status from Scheduled to start to Error
[2016-04-16 15:14:10,643] WARN ['v'{id=vmw-1} 1] - clouds.vmware.VmwareCloudImage - An error occurred: jetbrains.buildServer.clouds.vmware.errors.VmwareCheckedCloudException: Unable to find folder ha-folder-vm in datacenter ha-datacenter during processing Agent-13: java.util.concurrent.ExecutionException: jetbrains.buildServer.clouds.vmware.errors.VmwareCheckedCloudException: Unable to find folder ha-folder-vm in datacenter ha-datacenter (enable debug to see stacktrace)
[2016-04-16 15:14:10,643] INFO ['v'{id=vmw-1} 1] - clouds.vmware.VmwareCloudImage - Image Agent, remove instance Agent-13

 

I Use:

1) TeamCity 10 EAP build 40941

2) vmware ESXi 5.5 with all updates build 3568722

 

2 comments

What will happen, if you choose another folder?

0

I resolved it self!

Case #1 - When TeamCity connect directly to ESXi - have problem with snapshots.

Case #2 - When TeamCity connect to vCenter Server (connected to ESXi  from Case #1) - no problem with snapshots.

P.S. Use C# client (VMware vSphere Management SDK) direct connection to ESXi - no problem with snapshot.

 

0

Please sign in to leave a comment.