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

Bug 1632808

Summary: OVF import wrong error message
Product: [oVirt] ovirt-engine Reporter: Michal Skrivanek <michal.skrivanek>
Component: BLL.VirtAssignee: Lucia Jelinkova <ljelinko>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, mavital, nsimsolo, rbarry
Target Milestone: ovirt-4.4.0Keywords: EasyFix
Target Release: ---Flags: pm-rhel: ovirt-4.4+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.0 gitb5b5c99ca2f Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:03:06 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 Michal Skrivanek 2018-09-25 15:22:54 UTC
Importing from OVA produces following error message:

Cannot import Virtual Machine, because that action would create duplicates in target MAC pool, which are not allowed. Either allow duplicate MACs in MAC Pool, or allow reassignment of bad MACs during import. Problematic NICs are VmNetworkInterface:{id='536d40c2-959b-46fb-8fa4-538e4f7f6f29', name='nic1', networkName='ovirtmgmt', vnicProfileName='ovirtmgmt', vnicProfileId='null', speed='10000', type='3', macAddress='00:1a:4a:16:01:01', active='true', linked='true', portMirroring='false', vmId='35d73e2f-abee-4a99-9b11-569e6a0b6c2e', vmName='null', vmTemplateId='null', QoSName='null', remoteNetworkName='ovirtmgmt'}

We should list readable names

Comment 1 Ryan Barry 2019-01-21 14:53:59 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 2 Lucia Jelinkova 2019-05-27 12:38:21 UTC
How do you suggest the error message to look like?

Comment 3 Michal Skrivanek 2019-05-27 12:45:21 UTC
"Problematic NICs are " should list user readable NIC name, not a serialized object

Comment 4 Ryan Barry 2019-05-27 12:48:44 UTC
Exactly

Comment 5 Nisim Simsolo 2020-04-22 07:44:00 UTC
Verified:
ovirt-engine-4.4.0-0.29.master.el8ev

Verification scenario:
1. Import OVA with MAC address duplication with an existing VM.
2. Verify error message is now readable:
Cannot import Virtual Machine, because that action would create duplicates in target MAC pool, which are not allowed. Either allow duplicate MACs in MAC Pool, or allow reassignment of bad MACs during import. Problematic NICs are nic1

Comment 6 Sandro Bonazzola 2020-05-20 20:03:06 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

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