Hyper-V agent generates exception when force_hyperv_utils_v1 is True on Windows Server / Hyper-V Server 2012 R2

Bug #1344036 reported by Claudiu Belu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Dorin Paslaru
Icehouse
Fix Released
Medium
Alessandro Pilotti

Bug Description

WMI root\virtualization namespace v1 (in Hyper-V) has been removed from Windows Server / Hyper-V Server 2012 R2, according to:
http://technet.microsoft.com/en-us/library/dn303411.aspx

Because of this, setting the force_hyperv_utils_v1 option on the Windows Server 2012 R2 nova compute agent's nova.conf will cause exceptions, since it will try to use the removed root\virtualization namespace v1.

Logs:
http://paste.openstack.org/show/87125/

Dorin Paslaru (dpaslaru)
Changed in nova:
assignee: nobody → Dorin Paslaru (dpaslaru)
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/108013

Changed in nova:
status: New → In Progress
Jay Pipes (jaypipes)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 52de9395e5fe4f328f6dab0b35d660a700787c76
Author: Dorin Paslaru <email address hidden>
Date: Fri Jul 18 15:43:16 2014 +0300

    Fixes Hyper-V agent force_hyperv_utils_v1 flag issue

    WMI root\virtualization namespace v1 (in Hyper-V) has been removed
    from Windows Server / Hyper-V Server 2012 R2.

    Hyper-V compute agent now creates instances which uses
    root\virtualization\v2 namespace if the agent's OS is
    Windows Server / Hyper-V Server 2012 R2 or newer.

    Closes-Bug: #1344036

    Change-Id: I874ade4456b92a63959a765c7851bcd001befa32

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/120372

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

Reviewed: https://review.openstack.org/120372
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7e091733040e9e7dc29dd1ecfce52ee27d6efd99
Submitter: Jenkins
Branch: stable/icehouse

commit 7e091733040e9e7dc29dd1ecfce52ee27d6efd99
Author: Dorin Paslaru <email address hidden>
Date: Fri Jul 18 15:43:16 2014 +0300

    Fixes Hyper-V agent force_hyperv_utils_v1 flag issue

    WMI root\virtualization namespace v1 (in Hyper-V) has been removed
    from Windows Server / Hyper-V Server 2012 R2.

    Hyper-V compute agent now creates instances which uses
    root\virtualization\v2 namespace if the agent's OS is
    Windows Server / Hyper-V Server 2012 R2 or newer.

    Closes-Bug: #1344036
    (cherry picked from 52de9395e5fe4f328f6dab0b35d660a700787c76)

    Change-Id: I874ade4456b92a63959a765c7851bcd001befa32

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
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.