Bug 865310
Summary: | set_node_memory_parameters failed with error | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | weizhang <weizhan> |
Component: | perl-Sys-Virt | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | ajia, dallan, dyuan, mzhan, rwu, ydu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | perl-Sys-Virt-0.10.2-4.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
When setting memory parameters the set_node_memory_parameters method was trying to also update some readonly values
Consequence:
The set_node_memory_parameters API would always return an error
Fix:
The set_node_memory_parameters method was changed to only set parameters which had changed
Result:
The set_node_memory_parameters method can be used
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 09:52:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 881827 |
Description
weizhang
2012-10-11 08:05:47 UTC
This is an issue with the way libvirt-perl does updates. It fetches all memory parameters, updates the changed ones, and sends the whole lot back. It should only send the changed ones. commit b067d9beac1d65892e41aa81e1b52af70ac1012d Author: Daniel P. Berrange <berrange> Date: Fri Nov 16 14:10:48 2012 +0000 Don't set all typed parameters at once It must not be assumed that all typed parameters which are read, can also be written. Thus when setting typed parameters, the list must be filtered down to only include the parameters that the application has requested to change. Verify pass on perl-Sys-Virt-0.10.2-4.el6.x86_64 libvirt-0.10.2-3.el6.x86_64 There is no error after execute perl script showed in description. And check the value of shm_pages_to_scan and shm_sleep_millisecs change according to the setting. So verify pass Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0377.html |