Comment 5 for bug 1552046

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/liberty)

Reviewed: https://review.openstack.org/287831
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4e1957f084e34baac7da30780abade03a32fcd45
Submitter: Jenkins
Branch: stable/liberty

commit 4e1957f084e34baac7da30780abade03a32fcd45
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.

    NOTE(mriedem): The test_compute_cells test is modified slightly to
    hard-code the instance uuid since the uuids sentinel code was not
    in liberty.

    Closes-bug: #1552046
    Change-Id: Ib48990100ecc02325d323c8e933a859fa839a1a2
    (cherry picked from commit 022802997c10fc4ed56b1e1875cd7ccb16cc0688)