Bug 1529201 - Guest's network will disappear after importing guest from kvm/vmware/xen at rhv4.2 GUI
Summary: Guest's network will disappear after importing guest from kvm/vmware/xen at r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 4.2.0
Hardware: x86_64
OS: Unspecified
high
medium
Target Milestone: ovirt-4.2.1
: ---
Assignee: eraviv
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-27 04:33 UTC by mxie@redhat.com
Modified: 2019-05-16 13:08 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-15 17:54:02 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhv4.2-import-network-before (45.93 KB, image/png)
2017-12-27 04:33 UTC, mxie@redhat.com
no flags Details
rhv4.2-import-network-after (39.77 KB, image/png)
2017-12-27 04:34 UTC, mxie@redhat.com
no flags Details
vdsm.log (166.39 KB, text/plain)
2017-12-27 04:35 UTC, mxie@redhat.com
no flags Details
engine.log (65.47 KB, text/plain)
2017-12-27 04:38 UTC, mxie@redhat.com
no flags Details
import vms from kvm to 4.2.2 master - before\after screenshots (754.69 KB, image/png)
2018-01-10 07:53 UTC, eraviv
no flags Details
Mac import dialog screenshot (182.36 KB, image/png)
2018-01-21 09:10 UTC, Nisim Simsolo
no flags Details
VMware - MAC address of selected VM to import (212.48 KB, image/png)
2018-01-21 09:11 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1489 0 None None None 2018-05-15 17:55:30 UTC

Description mxie@redhat.com 2017-12-27 04:33:55 UTC
Created attachment 1372681 [details]
rhv4.2-import-network-before

Description of problem:
Guest's network will disappear after importing guest from kvm/vmware/xen at rhv4.2 GUI 

Version-Release number of selected component (if applicable):
RHV:4.2.0.2-0.1.el7
vdsm-4.20.9.3-1.el7ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Import guest from vmware at rhv4.2 GUI 
Login rhv4.2 -> click dashboard-> click virtual machine -> select import -> choose "vmware as source" and input vmware info-> load guests succesfully -> select a guest to import

2.Could see network before importing, pls refer to "rhv4.2-import-network-before"

3.Click ok to import guest but network disappears after importing,pls refer to "rhv4.2-import-network-after"

4.Guest's network also will disappear after importing guest from kvm/xen at rhv4.2 GUI 

Actual results:
As above description

Expected results:
Guest's network shows normally after importing guest from kvm/vmware/xen at rhv4.2 GUI

Additional info:
Can't reproduce this problem on rhv4.1 and vdsm-4.19.34-1.el7ev.x86_64

Comment 1 mxie@redhat.com 2017-12-27 04:34:28 UTC
Created attachment 1372682 [details]
rhv4.2-import-network-after

Comment 2 mxie@redhat.com 2017-12-27 04:35:15 UTC
Created attachment 1372683 [details]
vdsm.log

Comment 3 mxie@redhat.com 2017-12-27 04:38:50 UTC
Created attachment 1372684 [details]
engine.log

Comment 5 eraviv 2018-01-07 08:51:04 UTC
Hi Xie,

I am not able to reproduce this problem with a kvm import on my local system.
Maybe I do not have the exact setup that causes the issue in my guest.
Can you give me access to one of the guests with which the problem is reproduced so that I can import it into my engine?

Thanks,
Eitan

Comment 7 Meni Yakove 2018-01-08 08:53:18 UTC
Xie, I believe that Eitan truly needs access to a KVM hypervisor from which you import your VMs. He could not reproduce the bug when importing from his KVM to his RHV-M-4.2. Can you provide him url+credentials to your hypervisor?

Comment 9 eraviv 2018-01-10 07:53:16 UTC
Created attachment 1379377 [details]
import vms from kvm to 4.2.2 master - before\after screenshots

Comment 10 eraviv 2018-01-10 07:56:07 UTC
Hi Xie,

I imported a half dozen of the vms on your kvm into my 4.2.2 master engine and all were successful with the nics displaying with the correct network after import.

Can you please try the import against the next d/s engine?

Thanks

Comment 11 mxie@redhat.com 2018-01-10 08:12:00 UTC
(In reply to eraviv from comment #10)
> Hi Xie,
> 
> I imported a half dozen of the vms on your kvm into my 4.2.2 master engine
> and all were successful with the nics displaying with the correct network
> after import.
> 
> Can you please try the import against the next d/s engine?
> 
> Thanks

Hi eraviv,
  
   I see the latest engine version is 4.2.1-2 (bob.eng.lab.tlv.redhat.com/builds/4.2/), where packages I can use to update my rhv env to 4.2.2? Or could I use your rhv4.2 to reproduce this problem? 

Thanks

Comment 12 eraviv 2018-01-10 10:24:00 UTC
Hi Xie,

I believe you can start with http://bob.eng.lab.tlv.redhat.com/builds/4.2/rhv-4.2.1-1/ because it is from 05 Jan and we (nsimsolo@redhat and I) already tested on 07 Jan. Otherwise I believe there will be a build for 4.2.2 in the coming week.

thanks

Comment 13 RHV bug bot 2018-01-12 14:40:07 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.2-ga': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.2-ga': '?'}', ]

For more info please contact: rhv-devops

Comment 14 Dan Kenigsberg 2018-01-14 10:36:45 UTC
Please retest with current engine.

Comment 15 mxie@redhat.com 2018-01-17 14:10:16 UTC
Verify the bug with below builds:
rhv:4.2.1.1-0.1.el7
vdsm-4.20.13-1.el7ev.x86_64

Steps:
1.Import guest from vmware at rhv4.2 GUI
Login rhv4.2 -> click dashboard-> click virtual machine -> select import -> choose "vmware as source" and input vmware info-> load guests successfully -> select a guest to import

2.Click ok to import guest and network exists after importing

3.Also try to import guest from kvm/xen/ova/export source,guest's network exists after importing on rhv4.2


Result:
    Guest's network exists after importing from vmware/kvm/xen/ova/export source on rhv4.2, but ipv4 and ipv6 are N/A even if guest could get ipv4 and ipv6 in os normally after powering on,pls refer to screenshot"ipv4-ipv6"

Hi eraviv,
   Ipv4 and ipv6 are N/A in network interface even if guest could get ipv4 and ipv6 in os normally after powering on,do you think this is expected result?

Comment 16 RHV bug bot 2018-01-18 17:39:30 UTC
INFO: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[No external trackers attached]

For more info please contact: rhv-devops

Comment 17 eraviv 2018-01-21 05:01:03 UTC
Hi MXie,

I can't find the attachment on this page. Can you reattach?

Thanks

Comment 18 eraviv 2018-01-21 05:03:34 UTC
Hi Nisim,

Can you have a look at MXie's question from comment 15 about the absence of ipv4\ipv6 after import?

What is the expected behaviour in this case?

Thanks

Comment 19 Nisim Simsolo 2018-01-21 09:09:37 UTC
Hi Eitan and Ming

For some reason, the import dialog sets VMware original MAC address, although ovirtmgmt network profile is selected (Please see MAC_import_dialog.png and MAC_VMware.png screenshot attached). 
In such case, the VMware MAC address is not in the range of RHV network profile, that's the reason VM is not receiving IP address.

Ming, can you please report a bug on this issue?

Thanks

Comment 20 Nisim Simsolo 2018-01-21 09:10:25 UTC
Created attachment 1383876 [details]
Mac import dialog screenshot

Comment 21 Nisim Simsolo 2018-01-21 09:11:44 UTC
Created attachment 1383877 [details]
VMware -  MAC address of selected VM to import

Comment 22 mxie@redhat.com 2018-01-22 04:58:43 UTC
Thanks Nisim and eraviv, have filed bug1536937 to track problem" guest's ipv4 and ipv6 show N/A on rhv4.2",so move this bug from ON_QA to VERIFIED

Comment 23 RHV bug bot 2018-01-24 22:08:01 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[No external trackers attached]

For more info please contact: rhv-devops

Comment 24 RHV bug bot 2018-01-30 11:23:01 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[No external trackers attached]

For more info please contact: rhv-devops

Comment 25 RHV bug bot 2018-02-02 22:05:40 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[No external trackers attached]

For more info please contact: rhv-devops

Comment 30 errata-xmlrpc 2018-05-15 17:54:02 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, 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-2018:1489

Comment 31 Franta Kust 2019-05-16 13:08:43 UTC
BZ<2>Jira Resync


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