Hi, >From the vm.log field, it appears that that there was problem in generating the deployment file for the virtual machine. This generally occurs when the VM template file has some problems.(I can remember I faced a similar issue). Since the VM is getting to the boot state , there should not be an issue with resource availability. I suggest you to look into the deployment file (deployment.0) for the VM. which is generated by opennebula. There could be an issue with the hypervisor (check the hypervisor logs in the cluster nodes) Regarding stop and resume commands, are you getting to the stop state when you are stopping the VM. You can only perform resume operation from stopped or suspended state which most probably is the reason for "wrong state to perform action"
Regards, Prakhar On Wed, Apr 6, 2011 at 10:21 AM, Khoa Nguyen <vankhoa...@gmail.com> wrote: > Hj , > > Some information about one.log and vm.log. > one.log. > > Thu Apr 7 16:37:41 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > Thu Apr 7 16:37:53 2011 [ReM][D]: VirtualMachineAllocate invoked > Thu Apr 7 16:37:56 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > Thu Apr 7 16:38:02 2011 [ReM][D]: VirtualMachineDeploy invoked > Thu Apr 7 16:38:02 2011 [DiM][D]: Deploying VM 69 > Thu Apr 7 16:38:58 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > Thu Apr 7 16:39:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > oneadmin-desktop:/srv/cloud/images/ubuntu/ubuntu.img 172.29.70.137: > /srv/cloud/one/var//69/images/disk.0 > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > DST: /srv/cloud/one/var//69/images/disk.0 > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > Creating directory /srv/cloud/one/var//69/images > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > Executed "mkdir -p /srv/cloud/one/var//69/images". > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > Executed "chmod a+w /srv/cloud/one/var//69/images". > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > Cloning /srv/cloud/images/ubuntu/ubuntu.img > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > Executed "cp -r /srv/cloud/images/ubuntu/ubuntu.img > /srv/cloud/one/var//69/images/disk.0". > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: > Executed "chmod a+rw /srv/cloud/one/var//69/images/disk.0". > > Thu Apr 7 16:39:33 2011 [TM][D]: Message received: TRANSFER SUCCESS 69 - > > Thu Apr 7 16:39:34 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > Thu Apr 7 16:39:38 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > Thu Apr 7 16:41:18 2011 [InM][I]: Monitoring host 172.29.70.137 (1) > Thu Apr 7 16:41:22 2011 [InM][D]: Host 1 successfully monitored. > > vm.log > > Thu Apr 7 16:38:02 2011 [DiM][I]: New VM state is ACTIVE. > Thu Apr 7 16:38:03 2011 [LCM][I]: New VM state is PROLOG. > Thu Apr 7 16:38:03 2011 [VM][I]: Virtual Machine has no context > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: > oneadmin-desktop:/srv/cloud/images/ubuntu/ubuntu.img 172.29.70.137: > /srv/cloud/one/var//69/images/disk.0 > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: DST: > /srv/cloud/one/var//69/images/disk.0 > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Creating directory > /srv/cloud/one/var//69/images > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p > /srv/cloud/one/var//69/images". > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w > /srv/cloud/one/var//69/images". > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Cloning > /srv/cloud/images/ubuntu/ubuntu.img > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "cp -r > /srv/cloud/images/ubuntu/ubuntu.img /srv/cloud/one/var//69/images/disk.0". > Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw > /srv/cloud/one/var//69/images/disk.0". > Thu Apr 7 16:39:35 2011 [LCM][I]: New VM state is BOOT > Thu Apr 7 16:39:35 2011 [VMM][I]: Generating deployment file: > /srv/cloud/one/var/69/deployment.0 > > I don't know why . When i turn on computer, I create VM sucessfully. It > changes status from pending to running. Unfortunaly, After i try to stop and > resume VM , I can't . It's display error : wrong state. Then, I delete that > VM and create a new VM. It's remain boot state. > Thank you for your reply. > > On Mon, Apr 4, 2011 at 5:27 PM, Prakhar Srivastava > <prakhar....@gmail.com>wrote: > >> Hi, >> Could you please provide the log files : oned.log and virtual machine >> (that did not pass the boot state) log file. You can find them in >> /var/log/one directory. >> >> Regards, >> Prakhar >> >> On Mon, Apr 4, 2011 at 1:24 PM, Khoa Nguyen <vankhoa...@gmail.com> wrote: >> >>> Hj all. >>> First time , when i deploy VM on host. It changes the status from pending >>> to running. Then I create the second VM but it remain boot status. I don't >>> know why. Anybody know? Help me. Thank you in advance. >>> -- >>> Nguyễn Vũ Văn Khoa >>> Đại học Khoa Học Tự Nhiên TP HCM >>> >>> >>> >>> _______________________________________________ >>> Users mailing list >>> Users@lists.opennebula.org >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >> > > > -- > Nguyễn Vũ Văn Khoa > Đại học Khoa Học Tự Nhiên TP HCM > > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org