Bug 1982065
Summary: | Invalid amount of memory is allowed to be hot plugged | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Qin Yuan <qiyuan> |
Component: | General | Assignee: | Milan Zamazal <mzamazal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Qin Yuan <qiyuan> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4.7.6 | CC: | ahadas, bugs, dfodor, mzamazal |
Target Milestone: | ovirt-4.4.8 | Keywords: | Automation, Regression |
Target Release: | --- | Flags: | pm-rhel:
ovirt-4.4+
ahadas: blocker- |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.4.8-1 | Doc Type: | Bug Fix |
Doc Text: |
It was sometimes possible to request hot plugging a memory of improperly aligned size, or to bypass memory hot plug size checks when using REST API. It could lead to confusions regarding the current amount of the VM memory and next run configuration wasn't sometimes indicated although it should be. The checks have been improved and such attempts are better validated now and next run configuration is set whenever needed. Additionally, when the previous memory changes require next run configuration, it's no longer possible to hot plug or unplug memory to avoid confusions about memory sizes.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-19 06:23:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qin Yuan
2021-07-14 06:30:37 UTC
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Verified with: ovirt-engine-4.4.8.3-0.10.el8ev.noarch Steps and Results: 1. Create and run a VM with 1024MB memory. 2. Update memory to 1424MB via API: <vm> <memory>1493172224</memory> </vm> - Operation is prevented: <fault> <detail>[Cannot edit VM. Amount of added memory (400MiB) is not dividable by 128MiB.]</detail> <reason>Operation Failed</reason> </fault> 3. Edit the running VM on UI, update memory to 1424 MB: - VM memory size is not changed on engine side. - VM memory size is not changed inside guest. - There is next run configuration icon. 4. Edit the running VM on UI again, update memory to 2048MB: - Hot plug operation is prevented with error message: Cannot hot change memory because memory next run configuration already exists. This bugzilla is included in oVirt 4.4.8 release, published on August 19th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.8 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |