Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2018522

Summary: Remove resource requirements from Validation service rules
Product: Migration Toolkit for Virtualization Reporter: Ilanit Stein <istein>
Component: GeneralAssignee: Sam Lucidi <slucidi>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.2.0CC: apinnick, fbladilo, fdupont, istein
Target Milestone: ---   
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 19:20:59 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:

Description Ilanit Stein 2021-10-29 15:15:08 UTC
Description of problem:
When migrating a VM with a memory size, smaller than the associated OCPv template memory requirement, the migration plan fails in initialization phase: 

"admission webhook "virtualmachine-admission.ssp.kubevirt.io" denied the request: This VM requires more memory.: value 1073741824 is lower than minimum [1610612736]"

This bug is aimed to remove in MTV the resource requirement validation from the VM object generated by the template.

Version-Release number of selected component (if applicable):
MTV-2.2

Comment 1 Ilanit Stein 2021-11-14 11:57:42 UTC
Verified by migratin a rhel8 VM with a 1G memory.
Migration passed, and the VM was created with a 1G memory allocated.

Comment 4 errata-xmlrpc 2021-12-09 19:20:59 UTC
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 (MTV 2.2.0 Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:5066