Incorrect hyper-v driver capability

Bug #1629040 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Lucian Petrut
compute-hyperv
Fix Released
Undecided
Unassigned

Bug Description

The Hyper-V driver incorrectly enables the 'supports_migrate_to_same_host' capability.

This capability seems to have been introduced having the VMWare cluster architecture in mind, but it leads to unintended behavior in case of the HyperV driver.

For this reason, the Hyper-V CI is failing on the test_cold_migration tempest test, which asserts that the host has changed.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/379628

Changed in nova:
assignee: nobody → Lucian Petrut (petrutlucian94)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/379628
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e60e95f4997a8108de0d861e15775ea5e57ef759
Submitter: Jenkins
Branch: master

commit e60e95f4997a8108de0d861e15775ea5e57ef759
Author: Lucian Petrut <email address hidden>
Date: Thu Sep 29 20:46:03 2016 +0300

    Disable 'supports_migrate_to_same_host' HyperV driver capability

    The Hyper-V driver incorrectly enables the
    'supports_migrate_to_same_host' capability.

    This capability seems to have been introduced having the VMWare
    cluster architecture in mind, but it leads to unintended behavior
    in case of the HyperV driver.

    For this reason, the Hyper-V CI is failing on an recently introduced
    tempest test, which asserts that the host has changed.

    This change disables this driver capability.

    Change-Id: Ibb4f1d4e40ccc98dc297e463b127772a49207d9a
    Closes-Bug: #1629040

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to compute-hyperv (master)

Reviewed: https://review.openstack.org/381081
Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=3050e9925eaedef6c752e995e1d90c73d5222deb
Submitter: Jenkins
Branch: master

commit 3050e9925eaedef6c752e995e1d90c73d5222deb
Author: Lucian Petrut <email address hidden>
Date: Mon Oct 3 15:30:11 2016 +0300

    Disable 'supports_migrate_to_same_host' HyperV driver capability

    The Hyper-V driver incorrectly enables the
    'supports_migrate_to_same_host' capability.

    This capability seems to have been introduced having the VMWare
    cluster architecture in mind, but it leads to unintended behavior
    in case of the HyperV driver.

    For this reason, the Hyper-V CI is failing on an recently introduced
    tempest test, which asserts that the host has changed.

    This change disables this driver capability.

    (cherry picked from commit Ibb4f1d4e40ccc98dc297e463b127772a49207d9a)

    Change-Id: I9325055e5ff0757ac50bcfe4929d4c5e6e665e41
    Closes-Bug: #1629040

Changed in compute-hyperv:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 15.0.0.0b1

This issue was fixed in the openstack/nova 15.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.