[Openstack] need help for nova evacuate

yang sheng forsaks.30 at gmail.com
Tue May 3 21:36:31 UTC 2016


Hi

I am trying the nova evacuate feature in openstack liberty.

I booted vm from volume (use ceph infernails) and instances files
(console.log and libvirt.xml) are stored in nfs, shared by all compute
nodes.

I shut down one compute node and try to move  instance from one compute
node to another:
$ nova evacuate --on-shared-storage $instance_UUID  compute001

the vm stuck in "REBUILD" state.

here is the nova-compute.log from my compute001:

2016-05-03 17:22:14.837 32471 INFO nova.compute.manager
[req-20dac779-8e10-472f-b8b2-b3497b2625e8 eaa2fff5910c41ddbce69308560ecb88
0f861e423bc248f3896dc17b5bc3f140 - - -] [instance:
5584affd-072e-4609-a0f2-55fb03bc9513] Rebuilding instance
2016-05-03 17:22:14.851 32471 INFO nova.compute.manager
[req-20dac779-8e10-472f-b8b2-b3497b2625e8 eaa2fff5910c41ddbce69308560ecb88
0f861e423bc248f3896dc17b5bc3f140 - - -] disk on shared storage, recreating
using existing disk
2016-05-03 17:22:15.305 32471 WARNING nova.objects.instance
[req-20dac779-8e10-472f-b8b2-b3497b2625e8 eaa2fff5910c41ddbce69308560ecb88
0f861e423bc248f3896dc17b5bc3f140 - - -] [instance:
5584affd-072e-4609-a0f2-55fb03bc9513] Trying to apply a migration context
that does not seem to be set for this instance
2016-05-03 17:22:15.317 32471 INFO nova.compute.manager
[req-20dac779-8e10-472f-b8b2-b3497b2625e8 eaa2fff5910c41ddbce69308560ecb88
0f861e423bc248f3896dc17b5bc3f140 - - -] [instance:
5584affd-072e-4609-a0f2-55fb03bc9513] Detach volume
8b3dd1d5-e1fd-49ce-90ee-869068675292 from mountpoint /dev/vda
2016-05-03 17:22:15.318 32471 WARNING nova.compute.manager
[req-20dac779-8e10-472f-b8b2-b3497b2625e8 eaa2fff5910c41ddbce69308560ecb88
0f861e423bc248f3896dc17b5bc3f140 - - -] [instance:
5584affd-072e-4609-a0f2-55fb03bc9513] Detaching volume from unknown instance
2016-05-03 17:22:15.318 32471 WARNING nova.virt.libvirt.driver
[req-20dac779-8e10-472f-b8b2-b3497b2625e8 eaa2fff5910c41ddbce69308560ecb88
0f861e423bc248f3896dc17b5bc3f140 - - -] [instance:
5584affd-072e-4609-a0f2-55fb03bc9513] During detach_volume, instance
disappeared.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160503/65851a16/attachment.html>


More information about the Openstack mailing list