[one-users] vmware deploy error
antoni artigues
tartigues at iac3.eu
Wed Feb 16 00:19:49 PST 2011
Hello
I'm still with the same problem.
I'm using opennebula 2.0.1, vmware driver addon, and vmware server 2.0.2
I can't be able to deploy a vm into any cluster node. The error is at
domain definition:
"Failed to define domain from /srv/cloud/one/var/5/deployment.0"
The vm template is:
----------------------
NAME="ubuntuVM"
VCPU = 1
MEMORY = 1024
OS = [ ARCH = "i686" ]
DISK=[IMAGE="myVMwareVM"]
NIC=[NETWORK="vmware LAN"]
----------------------
the domain file is:
-------------------------
<domain type='vmware'>
<name>one-5</name>
<vcpu>1</vcpu>
<memory>1048576</memory>
<os>
<type arch='i686'>hvm</type>
</os>
<devices>
<disk type='file' device='disk'>
<source file='[cloudds] 5/images/disk.0/disk.vmdk'/>
<target dev='hda'/>
</disk>
<interface type='bridge'>
<source bridge='vmnet0'/>
<mac address='02:00:c0:a8:05:03'/>
</interface>
</devices>
</domain>
-------------------------
I try to execute the virsh command directly with this result:
-----------------------
root at cloudmaster:# virsh -c gsx://oscarnode5?no_verify=1
define /srv/cloud/one/var/5/deployment.0
Enter username for oscarnode5 [root]: oneadmin
Enter oneadmin's password for oscarnode5:
error: Failed to define domain from /srv/cloud/one/var/5/deployment.0
error: internal error HTTP response code 503 for upload to
'https://oscarnode5:8333/folder/5%2fimages%2fdisk%2e0/one%
2d5.vmx?dcPath=ha%2ddatacenter&dsName=cloudds'
--------------------------
the complete log error is:
-------------------------------
Wed Feb 16 09:02:42 2011 [LCM][I]: New VM state is BOOT
Wed Feb 16 09:02:42 2011 [VMM][I]: Generating deployment
file: /srv/cloud/one/var/5/deployment.0
Wed Feb 16 09:02:43 2011 [VMM][I]: Command execution
fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy
oscarnode5 /srv/cloud/one/var/5/deployment.0
Wed Feb 16 09:02:43 2011 [VMM][I]: STDERR follows.
Wed Feb 16 09:02:43 2011 [VMM][I]: [VMWARE] cmd failed
[/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c
gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/5/deployment.0 ].
Stderr:
Wed Feb 16 09:02:43 2011 [VMM][I]: error: Failed to define domain
from /srv/cloud/one/var/5/deployment.0
Wed Feb 16 09:02:43 2011 [VMM][I]: error: internal error HTTP response
code 503 for upload to 'https://oscarnode5:8333/folder/5%2fimages%2fdisk
%2e0/one%2d5.vmx?dcPath=ha%2ddatacenter&dsName=cloudds'
Wed Feb 16 09:02:43 2011 [VMM][I]:
Wed Feb 16 09:02:43 2011 [VMM][I]: . Stdout: ExitCode: 1
Wed Feb 16 09:02:43 2011 [VMM][I]: ExitCode: 1
Wed Feb 16 09:02:43 2011 [VMM][E]: Error deploying virtual machine
Wed Feb 16 09:02:43 2011 [DiM][I]: New VM state is FAILED
-------------------------------
Thanks in advance
regards
Antoni Artigues
El mar, 15-02-2011 a las 14:50 +0100, antoni artigues escribió:
> Hello
>
> I'm trying to deploy a vm in vmware server.
>
> But the final state is "fail". Here is the vm log:
>
> Tue Feb 15 14:43:48 2011 [VMM][I]: Generating deployment
> file: /srv/cloud/one/var/1/deployment.0
> Tue Feb 15 14:43:49 2011 [VMM][I]: Command execution
> fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy
> oscarnode5 /srv/cloud/one/var/1/deployment.0
> Tue Feb 15 14:43:49 2011 [VMM][I]: STDERR follows.
> Tue Feb 15 14:43:49 2011 [VMM][I]: [VMWARE] cmd failed
> [/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c
> gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/1/deployment.0].
> Stderr:
> Tue Feb 15 14:43:49 2011 [VMM][I]: error:Falló al definir un dominio
> para /srv/cloud/one/var/1/deployment.0
> Tue Feb 15 14:43:49 2011 [VMM][I]: error:error interno Código de
> respuesta HTTP 503 para enviar a 'https://oscarnode5:8333/folder/1%
> 2fimages%2fdisk%2e0/one%2d1.vmx?dcPath=ha%2ddatacenter&dsName=cloudds'
> Tue Feb 15 14:43:49 2011 [VMM][I]:
> Tue Feb 15 14:43:49 2011 [VMM][I]: . Stdout: ExitCode: 1
> Tue Feb 15 14:43:49 2011 [VMM][I]: ExitCode: 1
>
> I don't know where could be the error.
>
> Thanks in advance
>
> regards
>
> Antoni Artigues
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list