Hyper-V driver failing with dynamic memory due to virtual NUMA

Bug #1305897 reported by Luis Fernández Álvarez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Alessandro Pilotti
Juno
Fix Released
Undecided
Unassigned

Bug Description

Starting with Windows Server 2012, Hyper-V provides the Virtual NUMA functionality. This option is enabled by default in the VMs depending on the underlying hardware.

However, it's not compatible with dynamic memory. The Hyper-V driver is not aware of this constraint and it's not possible to boot new VMs if the nova.conf parameter 'dynamic_memory_ratio' > 1.

The error in the logs looks like the following:
2014-04-09 16:33:43.615 18600 TRACE nova.virt.hyperv.vmops HyperVException: WMI job failed with status 10. Error details: Failed to modify device 'Memory'.
2014-04-09 16:33:43.615 18600 TRACE nova.virt.hyperv.vmops
2014-04-09 16:33:43.615 18600 TRACE nova.virt.hyperv.vmops Dynamic memory and virtual NUMA cannot be enabled on the same virtual machine. - 'instance-0001c90c' failed to modify device 'Memory'. (Virtual machine ID F4CB4E4D-CA06-4149-9FA3-CAD2E0C6CEDA)
2014-04-09 16:33:43.615 18600 TRACE nova.virt.hyperv.vmops
2014-04-09 16:33:43.615 18600 TRACE nova.virt.hyperv.vmops Dynamic memory and virtual NUMA cannot be enabled on the virtual machine 'instance-0001c90c' because the features are mutually exclusive. (Virtual machine ID F4CB4E4D-CA06-4149-9FA3-CAD2E0C6CEDA) - Error code: 32773

In order to solve this problem, it's required to change the field 'VirtualNumaEnabled' in 'Msvm_VirtualSystemSettingData' (option available only in v2 namespace) while creating the VM when dynamic memory is used.

summary: - Hyper-V driver crashing with dynamic memory due to virtual NUMA
+ Hyper-V driver failing with dynamic memory due to virtual NUMA
Changed in nova:
status: New → Triaged
importance: Undecided → Medium
milestone: none → juno-1
Revision history for this message
John Garbutt (johngarbutt) wrote :

We use milestones only at the very end of the milestone to track bugs that should block the release of the milestone. Please use tags not milestones to track bugs, try things like: my_bug_topic_milestone_name

Changed in nova:
milestone: juno-1 → none
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/123005

Changed in nova:
assignee: nobody → Alessandro Pilotti (alexpilotti)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 1b20a40aa18c0f248256f2ae36e328b4a7cc20c1
Author: Alessandro Pilotti <email address hidden>
Date: Sun Sep 21 19:14:38 2014 +0300

    Fixes Hyper-V dynamic memory issue with vNUMA

    vNUMA and dynamic memory are mutually exclusive, so the former
    needs to be disabled for instances where dynamic memory is enabled.

    Change-Id: Ic730c294ffc89925076688a44adf2594c7f6712b
    Closes-Bug: #1305897

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

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/175990

Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/juno)

Reviewed: https://review.openstack.org/175990
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1ace2f5c267c91f0dcd77850a70a672d4cd82bcb
Submitter: Jenkins
Branch: stable/juno

commit 1ace2f5c267c91f0dcd77850a70a672d4cd82bcb
Author: Alessandro Pilotti <email address hidden>
Date: Sun Sep 21 19:14:38 2014 +0300

    Fixes Hyper-V dynamic memory issue with vNUMA

    vNUMA and dynamic memory are mutually exclusive, so the former
    needs to be disabled for instances where dynamic memory is enabled.

    Change-Id: Ic730c294ffc89925076688a44adf2594c7f6712b
    Closes-Bug: #1305897
    (cherry picked from commit 1b20a40aa18c0f248256f2ae36e328b4a7cc20c1)

tags: added: in-stable-juno
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.