Is it possible to migrate a shutoff VM(instance) to another particular compute(host) without evacuation option.

asked 2019-08-02 02:40:11 -0600

Anirudh-Vir gravatar image

[stack@undercloud (overcloudrc) ~]$ nova list --all --fields host,name,status,instance_name,power_state | grep Shutdown

| 0ea02d36-3e50-4a03-b34f-f88c00b06c6a | overcloud-ovscompute-1.localdomain | TestVM3 | SHUTOFF | instance-000000cf | Shutdown |

[stack@undercloud (overcloudrc) ~]$ openstack server migrate 0ea02d36-3e50-4a03-b34f-f88c00b06c6a overcloud-sriovperformancecompute-0.localdomain usage: openstack server migrate [-h] [--live <hostname>] [--shared-migration | --block-migration] [--disk-overcommit | --no-disk-overcommit] [--wait] <server> openstack server migrate: error: unrecognized arguments: overcloud-sriovperformancecompute-0.localdomain [stack@undercloud (overcloudrc) ~]$

edit retag flag offensive close merge delete

Comments

It looks like this is possible since Queens, using microversion 2.56. I don't know if the openstack or nova client have been updated accordingly.

Reference: https://blueprints.launchpad.net/nova...

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-02 02:59:24 -0600 )edit