Revision history [back]

click to hide/show revision 1
initial version

How do I restart a suspended VM after a reboot?

I was experimenting with managing server recovery after a reboot and put several vms in suspend status. To my horror I discovered that I cannot resume them. The problem appears to be described here (https://bugs.launchpad.net/nova/+bug/1052696), but does not offer any suggestion how to recover from this scenario. I have tried 'resume instance' from horizon - errors in nova-api.log: 2013-08-12 21:16:40.069 INFO nova.osapi_compute.wsgi.server [req-58ab0c59-7070-4ae3-af51-e12853cd6c30 3036f84a152d4b9e9a8e456e386c2d7d d31d9dff59e34b0d86dac87abcb05a0f] 172.30.1.24 "GET /v2/d31d9dff59e34b0d86dac87abcb05a0f/flavors/2542733c-e219-4e17-8830-136ba823190d HTTP/1.1" status: 200 len: 703 time: 0.0099411

I have tried to manually reset the state (http://docs.openstack.org/trunk/openstack-compute/admin/content/reset-state.html) nova reset-state <id>

I have tried using virsh shutdown <id>

but so far VM instances are in status of Shutdown or Suspended and Power status is Shutdown - cannot get them to boot.

How do I restart a suspended VM after a reboot?

My setup is: Ubuntu 13.04 / grizzly with grizzly and grizzly-backports in etc/apt/sources.list.d/grizzly.list

I was experimenting with managing server recovery after a reboot and put several vms in suspend status. To my horror I discovered that I cannot resume them. The problem appears to be described here (https://bugs.launchpad.net/nova/+bug/1052696), but does not offer any suggestion how to recover from this scenario. I have tried 'resume instance' from horizon - errors in nova-api.log: nova-api.log:

2013-08-12 21:16:40.069 INFO nova.osapi_compute.wsgi.server [req-58ab0c59-7070-4ae3-af51-e12853cd6c30 3036f84a152d4b9e9a8e456e386c2d7d d31d9dff59e34b0d86dac87abcb05a0f] 172.30.1.24 "GET /v2/d31d9dff59e34b0d86dac87abcb05a0f/flavors/2542733c-e219-4e17-8830-136ba823190d HTTP/1.1" status: 200 len: 703 time: 0.0099411

I have tried to manually reset the state (http://docs.openstack.org/trunk/openstack-compute/admin/content/reset-state.html) nova reset-state <id>

I have tried using virsh shutdown <id>

but so far VM instances are in status of Shutdown or Suspended and Power status is Shutdown - cannot get them to boot.

How do I restart a suspended VM after a reboot?

My setup is: Ubuntu 13.04 / grizzly with grizzly and grizzly-backports in etc/apt/sources.list.d/grizzly.list

etc/apt/sources.list.d/grizzly.list

I was experimenting with managing server recovery after a reboot and put several vms in suspend status. To my horror I discovered that I cannot resume them. The problem appears to be described here (https://bugs.launchpad.net/nova/+bug/1052696), but does not offer any suggestion how to recover from this scenario. I have tried 'resume instance' resume instance'from horizon - errors in nova-api.log:nova-api.log:

2013-08-12 21:16:40.069 INFO nova.osapi_compute.wsgi.server [req-58ab0c59-7070-4ae3-af51-e12853cd6c30 3036f84a152d4b9e9a8e456e386c2d7d d31d9dff59e34b0d86dac87abcb05a0f] 172.30.1.24 "GET /v2/d31d9dff59e34b0d86dac87abcb05a0f/flavors/2542733c-e219-4e17-8830-136ba823190d HTTP/1.1" status: 200 len: 703 time: 0.0099411

0.0099411

I have tried to manually reset the state (http://docs.openstack.org/trunk/openstack-compute/admin/content/reset-state.html) nova reset-state <id>

I have tried using virsh shutdown <id><ID>

but so far VM instances are in status of Shutdown or Suspended and Power status is Shutdown - cannot get them to boot.