What I meant was:<br><br> /srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxxx virsh -d2 -c esx://esx/?no_verify=1 define /srv/cloud/one/var/37/<div dir="ltr">deployment.0</div><br>Try with -d1, -d2, -d3 and check the output for more informative error.<br>
<br>Regards<br>Marco<br><br><br><div class="gmail_quote">On Mon, Sep 10, 2012 at 11:02 AM, PJ PJ <span dir="ltr"><<a href="mailto:igranjo@hotmail.com" target="_blank">igranjo@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
<br>This is what I get:<br><br>oneadmin@opennebula:~/var$ /srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxxx virsh -c esx://esx/?no_verify=1 define /srv/cloud/one/var/37/deployment.0<br><br>error:Falló al definir un dominio para /srv/cloud/one/var/37/deployment.0<br>
error:error interno Código de respuesta HTTP 500 para enviar a '<a href="https://esx:443/folder/37%2fimages%2fdisk%2e0/one%2d37.vmx?dcPath=ha%2ddatacenter&dsName=images" target="_blank">https://esx:443/folder/37%2fimages%2fdisk%2e0/one%2d37.vmx?dcPath=ha%2ddatacenter&dsName=images</a>'<br>
<br>oneadmin@opennebula:~/var$ /srv/cloud/one/bin/tty_expect -u oneadmin -p cloud2011 virsh -c esx://esx/?no_verify=1<br><br>Bienvenido a virsh, la terminal de virtualización interactiva.<br><br>Ingrese: 'help' para obtener ayuda con los comandos<br>
       'quit' para salir<br><br>virsh #  define /srv/cloud/one/var/37/deployment.0<br><br><<<<<< I get No more lines beyond the above>>>>>><br><br>Error on defining a domain for define /srv/cloud/one/var/37/deployment.0 internal error<br>
<br>What Can I do ?<br><br>Thanks in advance.<br><div class="hm HOEnZb"><br></div><div><div class="hm HOEnZb"><div></div><hr>Date: Mon, 10 Sep 2012 10:21:20 +0200<br>Subject: Re: [one-users] internal error HTTP response code 500 for upload<br>
From: <a href="mailto:marco.bizzarri@gmail.com" target="_blank">marco.bizzarri@gmail.com</a><br>To: <a href="mailto:igranjo@hotmail.com" target="_blank">igranjo@hotmail.com</a><br>CC: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a></div>
<div><div class="h5"><br><br>Just a suggestion: can you try to replicate the <br><br>/srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxxx virsh -c esx://esx/?no_verify=1 define /srv/cloud/one/var/37/deployment.0<br><br>command by hand? You can pass the -d2 or -d3 option to virsh so that you'll have more debug output and decide what is going.<br>

<br>Regards<br>Marco<br><br><br><div>On Mon, Sep 10, 2012 at 10:04 AM, PJ PJ <span dir="ltr"><<a href="mailto:igranjo@hotmail.com" target="_blank">igranjo@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">
<br>Hi<br><br>When I deploy the machine over vmware 5.0 I get: internal error HTTP response code 500 for upload.<br><br>May anybody help, please?<br><br>Thanks in advance.<br><br>Mon Sep 10 07:11:04 2012 [TM][D]: Message received: LOG - 37 tm_ln.sh: Creating directory /srv/cloud/one/var/images/pedrot/37/images<br>

Mon Sep 10 07:11:04 2012 [TM][D]: Message received: LOG - 37 tm_ln.sh: Executed "mkdir -p /srv/cloud/one/var/images/pedrot/37/images".<br>Mon Sep 10 07:11:04 2012 [TM][D]: Message received: LOG - 37 tm_ln.sh: Executed "chmod a+w /srv/cloud/one/var/images/pedrot/37/images".<br>

Mon Sep 10 07:11:04 2012 [TM][D]: Message received: LOG - 37 tm_ln.sh: Link /srv/cloud/one/var/images/pedrot/images/93bbaffe699ff0e0d25416ecdffccca0ec256c48<br>Mon Sep 10 07:11:04 2012 [TM][D]: Message received: LOG - 37 tm_ln.sh: Executed "ln -s /srv/cloud/one/var/images/pedrot/images/93bbaffe699ff0e0d25416ecdffccca0ec256c4<br>

8 /srv/cloud/one/var/images/pedrot/37/images/disk.0".<br>Mon Sep 10 07:11:04 2012 [TM][D]: Message received: TRANSFER SUCCESS 37 -<br>Mon Sep 10 07:11:<a>06 2012</a> [VMM][D]: Message received: DEPLOY FAILURE 37 [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxxx virsh -c esx://esx/?n<br>

o_verify=1 define /srv/cloud/one/var/37/deployment.0]. Stderr:<br>Mon Sep 10 07:11:<a>06 2012</a> [VMM][D]: Message received: error: Failed to define domain from /srv/cloud/one/var/37/deployment.0<br>
Mon Sep 10 07:11:07 2012 [VMM][D]: Message received: error: internal error HTTP response code 500 for upload to '<a href="https://esx:443/folder/37/images/disk.0/one-37" target="_blank">https://esx:443/folder/37%2fimages%2fdisk%2e0/one%2d37</a>.<br>

vmx?dcPath=ha%2ddatacenter&dsName=images'<br>Mon Sep 10 07:11:07 2012 [VMM][D]: Message received:<br>Mon Sep 10 07:11:07 2012 [VMM][D]: Message received: . Stdout: ExitCode: 1<br>Mon Sep 10 07:11:07 2012 [VMM][D]: Message received: ExitCode: 1<br>

Mon Sep 10 07:11:07 2012 [TM][D]: Message received: LOG - 37 tm_delete.sh: Deleting /srv/cloud/one/var/images/pedrot/37/images<br>Mon Sep 10 07:11:07 2012 [TM][D]: Message received: LOG - 37 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var/images/pedrot/37/images".<br>

Mon Sep 10 07:11:07 2012 [TM][D]: Message received: TRANSFER SUCCESS 37 -<br><br>                                     </div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Marco Bizzarri<br><a href="http://code.google.com/p/qt-asterisk/" target="_blank">http://code.google.com/p/qt-asterisk/</a><br><a href="http://notenotturne.blogspot.com/" target="_blank">http://notenotturne.blogspot.com/</a><br>

<a href="http://iliveinpisa.blogspot.com/" target="_blank">http://iliveinpisa.blogspot.com/</a><br></div></div></div>                                     </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Marco Bizzarri<br><a href="http://code.google.com/p/qt-asterisk/">http://code.google.com/p/qt-asterisk/</a><br><a href="http://notenotturne.blogspot.com/">http://notenotturne.blogspot.com/</a><br>
<a href="http://iliveinpisa.blogspot.com/">http://iliveinpisa.blogspot.com/</a><br>