Bug 1632808 - OVF import wrong error message
Summary: OVF import wrong error message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Lucia Jelinkova
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-25 15:22 UTC by Michal Skrivanek
Modified: 2020-05-20 20:03 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.4.0 gitb5b5c99ca2f
Clone Of:
Environment:
Last Closed: 2020-05-20 20:03:06 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 100356 0 'None' MERGED engine: change vm import error message 2020-11-18 15:28:10 UTC

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.


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