[one-users] vmware ESXi deployment

Tiago Batista tiagosbatista at gmail.com
Sun Feb 7 08:27:08 PST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100207/2a389183/attachment-0001.htm>


More information about the Users mailing list