Bug 1907988
Summary: | VM loses dynamic IP address of its default interface after migration | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Yossi Segev <ysegev> | ||||||
Component: | Networking | Assignee: | Alona Kaplan <alkaplan> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Yossi Segev <ysegev> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 2.6.0 | CC: | chhu, cnv-qe-bugs, mr.anson.wang, myakove, phoracek | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 2.6.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | virt-launcher-container-v2.6.0-104 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2021-03-10 11:22:41 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Yossi Segev
2020-12-15 16:00:10 UTC
Created attachment 1739399 [details]
vm-fedora.yaml
Created attachment 1739400 [details]
vm-mig.yaml
I hit this bug on rhel6.10 guest with e1000 interface after restart VM(without migration operation). ----------------------------------------------------------------------------------------------------- Create a rhel6.10 guest with e1000 interface and sata disk from dv, start it: # oc get vmi NAME AGE PHASE IP NODENAME asb-vm-dv-nfs-rhel 2m43s Running 10.128.3.105 intel-e52650-16-3.englab.nay.redhat.com # ping 10.128.3.105 PING 10.128.3.105 (10.128.3.105) 56(84) bytes of data. 64 bytes from 10.128.3.105: icmp_seq=1 ttl=64 time=0.602 ms 64 bytes from 10.128.3.105: icmp_seq=2 ttl=64 time=0.043 ms # ifconfig eth0 Link encap:Ethernet HWaddr 02:00:00:12:E7:0F inet addr:10.0.2.2 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: fe80::ff:fe12:e70f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1042 (1.0 KiB) TX bytes:1502 (1.4 KiB) sh-4.4# virsh dumpxml openshift-cnv_asb-vm-dv-nfs-rhel| grep interface -A 8 <interface type='ethernet'> <mac address='02:00:00:12:e7:0f'/> <target dev='tap0' managed='no'/> <model type='e1000'/> <mtu size='1450'/> <boot order='2'/> <alias name='ua-default'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> Restart the VM: # oc get vmi NAME AGE PHASE IP NODENAME asb-vm-dv-nfs-rhel 9s Running 10.128.3.106 intel-e52650-16-3.englab.nay.redhat.com # ping 10.128.3.106 PING 10.128.3.106 (10.128.3.106) 56(84) bytes of data. 64 bytes from 10.128.3.106: icmp_seq=1 ttl=64 time=0.613 ms 64 bytes from 10.128.3.106: icmp_seq=2 ttl=64 time=0.039 ms [root@localhost ~]# lspci|grep Ethernet 02:01.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03) [root@localhost ~]# ifconfig -a eth1 Link encap:Ethernet HWaddr 02:00:00:84:D5:BF BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) sh-4.4# virsh dumpxml openshift-cnv_asb-vm-dv-nfs-rhel|grep interface -A 8 <interface type='ethernet'> <mac address='02:00:00:84:d5:bf'/> <target dev='tap0' managed='no'/> <model type='e1000'/> <mtu size='1450'/> <boot order='2'/> <alias name='ua-default'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> After restart the VM, the mac address changed, ip address changed, and the interface has no ip address in VM. *** Bug 1909493 has been marked as a duplicate of this bug. *** chhu, your issue does not seem to be connected to this BZ. I took the liberty to open another BZ for you: https://bugzilla.redhat.com/show_bug.cgi?id=1913674 I will need you to provide some missing info there. Verified on: OCP version: 4.7.0-fc.3 CNV version: 2.6.0 virt-launcher version: virt-launcher-container-v2.6.0-105 (registry.redhat.io/container-native-virtualization/virt-launcher@sha256:0fd8c961ee02ce119e437f98ac2c8859139ab046a23cc18363aabd91a9cb8e56) Verified by repeating the exact scenario in the bug description, and now IP address still exists on the primary interface after migration and reboot. 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 (Moderate: OpenShift Virtualization 2.6.0 security and bug fix update), 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/RHSA-2021:0799 |