[one-users] Not able to deploy vmware image

Christoph Stich christoph.stich at inovex.de
Mon Oct 22 02:23:05 PDT 2012


Hi,

I connected an esxi host to the opennebula frontend.
I uploaded the vmdk file (tty linux) to the frontend.

After deploying the template to the esxi host I receive the following 
error at the log:

Mon Oct 22 05:17:46 2012 [DiM][I]: New VM state is PENDING
Mon Oct 22 05:18:05 2012 [DiM][I]: New VM state is ACTIVE.
Mon Oct 22 05:18:05 2012 [LCM][I]: New VM state is PROLOG.
Mon Oct 22 05:18:05 2012 [VM][I]: Virtual Machine has no context
Mon Oct 22 05:18:09 2012 [TM][I]: clone: Cloning 
onefrontend:/var/lib/one/datastores/103/92d89d08bbaecbedef0da05d2dd985ca 
in /var/lib/one/datastores/0/75/disk.0
Mon Oct 22 05:18:09 2012 [TM][I]: ExitCode: 0
Mon Oct 22 05:18:10 2012 [LCM][I]: New VM state is BOOT
Mon Oct 22 05:18:10 2012 [VMM][I]: Generating deployment file: 
/var/lib/one/75/deployment.1
Mon Oct 22 05:18:10 2012 [VMM][I]: ExitCode: 0
Mon Oct 22 05:18:10 2012 [VMM][I]: Successfully execute network driver 
operation: pre.
Mon Oct 22 05:18:15 2012 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/75/deployment.1 
esxhost01 75 esxhost01
Mon Oct 22 05:18:15 2012 [VMM][E]: deploy: Error executing: virsh -c 
'esx://esxhost01/?no_verify=1&auto_answer=1' define 
/var/lib/one/75/deployment.1 err: ExitCode: 1
Mon Oct 22 05:18:15 2012 [VMM][I]: out:
Mon Oct 22 05:18:15 2012 [VMM][I]: 2012-10-22 09:18:14.934+0000: 21843: 
info : libvirt version: 0.9.13
Mon Oct 22 05:18:15 2012 [VMM][I]: 2012-10-22 09:18:14.934+0000: 21843: 
warning : esxVI_Context_Connect:687 : Found untested VI API major/minor 
version '5.1'
Mon Oct 22 05:18:15 2012 [VMM][I]: 2012-10-22 09:18:14.934+0000: 21843: 
warning : esxVI_Context_Connect:723 : Found untested ESX major/minor 
version '5.1.0'
Mon Oct 22 05:18:15 2012 [VMM][I]: error: Failed to define domain from 
/var/lib/one/75/deployment.1
Mon Oct 22 05:18:15 2012 [VMM][I]: error: internal error Could not find 
datastore with name '0'
Mon Oct 22 05:18:15 2012 [VMM][I]:
Mon Oct 22 05:18:15 2012 [VMM][I]: ExitCode: 255
Mon Oct 22 05:18:15 2012 [VMM][I]: Failed to execute virtualization 
driver operation: deploy.
Mon Oct 22 05:18:15 2012 [VMM][E]: Error deploying virtual machine
Mon Oct 22 05:18:15 2012 [DiM][I]: New VM state is FAILED
************************************************************

I made a symbolic link at the esxi host between /vmfs/volumes/hdd/0 to 
/var/lib/one/datastores/0 .

Thanks in advance for your help.

Regards
Chris


More information about the Users mailing list