VMWare Plugin : no image recognized

 

Hello,
 

I am really interested by the VMWare Plugin, and I am giving it a try on my local machine.
 

I have followed the installation guide to install the VMWare Plugin for TeamCity :
 

http://confluence.jetbrains.com/display/TW/Cloud-VMWare+plugin
 

However, the virtual machine is never recognized by TeamCity. In the Cloud section, under the cloud profile created, I have always the same message: ‘No images were found.’
 

What am I doing wrong? Please find below my configuration.
 

Many thanks for your help !

 

TeamCity Professional 8.0.5 (build 27692) installed on my local machine (running W7).

VM Player 6.0.1 build-1379776.
 

VMware VIX 1.13.0
 

I have a windows 8 virtual Machine with the agent installed and running on startup. I have also installed the VMWare tools. From the VM machine, I can access TeamCity server successfully using the browser.
 

My “teamcityvmwaretest-image-info.xml” file is the following. The file is located at “C:\VM\”
 

<jetbrains.buildServer.clouds.vmware.settings.VMImageInfo>   
 

<!-- virtual machine unique id -->   
 

<myId>VM-EMD-WIN864</myId>      
 

<!-- local path to .vmx file -->   
 

<myImagePath>"C:\VM\Windows 8 Pro x64\Windows 8 Pro x64.vmx"</myImagePath>         
 

<!-- path to buildAgent.properties inside the virtual machine -->   
 

<myImageAgentConfigLocation>C:\buildAgent\conf\buildAgent.properties</myImageAgentConfigLocation>      
 

<!-- login/password for the virtual machine administrator account -->    
 

<myUserName>xxxx</myUserName>   
 

<myPassword>xxxx</myPassword>
 

</jetbrains.buildServer.clouds.vmware.settings.VMImageInfo>
 

The command that I am running is the following:
 

java -jar cloud-vmware-client.jar /server:"http:// MyLocalComputer:90" /vmrun:"C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" /store:"C:\VM\" /maxInstances:1
 

Then the client start running and I can see the following logs :
 

C:\TeamCityClients>cd teamcity-vmware-client
 

C:\TeamCityClients\teamcity-vmware-client>java -jar cloud-vmware-client.jar /ser
 

ver:"http://MyLocalComputer:90" /vmrun:"C:\Program Files (x86)\VMware\VMware VIX\vmr
 

un.exe" /store:"C:\VM\" /maxInstances:1
 

Loading libraries from: C:\TeamCityClients\teamcity-vmware-client\lib
 

Looking for images from: C:\VM" \maxInstances:1
 

Connecting to TeamCity server at: http://MyLocalComputer:90
 

Will use VMWare VIX from: C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe
 

Client is waiting for commands from TeamCity server...
 

[2014-01-20 09:27:31,841]   INFO - uds.vmware.client.LoggingVMRun - Server version is: 42
 

[2014-01-20 09:29:55,728]   INFO - uds.vmware.client.LoggingVMRun - Client version is: 42
 

[2014-01-20 09:28:59,170]   INFO - uds.vmware.client.LoggingVMRun - Computing local images...
 

[2014-01-20 09:28:35,082]   INFO - uds.vmware.client.LoggingVMRun - Computing local images...
 

[2014-01-20 09:28:10,989]   INFO - uds.vmware.client.LoggingVMRun - Computing local images...
 

[2014-01-20 09:27:43,906]   INFO - uds.vmware.client.LoggingVMRun - Computing local images...
 

[2014-01-20 09:29:55,792]   INFO - uds.vmware.client.LoggingVMRun - Found 0 local images
 

[2014-01-20 09:29:55,792]   INFO - uds.vmware.client.LoggingVMRun - Found 0 local images
 

[2014-01-20 09:29:55,792]   INFO - uds.vmware.client.LoggingVMRun - Found 0 local images
 

[2014-01-20 09:29:55,792]   INFO - uds.vmware.client.LoggingVMRun - Found 0 local images
 

[2014-01-20 09:30:01,789]   INFO - uds.vmware.client.LoggingVMRun - Server version is: 42
 

[2014-01-20 09:30:01,791]   INFO - uds.vmware.client.LoggingVMRun - Client version is: 42
 

[2014-01-20 09:30:13,822]   INFO - uds.vmware.client.LoggingVMRun - Computing local images...
 

[2014-01-20 09:30:13,823]   INFO - uds.vmware.client.LoggingVMRun - Found 0 local images
 

[2014-01-20 09:30:16,833]   INFO - uds.vmware.client.LoggingVMRun - Pinging running instances...
 

[2014-01-20 09:30:16,921]   INFO - are.vmrun.local.LocalVMCommand - Starting command: "C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" -T player list
 

[2014-01-20 09:30:17,570]   INFO - are.vmrun.local.LocalVMCommand - Result: Total running VMs: 1
 

C:\VM\Windows 8 Pro x64\Windows 8 Pro x64.vmx
 

[2014-01-20 09:30:17,570]   INFO - are.vmrun.local.LocalVMCommand - Result:
 

[2014-01-20 09:30:17,571]   INFO - are.vmrun.local.LocalVMCommand - Code: 0
 

[2014-01-20 09:30:17,572]   INFO - uds.vmware.client.LoggingVMRun - Found 0 running instances
 

Please sign in to leave a comment.