Bug 2074522 - Resize_and_pin policy can't be configured in one transaction if user sets vCPUS, Host pinning and policy.
Summary: Resize_and_pin policy can't be configured in one transaction if user sets vCP...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.5.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ovirt-4.5.1
: ---
Assignee: Lucia Jelinkova
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-12 12:01 UTC by Polina
Modified: 2022-06-23 05:54 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-23 05:54:58 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.5?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 400 0 None open webadmin: show warning for resize and pin 2022-05-27 11:53:21 UTC
Red Hat Issue Tracker RHV-45630 0 None None None 2022-04-12 12:07:36 UTC

Description Polina 2022-04-12 12:01:47 UTC
Description of problem:
User is not allowed to open Edit window and set in one transaction the following: configure vCPUs (in system tab),  then pin to host in 'Host' tab and then resize policy in 'Resource Allocation' tab.

Version-Release number of selected component (if applicable):
ovirt-engine-4.5.0.2-0.7.el8ev.noarch

How reproducible: 100%


Steps to Reproduce:
1. Create VM on the base of the latest infra template.
2. Open Edit window and set the following:
   - 4 CPUs (Total Virtual CPUs system tab);
   - pin to specific host in 'Host' tab;
   - set resize policy in 'Resource Allocation' tab.
   - OK in the Edit window.

Actual results:
Error: Cannot edit VM. The VM NUMA configuration cannot be applied when using the CPU Pinning policy 'Resize and Pin NUMA'.
The user only could do this by configuring vCPUs + pint to host, then OK in Edit window. Then Reopen and set the policy

Expected results: Must be allowed by one transaction

Comment 1 Lucia Jelinkova 2022-04-22 12:42:05 UTC
Yes, I agree, that is not user friendly.

Comment 2 Lucia Jelinkova 2022-05-27 11:56:58 UTC
Please note that setting the vCPUs number (or modification of NUMA) is still not allowed, because it will be automatically set by the Resize and Pin NUMA Cpu Pinning Policy. However, a new UI warning will be displayed that allows to reset the changed values and continue with saving of the VM.

Comment 3 Polina 2022-06-19 14:40:54 UTC
verified on ovirt-engine-4.5.1.2-0.11.el8ev.noarch according to the described scenario. the configuration is allowed in one transaction

Comment 4 Sandro Bonazzola 2022-06-23 05:54:58 UTC
This bugzilla is included in oVirt 4.5.1 release, published on June 22nd 2022.
Since the problem described in this bug report should be resolved in oVirt 4.5.1 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.


Note You need to log in before you can comment on or make changes to this bug.