Cells v1 does not properly support evacuate when destination node is provided.
If a destination node is provided, evacuated instance will stay
in 'REBUILDING' state forever.
The evacuate method expects host to be the actual node name,
not one with complete cell_path. Stripping the cell_path from the host
fixes the problem.
Reviewed: https:/ /review. openstack. org/227440 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=022802997c1 0fc4ed56b1e1875 cd7ccb16cc0688
Committed: https:/
Submitter: Jenkins
Branch: master
commit 022802997c10fc4 ed56b1e1875cd7c cb16cc0688
Author: Mathieu Gagné <email address hidden>
Date: Thu Sep 24 13:43:27 2015 -0400
Fix evacuate support with Nova cells v1
Cells v1 does not properly support evacuate when destination node is provided.
If a destination node is provided, evacuated instance will stay
in 'REBUILDING' state forever.
The evacuate method expects host to be the actual node name,
not one with complete cell_path. Stripping the cell_path from the host
fixes the problem.
Closes-bug: #1552046 325d323c8e933a8 59fa839a1a2
Change-Id: Ib48990100ecc02