[one-users] Cannot suspend or migrate/livemigrate a VM

Daniele Fetoni daniele.fetoni at hotmail.it
Fri Jun 18 07:06:24 PDT 2010


Maybe, I have solved my issue, but I still have one question.
Now I can migrate/livemigrate or suspend VMs, but I can do one of these operations just ONE TIME: if I migrate a VM, then re-migrate to the first host, I got error on qemu///session, because, qemu doesn't find the VM domain.

I wonder if this is normal, or I have still a problem. 
If so, I'll report specific logs.

Thanks again

Daniele Fetoni 

From: daniele.fetoni at hotmail.it
To: users at lists.opennebula.org
Date: Fri, 18 Jun 2010 12:38:08 +0200
Subject: [one-users] Cannot suspend or migrate/livemigrate a VM









Hi

I'm using opennebula 1.4, qemu-kvm and a nfs shared folder.
When I try to suspend a VM previously created and working, or even if I try to migrate/livemigrate it, I obtain always the same error:

Fri Jun 18 12:23:03 2010 [LCM][I]: New VM state is BOOT
Fri Jun 18 12:23:03 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/0/deployment.0
Fri Jun 18 12:23:04 2010 [LCM][I]: New VM state is RUNNING
Fri Jun 18 12:23:22 2010 [LCM][I]: New VM state is SAVE_SUSPEND
Fri Jun 18 12:23:23 2010 [VMM][I]: Command execution fail: 'touch /srv/cloud/one/var/0/images/checkpoint;virsh --connect qemu:///system save one-0 /srv/cloud/one/var/0/images/checkpoint'
Fri Jun 18 12:23:23 2010 [VMM][I]: STDERR follows.
Fri Jun 18 12:23:23 2010 [VMM][I]: error: Failed to save domain one-0 to /srv/cloud/one/var/0/images/checkpoint
Fri Jun 18 12:23:23 2010 [VMM][I]: error: operation failed: failed to create '/srv/cloud/one/var/0/images/checkpoint'
Fri Jun 18 12:23:23 2010 [VMM][I]: ExitCode: 1
Fri Jun 18 12:23:23 2010 [VMM][E]: Error saving VM state, -
Fri Jun 18 12:23:23 2010 [LCM][I]: Fail to save VM state. Assuming that the VM is still RUNNING (will poll VM).
Fri Jun 18 12:23:23 2010 [VMM][I]: VM running but new state from monitor is PAUSED.
Fri Jun 18 12:23:23 2010 [LCM][I]: VM is suspended.
Fri Jun 18 12:23:23 2010 [DiM][I]: New VM state is SUSPENDED

I have seen in archives this is a common problem, but none of the threads I read was helpful in my case.

I think this is a permission problem, nebula cannot write che checkpoint, but don't know how solve this (owning one location is not helpful, neither change qemu///system to qemu///session)

I can ssh passwordless all hosts from front end and viceversa.
I tried to use ssh instead of nfs, but there is the loop problem, as in http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-May/000412.html

How can I solve this????

Thanks in advance

Fetoni Daniele
 		 	   		  
nome.cognome @... Verifica la disponibilità sui  NUOVI domini 		 	   		  
_________________________________________________________________
Tutto lo spazio che ti serve, Hotmail va oltre i 5GB
http://www.windowslive.it/hotmail/SpazioDisponibile.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100618/ab5ed09c/attachment-0001.htm>


More information about the Users mailing list