Bug 1343934
Summary: | CPU Profile is not assigned when changing it on a running VM | |||
---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Roman Mohr <rmohr> | |
Component: | Backend.Core | Assignee: | Roman Mohr <rmohr> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | |
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.6.7 | CC: | bugs, dfediuck, gklein, mavital, mgoldboi, michal.skrivanek, rmohr, tjelinek, ylavi | |
Target Milestone: | ovirt-4.0.2 | Keywords: | Triaged | |
Target Release: | 4.0.2.4 | Flags: | rule-engine:
ovirt-4.0.z+
mgoldboi: exception+ rule-engine: planning_ack+ dfediuck: devel_ack+ mavital: testing_ack+ |
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1361500 (view as bug list) | Environment: | ||
Last Closed: | 2016-08-12 14:30:32 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: | 1361500 |
Description
Roman Mohr
2016-06-08 11:08:47 UTC
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. Should this be modified? I think this causes this regression: https://bugzilla.redhat.com/show_bug.cgi?id=1361366 on top of that, looking at the patch it doesn't seem to me it's actually fixing the problem completely. profile is live refreshed when the VM is in "Up" status, yet it can be edited in all other states when VM is running(PoweringUp, etc) and such change is going to be ignored for that run (In reply to Michal Skrivanek from comment #4) > on top of that, looking at the patch it doesn't seem to me it's actually > fixing the problem completely. profile is live refreshed when the VM is in > "Up" status, yet it can be edited in all other states when VM is > running(PoweringUp, etc) and such change is going to be ignored for that run Whenever the VM changes it state to UP, VmsMonitoring is triggering the right VDS event to refresh QoS on the VM. Verified on rhevm-4.0.2.4-0.1.el7ev.noarch 1) Create two cluster profiles with CPU QoS 10 and 20 2) Attach CPU profile with QoS 10 to VM 3) Start VM 4) Check via virsh VM QoS: <metadata xmlns:ovirt="http://ovirt.org/vm/tune/1.0"> <ovirt:qos xmlns:ovirt="http://ovirt.org/vm/tune/1.0"> <ovirt:vcpuLimit>10</ovirt:vcpuLimit> </ovirt:qos> </metadata> 5) Change VM CPU profile with QoS 20 6) Check via virsh VM QoS: <metadata xmlns:ovirt="http://ovirt.org/vm/tune/1.0"> <ovirt:qos xmlns:ovirt="http://ovirt.org/vm/tune/1.0"> <ovirt:vcpuLimit>20</ovirt:vcpuLimit> </ovirt:qos> </metadata> |