Bug 1291064
Summary: | Change vm memory and cpu number not update automatically VNUMA nodes memory and cpu number | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Artyom <alukiano> |
Component: | Backend.Core | Assignee: | Andrej Krejcir <akrejcir> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.6.1.3 | CC: | akrejcir, alukiano, bugs, dfediuck |
Target Milestone: | ovirt-4.1.2 | Keywords: | Triaged |
Target Release: | 4.1.2 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: exception+ rule-engine: planning_ack+ rule-engine: devel_ack+ mavital: testing_ack+ |
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-23 08:12:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1421420 |
Description
Artyom
2015-12-13 11:56:59 UTC
Checked on rhevm-4.1.0.2-0.2.el7.noarch Have two NUMA nodes: <vm_numa_nodes> <vm_numa_node href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9/numanodes/e3417d9a-bc73-4a7e-aa85-ff1545613f00" id="e3417d9a-bc73-4a7e-aa85-ff1545613f00"> <cpu> <cores> <core> <index>0</index> </core> </cores> </cpu> <index>0</index> <memory>1024</memory> <vm href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9" id="5df59ddd-a70a-405e-b528-f02bdcf0d3c9" /> </vm_numa_node> <vm_numa_node href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9/numanodes/e65bfe9a-d3db-4704-bd14-abba5f1d0b69" id="e65bfe9a-d3db-4704-bd14-abba5f1d0b69"> <cpu> <cores> <core> <index>1</index> </core> </cores> </cpu> <index>1</index> <memory>1024</memory> <vm href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9" id="5df59ddd-a70a-405e-b528-f02bdcf0d3c9" /> </vm_numa_node> </vm_numa_nodes> Ater VM memory update, nodes still have the same amount of memory: <vm> <memory>4294967296</memory> </vm> <vm_numa_nodes> <vm_numa_node href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9/numanodes/e3417d9a-bc73-4a7e-aa85-ff1545613f00" id="e3417d9a-bc73-4a7e-aa85-ff1545613f00"> <cpu> <cores> <core> <index>0</index> </core> </cores> </cpu> <index>0</index> <memory>1024</memory> <vm href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9" id="5df59ddd-a70a-405e-b528-f02bdcf0d3c9" /> </vm_numa_node> <vm_numa_node href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9/numanodes/e65bfe9a-d3db-4704-bd14-abba5f1d0b69" id="e65bfe9a-d3db-4704-bd14-abba5f1d0b69"> <cpu> <cores> <core> <index>1</index> </core> </cores> </cpu> <index>1</index> <memory>1024</memory> <vm href="/ovirt-engine/api/vms/5df59ddd-a70a-405e-b528-f02bdcf0d3c9" id="5df59ddd-a70a-405e-b528-f02bdcf0d3c9" /> </vm_numa_node> </vm_numa_nodes> Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Artyom, what about the UI? Does it work correctly in webadmin? Yes under webadmin all works fine. oVirt 4.1.0 GA has been released, re-targeting to 4.1.1. Please check if this issue is correctly targeted or already included in 4.1.0. The GUI fix was merged to 4.1.0 , but not the REST part. Should we leave the correct update of NUMA nodes to the user of the REST api? I have added a patch to prevent NUMA nodes with invalid memory or CPUs, but it does not automatically correct the memory or CPUs when VM is updated. *** Bug 1421420 has been marked as a duplicate of this bug. *** Verified on rhevm-4.1.2-0.1.el7.noarch |