Bug 1854041 - [v2v] Warning message during every v2v import about incompatible parameter "memory"
Summary: [v2v] Warning message during every v2v import about incompatible parameter "m...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.4.1.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.4.5
: ---
Assignee: Shmuel Melamud
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-06 07:38 UTC by Beni Pelled
Modified: 2021-03-18 15:12 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.4.5.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-18 15:12:33 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)
engine.log (2.33 MB, text/plain)
2020-07-06 07:38 UTC, Beni Pelled
no flags Details
import_log (820.86 KB, text/plain)
2020-07-06 07:39 UTC, Beni Pelled
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 113402 0 master MERGED core: Do not warn on import about memory changes, if it was not set 2021-02-21 08:37:51 UTC

Description Beni Pelled 2020-07-06 07:38:05 UTC
Description of problem:
A warning message occurs during every v2v import from VMware (I didn't check with other providers):

2020-07-06 10:20:04,650+03 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-14568) [6a673ea1-f32d-487c-bb4b-e0b8c7a17d87] EVENT_ID: IMPORTEXPORT_IMPORT_VM_UPDATED(1,229), The imported VM automation_v2v_rhel_7_2_vmware was updated because these parameters were incompatible with selected cluster version: memory


Version-Release number of selected component (if applicable):
4.4.1.7-0.3.el8ev

How reproducible:
100%

Steps to Reproduce:
1. Import a VM from VMWare

Actual results:
The VM imported successfully with the same memory size (2048MB in my case) but there is a warning message 

Expected results:
No warning message

Additional info:
The engine and import logs attached.

Comment 1 Beni Pelled 2020-07-06 07:38:45 UTC
Created attachment 1699992 [details]
engine.log

Comment 2 Beni Pelled 2020-07-06 07:39:14 UTC
Created attachment 1699993 [details]
import_log

Comment 3 Arik 2020-07-06 09:15:20 UTC
The memory size didn't change but the guaranteed memory and/or the max memory probably change.
Can you please check what were the values of MinAllocatedMem and MaxMemorySizeMb in the OVF that v2v generated?

Comment 4 Arik 2020-07-06 09:50:53 UTC
Apparently there's no min guaranteed memory and no max memory in the OVF generated by virt-v2v
Warnings should be printed when we alter the VM configuration (compared to its original configuration) but don't make much sense in cases like this

Comment 5 Nisim Simsolo 2021-02-23 09:00:37 UTC
Verified:
ovirt-engine-4.4.5.6-0.11.el8ev
vdsm-4.40.50.6-1.el8ev.x86_64
libvirt-daemon-6.6.0-13.module+el8.3.1+9548+0a8fede5.x86_64
virt-v2v-1.42.0-7.module+el8.3.1+9562+c3ede7c6.x86_64
qemu-kvm-5.1.0-20.module+el8.3.1+9918+230f5c26.x86_64

Comment 6 Sandro Bonazzola 2021-03-18 15:12:33 UTC
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.5 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.