[one-users] failes to deploy VM on VMWare Server

Tino Vazquez tinova at fdi.ucm.es
Mon Jun 14 10:21:26 PDT 2010


Hi Manish,

Could you check that "/data/one/vm_dir/2/deployment.0" indeed exists?

I assume "/data/one/vm_dir" is mounted as the ESXi datastore "datastore1".

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 Mon, Jun 14, 2010 at 12:44 PM, Manish Sapariya <manish at gslab.com> wrote:
> Hi,
> The VM deployment fails with following messages.
>
> =========vm.log================
> Mon Jun 14 15:02:24 2010 [LCM][I]: New VM state is BOOT
> Mon Jun 14 15:02:24 2010 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/2/deployment.0
> Mon Jun 14 15:02:24 2010 [VMM][E]: Error deploying virtual machine: Failed
> deploy
>
> ==============vmm_vmware.log==============
> [14.06.2010 15:02:24] Failed deploying VM 2 into quad1.gslab.com.Reason:
> /data/one/vm_dir/2/deployment.0 (No such file or directory)
> ---- Debug stack trace ----
> java.io.FileNotFoundException: /data/one/vm_dir/2/deployment.0 (No such file
> or directory)
>    at java.io.FileInputStream.open(Native Method)
>    at java.io.FileInputStream.<init>(FileInputStream.java:106)
>    at java.io.FileInputStream.<init>(FileInputStream.java:66)
>    at
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>
> What is causing the inconsistencies the config file path?
>
> My configuration snippets are as follows.
>
> ===== etc/oned.conf ===
> VM_DIR=/data/one/vm_dir
>
> ====== etc/vmm_vmware/vmm_vmwarerc ===
> # Datastore name
> VMWARE_DATASTORE=datastore1
>
> # Datacenter name
> VMWARE_DATACENTER=ha-datacenter
>
> ==========  etc/tm_vmware/tm_vmwarerc ====
> # Local path of the datastore
> DATASTORE_PATH=/data/one/vm_dir
>
> I assume opennebula core must be responsible
> for this, because I did not find any clue
> in vmm_vmware code or other support scripts.
>
> Any clues?
>
> --
> Thanks and Regards,
> Manish
>
> Office Phone : 46711053
> Extension    : #1053
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list