is nova evacuate VM supported in hyperV

asked 2017-08-23 18:50:08 +0200

ghanshyammann gravatar image

updated 2017-08-24 05:03:04 +0200

Nova has evacuate API to move the VM from faulty host to new. Is it supported in HyperV driver?

With HyperV node VM, evacuate is returned with 200 and migration list showed this migration as accepted but no action on VM. [root@indctrtg01 ~]# nova migration-list +----+-----------------+-----------+-----------------+-----------------+-----------+----------+--------------------------------------+------------+------------+----------------------------+------------+------------+ | Id | Source Node | Dest Node | Source Compute | Dest Compute | Dest Host | Status | Instance UUID | Old Flavor | New Flavor | Created At | Updated At | Type | +----+-----------------+-----------+-----------------+-----------------+-----------+----------+--------------------------------------+------------+------------+----------------------------+------------+------------+ | 51 | WIN-GN8FHSVQRAQ | - | WIN-GN8FHSVQRAQ | WIN-4MBA5SQIEJ5 | - | accepted | f15f8a4d-9f7d-4090-8cb9-3b082d66956e | None | None | 2017-08-23T08:42:10.000000 | - | evacuation | +----+-----------------+-----------+-----------------+-----------------+-----------+----------+--------------------------------------+------------+------------+----------------------------+------------+------------+ [root@indctrtg01 ~]# nova list +--------------------------------------+-----------------+---------+------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-----------------+---------+------------+-------------+-------------------+ | f15f8a4d-9f7d-4090-8cb9-3b082d66956e | wvm0 | ACTIVE | - | Running | public=x.x.x.x | +--------------------------------------+-----------------+---------+------------+-------------+-------------------+

edit retag flag offensive close merge delete

Comments

Hi, Please paste the nova commands outputs in something like https://paste.ubuntu.com/ Thank you.

danardelean gravatar imagedanardelean ( 2017-08-29 14:18:39 +0200 )edit

Hi danardelean, https://paste.ubuntu.com/25424436/ Also i pasted the output in description also.

ghanshyammann gravatar imageghanshyammann ( 2017-08-29 15:08:49 +0200 )edit

Hi, Can you please tell me what OpenStack release you have? Also, for VMs to migrate from one host to another, a cluster must be present. Question is, do you have the cluster set up and the HyperV driver using the cluster driver? Thank you.

danardelean gravatar imagedanardelean ( 2017-08-30 12:31:00 +0200 )edit

We are using Red Hat OSP 11.0 and Window Server 2016 Hyper V compute with Ocata(15.0.0) I have setup the AD and domain controller among hosts. is there any specific doc you can refer which will be more clear and helpful.

ghanshyammann gravatar imageghanshyammann ( 2017-08-30 13:02:37 +0200 )edit

Hi, If the original host is still up you could try to migrate the VM with 'nova migrate <vm>.

danardelean gravatar imagedanardelean ( 2017-08-30 16:29:06 +0200 )edit