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

Manish Sapariya manish at gslab.com
Mon Jun 14 03:44:50 PDT 2010


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



More information about the Users mailing list