hai,<br><br>I am new to opennebula.I am using ttylinux image for virtual machine,it is downloaded form the opennebula website.<br>I was installed opennebula on my laptop,it is runnning ubuntu.And i am using oneadmin account for managing opennebuala.<br>
<br>I am using an another laptop for the cluster node,it is also runnig ubuntu. created oneadmin account in it.And installed kvm and libvirt-bin on it.and i added oneadmin account to kvm libvirtd groups.<br>I was created a birdged interface br0 on cluster node by editing /etc/network/interfaces and assign a ip address 198.162.2.33.<br>
<br>vm directories are shared using nfs.and i enable password less ssh access.<br><br>I was added the cluster node 198.168.2.33 to opennebula host using the commnad onehost.It executed sussefully.<br>I was created read lan virtual network ..using the command onevnet .<br>
the content in the file <a href="http://redlan.net">redlan.net</a> is<br>##################<a href="http://redlan.net############################################################">redlan.net############################################################</a><br>
NAME = "Red LAN"<br>TYPE = RANGED<br>BRIDGE = br0<br>NETWORK_SIZE = C<br>NETWORK_ADDRESS = 192.168.2.0<br>####################################################################################<br>i created a template for my virtual machine ttylinux.one content is <br>
#####################ttylinux.one#######################################################<br>NAME = ttylinux<br>CPU = 0.1<br>MEMORY = 64<br>DISK = [<br> source = "/srv/cloud/images/ttylinux.img",<br> target = "hda",<br>
readonly = "no" ]<br>NIC = [ NETWORK = "Red LAN" ]<br>FEATURES = [ acpi="no" ]<br>#This may be useful to debug your VMs (can use also console)<br>GRAPHICS = [<br> type = "vnc",<br>
listen = "loclahost",<br> port = "5902",<br> keymap="es"]<br>#####################################################################################<br>I was created this virual machine using the command onevm <br>
and i monitored the vm using the command "onevm top"<br>first the state of the vm is pend.then prolog.then boot<br>but after some time the boot is changed to failed.and i look at the vm.log file the content is like below.<br>
<br>#########################vm.log########################################################<br><br><br>Thu May 20 18:49:54 2010 [DiM][I]: New VM state is ACTIVE.<br>Thu May 20 18:49:55 2010 [LCM][I]: New VM state is PROLOG.<br>
Thu May 20 18:49:55 2010 [VM][I]: Virtual Machine has no context<br>Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: wysh-laptop:/srv/cloud/images/ttylinux.img 192.168.2.33:/srv/cloud/one/var//7/images/disk.0<br>Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//7/images/disk.0<br>
Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//7/images<br>Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//7/images".<br>Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//7/images".<br>
Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ttylinux.img<br>Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed "cp /srv/cloud/images/ttylinux.img /srv/cloud/one/var//7/images/disk.0".<br>
Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//7/images/disk.0".<br>Thu May 20 18:49:55 2010 [LCM][I]: New VM state is BOOT<br>Thu May 20 18:49:55 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/7/deployment.0<br>
Thu May 20 18:50:26 2010 [VMM][I]: Command execution fail: 'mkdir -p /srv/cloud/one/var//7/images && cat > /srv/cloud/one/var//7/images/deployment.0 && virsh --connect qemu:///system create /srv/cloud/one/var//7/images/deployment.0'<br>
Thu May 20 18:50:26 2010 [VMM][I]: STDERR follows.<br>Thu May 20 18:50:26 2010 [VMM][I]: Connecting to uri: qemu:///system<br>Thu May 20 18:50:26 2010 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//7/images/deployment.0<br>
Thu May 20 18:50:26 2010 [VMM][I]: error: monitor socket did not show up.: Connection refused<br>Thu May 20 18:50:26 2010 [VMM][I]: ExitCode: 1<br>Thu May 20 18:50:26 2010 [VMM][E]: Error deploying virtual machine<br>Thu May 20 18:50:27 2010 [DiM][I]: New VM state is FAILED<br>
Thu May 20 18:50:27 2010 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Deleting /srv/cloud/one/var//7/images<br><br>Thu May 20 18:50:27 2010 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//7/images".<br>
<br>Thu May 20 18:50:27 2010 [TM][W]: Ignored: TRANSFER SUCCESS 7 -<br>####################################################################################################################<br><br>please give me what is the problem and how can i recover form it....<br>
<br>Advanced Thanks......<br><br><br><br><br><br><br><br>