From bugzilla_noreply at suse.com Tue Oct 25 10:53:35 2022 From: bugzilla_noreply at suse.com (bugzilla_noreply at suse.com) Date: Tue, 25 Oct 2022 10:53:35 +0000 Subject: [Bug 1204702] New: migration from 12.5 to 15.1 fails due to dns issue Message-ID: https://bugzilla.suse.com/show_bug.cgi?id=1204702 Bug ID: 1204702 Summary: migration from 12.5 to 15.1 fails due to dns issue Classification: SUSE Linux Enterprise Server Product: SUSE Linux Enterprise Server 12 SP5 in Public Clouds Version: BYOS Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: DMS Assignee: dms-bugs at lists.suse.com Reporter: jiri.belka at suse.com QA Contact: public-cloud-maintainers at suse.de Group: SUSE Public Cloud Found By: --- Blocker: --- Migration from 12.5 to 15.1 (default) fails (again?, cf. BZ1182234) due to DNS issue. Please note that networking is default one - ie. DHCP, no changes. The issue seems to be that on DMS live env resolv.conf is empty. Steps to reproduce ================== 1. SLES 12.5 with DHCP networking, see below settings 2. install LES15-Migration-2.0.34-6.x86_64 suse-migration-sle15-activation-2.0.33-6.30.4.noarch 3. reboot (Tested on libvirt) Info from 12.5 ============== ---%>--- # -l /etc/resolv.conf -rw-r--r-- 1 root root 839 Oct 25 12:12 /etc/resolv.conf # grep -Pv '^\s*(#|$)' /etc/sysconfig/network/config AUTO6_WAIT_AT_BOOT="" AUTO6_UPDATE="" LINK_REQUIRED="auto" WICKED_DEBUG="" WICKED_LOG_LEVEL="" CHECK_DUPLICATE_IP="yes" SEND_GRATUITOUS_ARP="auto" DEBUG="no" WAIT_FOR_INTERFACES="30" FIREWALL="yes" NM_ONLINE_TIMEOUT="30" NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime" NETCONFIG_VERBOSE="yes" NETCONFIG_FORCE_REPLACE="no" NETCONFIG_DNS_POLICY="auto" NETCONFIG_DNS_FORWARDER="resolver" NETCONFIG_DNS_FORWARDER_FALLBACK="yes" NETCONFIG_DNS_STATIC_SEARCHLIST="" NETCONFIG_DNS_STATIC_SERVERS="" NETCONFIG_DNS_RANKING="auto" NETCONFIG_DNS_RESOLVER_OPTIONS="" NETCONFIG_DNS_RESOLVER_SORTLIST="" NETCONFIG_NTP_POLICY="auto" NETCONFIG_NTP_STATIC_SERVERS="" NETCONFIG_NIS_POLICY="auto" NETCONFIG_NIS_SETDOMAINNAME="yes" NETCONFIG_NIS_STATIC_DOMAIN="" NETCONFIG_NIS_STATIC_SERVERS="" WIRELESS_REGULATORY_DOMAIN='' # ip a s 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:b1:f6:1d brd ff:ff:ff:ff:ff:ff inet 192.168.122.230/24 brd 192.168.122.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:feb1:f61d/64 scope link valid_lft forever preferred_lft forever # ip r s default via 192.168.122.1 dev eth0 proto dhcp 192.168.122.0/24 dev eth0 proto kernel scope link src 192.168.122.230 # wicked ifstatus all lo up link: #1, state up type: loopback config: compat:suse:/etc/sysconfig/network/ifcfg-lo leases: ipv4 static granted leases: ipv6 static granted addr: ipv4 127.0.0.1/8 [static] addr: ipv6 ::1/128 [static] eth0 up link: #2, state up, mtu 1500 type: ethernet, hwaddr 52:54:00:b1:f6:1d config: compat:suse:/etc/sysconfig/network/ifcfg-eth0 leases: ipv4 dhcp granted leases: ipv6 dhcp requesting addr: ipv4 192.168.122.230/24 [dhcp] route: ipv4 default via 192.168.122.1 proto dhcp # cat /etc/sle-migration-service.yml debug: true verbose_migration: true pre_checks_fix: true soft_reboot: false # tail -n 20 /boot/grub2/grub.cfg | grep -Pv '^\s*($|#)' menuentry 'SLES 12-SP5 Migration' --class sles --class memtest86 --class gnu --class tools ${menuentry_id_option} 'Migration-b36e74cd-86ce-40f6-b760-e792f9d5be52' { btrfs-mount-subvol / /boot/grub2/x86_64-efi /@/boot/grub2/x86_64-efi insmod loopback insmod btrfs search --no-floppy --fs-uuid --set=root b36e74cd-86ce-40f6-b760-e792f9d5be52 set isofile='/usr/share/migration-image/SLES15-Migration.x86_64-2.0.34-Build6.36.1.iso' set linux=linux set initrd=initrd if [ "${grub_platform}" = "efi" ]; then set linux=linuxefi set initrd=initrdefi fi loopback loop ($root)$isofile $linux (loop)/boot/x86_64/loader/linux iso-scan/filename=$isofile rd.live.image root=live:CDLABEL=CDROM BOOT_IMAGE=/boot/vmlinuz-4.12.14-122.136-default console=ttyS0,115200n systemd.log_target=console loglevel=7 systemd.journald.forward_to_console=1 printk.devkmsg=off $initrd (loop)/boot/x86_64/loader/initrd } set default='SLES 12-SP5 Migration' set timeout=1 # rpm -qa | grep -iP '(suse|sles).*migration' suse-migration-pre-checks-2.0.34-6.9.1.noarch SLES15-Migration-2.0.34-6.x86_64 suse-migration-sle15-activation-2.0.33-6.30.4.noarch ---%<--- >From distro_migration.log ---%>--- Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Empty /system-root/etc/resolv.conf, continuing without copying it Calling: ['cat', '/etc/resolv.conf'] ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf. Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Oct 24 11:14:05 localhost suse-migration-setup-host-network[1167]: Empty /system-root/etc/resolv.conf, continuing without copying it ---%<--- -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: