Hyper-V versions before 2012 are not properly recognized

Bug #1203059 reported by Alessandro Pilotti
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Alessandro Pilotti
Grizzly
Fix Released
Medium
Alessandro Pilotti

Bug Description

VolumeOps is not loading the proper version of VolumeUtils. Beside that, the driver should not load LiveMigrationOps on versions of Hyper-V preceding 2012 as live migration is not provided on those systems.

Tags: hyper-v
Changed in nova:
assignee: nobody → Alessandro Pilotti (alexpilotti)
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/37948

Changed in nova:
status: New → In Progress
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/37948
Committed: http://github.com/openstack/nova/commit/044c380cfe85dcbc93bef739f38f0904270ea84d
Submitter: Jenkins
Branch: master

commit 044c380cfe85dcbc93bef739f38f0904270ea84d
Author: Alessandro Pilotti <email address hidden>
Date: Fri Jul 19 19:44:45 2013 +0300

    Fixes Hyper-V issues on versions prior to 2012

    Fixes bug: #1203059

    Hyper-V 2012 introduced live migration support and a WMI namespace that
    can be used to handle iSCSI targets.

    The Hyper-V driver was not properly recognizing versions of the os prior to
    2012 causing an exception during startup due to the usage of unsupported
    features.

    Unit tests have been added to test the behaviour of the driver with
    different os versions.

    Change-Id: Ie2c2ba6c9aee1ea634c79ca3391c96fe42db341a

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/39164

tags: removed: grizzly-backport-potential
Alan Pevec (apevec)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/39164
Committed: http://github.com/openstack/nova/commit/ef195a97e8076fe30e75d91c2c734db589cba33f
Submitter: Jenkins
Branch: stable/grizzly

commit ef195a97e8076fe30e75d91c2c734db589cba33f
Author: Alessandro Pilotti <email address hidden>
Date: Fri Jul 19 19:44:45 2013 +0300

    Fixes Hyper-V issues on versions prior to 2012

    Fixes bug: #1203059

    Hyper-V 2012 introduced live migration support and a WMI namespace that
    can be used to handle iSCSI targets.

    The Hyper-V driver was not properly recognizing versions of the os prior to
    2012 causing an exception during startup due to the usage of unsupported
    features.

    Unit tests have been added to test the behaviour of the driver with
    different os versions.

    Change-Id: I88056a2e89552b94513ba1ead046dfda57567815

Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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