[one-users] vmware ESXi deployment

Tino Vazquez tinova at fdi.ucm.es
Mon Feb 8 10:36:03 PST 2010


Hi Tiago,

Have you set the VM_DIr variable in $ONE_LOCATION/etc/oned.conf? If
so, try unsetting it and repeat the test.

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Sun, Feb 7, 2010 at 5:27 PM, Tiago Batista <tiagosbatista at gmail.com> wrote:
> Hello all,
>
> After playing a little vith xen, I got tired and switched to vmware ESXi. I
> am not testing the deployment of a virtual machine with little success.
>
> Here is the vmm log:
> [07.02.2010 15:50:00] VMM parsing xml file
> /home/tsbatista/datastore/12/deployment.0 derived from
> /home/tsbatista/datastore/12/images/deployment.0
> [07.02.2010 15:50:03] DEPLOY FAILURE 12 Failed deploying VM in host
> parlamento.ieeta.pt.
> [07.02.2010 15:50:03] Failed deploying VM 12 into
> parlamento.ieeta.pt.Reason: /home/tsbatista/datastore/12/deployment.0 (No
> such file or directory)
>
> /home/tsbatista/datastore is my shared datastore, and in fact the deployment
> file never gets there. The only deployment file is at
> $ONE_LOCATION/var/12/deployment.0
>
>
> A part of the vmm/VirtualMachineManager.cc file reads:
>
>     //Generate VM description file
>     os.str("");
>     os << "Generating deployment file: " << vm->get_deployment_file();
>
>     vm->log("VMM", Log::INFO, os);
>
>     rc = vmd->deployment_description(vm,vm->get_deployment_file());
>
>     if (rc != 0)
>     {
>         goto error_file;
>     }
>
>     // Invoke driver method
>     vmd->deploy(vid,vm->get_hostname(),vm->get_remote_deployment_file());
>
>     vm->unlock();
>
>     return;
>
>
> Now, either I am missing something or the driver is writing to the local
> deployment file and attempting to read form the remote one that is never
> created... Is this a bug or am I missing some configuration option? I belive
> that adding a line like
>
> rc = vmd->deployment_description(vm,vm->get_remote_deployment_file());
>
> somewhere before performing the deployment would solve this. Am I correct in
> this assumption, or am I missing something?
>
> TIA
>
> Tiago
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list