[Rdo-list] Instance auto resume after compute node restart

Chris contact at progbau.de
Sat May 2 07:13:40 UTC 2015


Hello,

We want to have instances auto resume their status after a compute node 
reboot/failure. Means when the VM has the running state before it should 
be automatically started. We are using Icehouse.

There is the option resume_guests_state_on_host_boot=true|false which 
should exactly do what we want:
# Whether to start guests that were running before the host
# rebooted (boolean value)
resume_guests_state_on_host_boot=true

I tried it out and it just didn’t work. Libvirt fails to start the VMs 
because I couldn’t find the interfaces:
2015-04-30 06:16:00.783+0000: 3091: error : virNetDevGetMTU:343 : Cannot 
get interface MTU on 'qbr62d7e489-f8': No such device
2015-04-30 06:16:00.897+0000: 3091: warning : qemuDomainObjStart:6144 : 
Unable to restore from managed state 
/var/lib/libvirt/qemu/save/instance-0000025f.save. Maybe the file is 
corrupted?

I did some research and found some corresponding experiences from other 
users:
“AFAIK at the present time OpenStack (Icehouse) still not completely 
aware about environments inside it, so it can't restore completely after 
reboot.”
Source: 
http://stackoverflow.com/questions/23150148/how-to-get-instances-back-after-reboot-in-openstack

Is this feature really broken or do I just miss something?

Thanks in advance!

Cheers
Chris




More information about the dev mailing list