Dear all,

when I want to stop my Virtual Machine, through "onevm stop VM_ID", it stays stuck in the SAVE_STOP state.

The oned.log file just says "Stopping VM 15", whereas the vm.log file says:
[LCM][I]: New VM state is SAVE_STOP

Checking on the cluster node itself, through "virsh list" shows that the VM is in "paused" state, so I don't think there is a problem with ssh credentials or ACPI events.
Can somebody help me out?

Also, what is the specific difference between issuing a "stop" and a "shutdown" command?
Note that I am running OpenNebula 2.0, a previous post in this mailing list
http://www.mail-archive.com/users@lists.opennebula.org/msg01491.html was related to this issue, but no clue is given their about the possible reason for this VM being stuck in the SAVE_STOP state.

Best regards,
Pieter


Op 6/04/2011 7:16, Jeff schreef:
Hi,
Have you ever removed the ~/.ssh/known_hosts file ?  Try to ssh to your cluster node to make sure that you can login without a password. I have met a similar problem because the known_hosts file had been removed for some reasons.
Regards
Jeff

On 4/6/2011 12:51 PM, Khoa Nguyen 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

_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : www.ibcn.intec.UGent.be

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to