@Sylvain, your patch won't work because of this in the conductor rebuild_instance method:
https://github.com/openstack/nova/blob/6e0e2460b3e1f422b822744ea34da87590e38f39/nova/conductor/manager.py#L838
That's going to modify the request_spec to tell the scheduler to ignore the instance.host, which is exactly where we want to go if we're doing a rebuild (not evacuate).
@Sylvain, your patch won't work because of this in the conductor rebuild_instance method:
https:/ /github. com/openstack/ nova/blob/ 6e0e2460b3e1f42 2b822744ea34da8 7590e38f39/ nova/conductor/ manager. py#L838
That's going to modify the request_spec to tell the scheduler to ignore the instance.host, which is exactly where we want to go if we're doing a rebuild (not evacuate).