Bug 1390556 - vNICs are unplugged when importing a VM with duplicated MACs and on the destination DC 'Allow Duplicate' is checked
Summary: vNICs are unplugged when importing a VM with duplicated MACs and on the desti...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.1.0
Hardware: x86_64
OS: Linux
medium
medium vote
Target Milestone: ovirt-4.2.0
: ---
Assignee: Yevgeny Zaspitsky
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 11:55 UTC by Michael Burman
Modified: 2017-01-08 13:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-08 13:53:28 UTC
oVirt Team: Network
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
engine log (1.03 MB, application/x-gzip)
2016-11-01 12:23 UTC, Michael Burman
no flags Details

Description Michael Burman 2016-11-01 11:55:34 UTC
Description of problem:
vNICs are unplugged when importing a VM with duplicated MACs and on the destination DC 'Allow Duplicate' is checked.

When importing a VM with MACs that are already in use on the destination DC and the 'Allow Duplicate' is checked, we still end up with vNICs that imported as unplugged. 

Version-Release number of selected component (if applicable):
4.1.0-0.0.master.20161031231324.git5d8702e.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Import VM from data domain with macs that are already in use on destination DC and check the 'Allow Duplicate' on the destination DC

Actual results:
Vm imported with unplugged vNICs although the duplicate is allowed on the destination DC

Expected results:
vNICs should be plugged if the 'Allow Duplicate' is checked.

Comment 1 Michael Burman 2016-11-01 12:23:08 UTC
Created attachment 1216091 [details]
engine log

Comment 2 Yevgeny Zaspitsky 2016-12-05 16:43:40 UTC
This pre-existing functionality that is unrelated to the Bug 1226206.

Comment 3 Michael Burman 2017-01-08 13:53:28 UTC
This bug is no longer relevant. 
Now, when 'Allow Duplicate' is enabled, VM is no longer considered as having a bad MACs and exclamation mark doesn't appears on the import VM dialog. 
When importing VM with MACs in use and 'Allow Duplicate' is enabled, vNICs are plugged as they should and the MAcs doesn't considered as bad. 

Tested on 4.1.0-0.4.master.20170105161132.gitf4e2c11.el7.centos


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