------- Comment From mario.alberto.gali...@ibm.com 2021-06-15 11:18 EDT------- Enable udev monitor: udevadm --debug monitor --property >> udevadm_monitor.txt
Steeps followed to retrieve logs: - Manually remove the IP ip addr del 192.168.171.53/24 dev enP53p0s0.171 - Try to assign ip via netplan root@ilabg13:~# date Tue Jun 15 08:10:29 MST 2021 root@ilabg13:~# netplan apply root@ilabg13:~# date Tue Jun 15 08:10:59 MST 2021 - Try to assign ip via udevadm root@ilabg13:~# date Tue Jun 15 08:11:21 MST 2021 root@ilabg13:~# udevadm trigger --attr-match=subsystem=net root@ilabg13:~# date Tue Jun 15 08:11:31 MST 2021 - Try to assign ip via ip command (Successfully assigned) root@ilabg13:~# date Tue Jun 15 08:11:46 MST 2021 root@ilabg13:~# ip addr add 192.168.171.53/24 dev enP53p0s0.171 RTNETLINK answers: File exists root@ilabg13:~# date Tue Jun 15 08:11:51 MST 2021 - Retrieve journalctl logs journalctl --since today -u systemd-networkd -u systemd-udevd --no-pager > journalctl_udev_monitor.txt Copied the full content of /run/systemd/network -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1929657 Title: [Ubuntu 20.4.2] vLan not getting static IP assigned (on s390x) Status in Ubuntu on IBM z Systems: Incomplete Status in linux package in Ubuntu: New Status in netplan.io package in Ubuntu: New Status in systemd package in Ubuntu: New Bug description: ---Problem Description--- Doing vLAN configuration one of the vLANs is not getting static IP assigned when the rest are workin without problems Contact Information = Mario Alvarado/mario.alberto.gali...@ibm.com ---uname output--- Linux ilabg13.tuc.stglabs.ibm.com 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:29:32 UTC 2021 s390x s390x s390x GNU/Linux Machine Type = z15 ---Debugger--- A debugger is not configured ---Steps to Reproduce--- 1)Configure the netplan file as follow: root@ilabg13:~# cat /etc/netplan/01-iscsi-config.yaml # This is the network config written by 'subiquity' network: ethernets: encdb0: addresses: - 11.111.114.213/22 macaddress: 02:76:54:00:00:03 encdc0: addresses: - 11.111.112.213/22 macaddress: 02:76:54:00:00:04 enP50s3832 : addresses: - 11.111.112.214/22 enP53p0s0: addresses: - 11.111.112.215/22 vlans: encdb0.160: id: 160 link: encdb0 mtu: 9000 addresses: - 192.168.160.53/24 encdc0.150: id: 150 link: encdc0 mtu: 9000 addresses: - 192.168.150.53/24 enP50s3832.170: id: 170 link: enP50s3832 mtu: 9000 addresses: - 192.168.170.53/24 enP53p0s0.171: id: 171 link: enP53p0s0 mtu: 9000 addresses: - 192.168.171.53/24 version: 2 2)run net plan apply: root@ilabg13:~# netplan --debug apply ** (generate:59965): DEBUG: 14:55:15.046: Processing input file /etc/netplan/00-installer-config.yaml.. ** (generate:59965): DEBUG: 14:55:15.046: starting new processing pass ** (generate:59965): DEBUG: 14:55:15.046: Processing input file /etc/netplan/01-iscsi-config.yaml.. ** (generate:59965): DEBUG: 14:55:15.046: starting new processing pass ** (generate:59965): DEBUG: 14:55:15.046: We have some netdefs, pass them through a final round of validation ** (generate:59965): DEBUG: 14:55:15.046: encdc0: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: encdb0: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: ence0f: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: encdb0.160: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: enP50s3832: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: enP53p0s0.171: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: enP50s3832.170: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: enP53p0s0: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.046: encdc0.150: setting default backend to 1 ** (generate:59965): DEBUG: 14:55:15.046: Configuration is valid ** (generate:59965): DEBUG: 14:55:15.047: Generating output files.. ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition ence0f is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition ence0f is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition encdb0 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition encdb0 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition encdc0 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition encdc0 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition enP50s3832 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition enP50s3832 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition enP53p0s0 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition enP53p0s0 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition encdb0.160 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition encdb0.160 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition encdc0.150 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition encdc0.150 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition enP50s3832.170 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition enP50s3832.170 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: openvswitch: definition enP53p0s0.171 is not for us (backend 1) ** (generate:59965): DEBUG: 14:55:15.047: NetworkManager: definition enP53p0s0.171 is not for us (backend 1) (generate:59965): GLib-DEBUG: 14:55:15.047: posix_spawn avoided (fd close requested) (generate:59965): GLib-DEBUG: 14:55:15.048: posix_spawn avoided (fd close requested) DEBUG:netplan generated networkd configuration changed, restarting networkd DEBUG:ence0f not found in {} DEBUG:encdb0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}} DEBUG:encdc0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}} DEBUG:enP50s3832 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}, 'encdc0': {'addresses': ['11.111.112.213/22'], 'macaddress': '02:76:54:00:00:04'}} DEBUG:enP53p0s0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}, 'encdc0': {'addresses': ['11.111.112.213/22'], 'macaddress': '02:76:54:00:00:04'}, 'enP50s3832': {'addresses': ['11.111.112.214/22']}} DEBUG:encdb0.160 not found in {} DEBUG:encdc0.150 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}} DEBUG:enP50s3832.170 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}, 'encdc0.150': {'id': 150, 'link': 'encdc0', 'mtu': 9000, 'addresses': ['192.168.150.53/24']}} DEBUG:enP53p0s0.171 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}, 'encdc0.150': {'id': 150, 'link': 'encdc0', 'mtu': 9000, 'addresses': ['192.168.150.53/24']}, 'enP50s3832.170': {'id': 170, 'link': 'enP50s3832', 'mtu': 9000, 'addresses': ['192.168.170.53/24']}} DEBUG:Merged config: network: ethernets: enP50s3832: addresses: - 11.111.112.214/22 enP53p0s0: addresses: - 11.111.112.215/22 encdb0: addresses: - 11.111.114.213/22 macaddress: 02:76:54:00:00:03 encdc0: addresses: - 11.111.112.213/22 macaddress: 02:76:54:00:00:04 ence0f: addresses: - 9.11.116.213/24 gateway4: 9.11.116.1 nameservers: addresses: - 9.11.227.25 version: 2 vlans: enP50s3832.170: addresses: - 192.168.170.53/24 id: 170 link: enP50s3832 mtu: 9000 enP53p0s0.171: addresses: - 192.168.171.53/24 id: 171 link: enP53p0s0 mtu: 9000 encdb0.160: addresses: - 192.168.160.53/24 id: 160 link: encdb0 mtu: 9000 encdc0.150: addresses: - 192.168.150.53/24 id: 150 link: encdc0 mtu: 9000 DEBUG:no netplan generated NM configuration exists DEBUG:ence0f not found in {} DEBUG:encdb0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}} DEBUG:encdc0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}} DEBUG:enP50s3832 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}, 'encdc0': {'addresses': ['11.111.112.213/22'], 'macaddress': '02:76:54:00:00:04'}} DEBUG:enP53p0s0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}, 'encdc0': {'addresses': ['11.111.112.213/22'], 'macaddress': '02:76:54:00:00:04'}, 'enP50s3832': {'addresses': ['11.111.112.214/22']}} DEBUG:encdb0.160 not found in {} DEBUG:encdc0.150 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}} DEBUG:enP50s3832.170 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}, 'encdc0.150': {'id': 150, 'link': 'encdc0', 'mtu': 9000, 'addresses': ['192.168.150.53/24']}} DEBUG:enP53p0s0.171 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}, 'encdc0.150': {'id': 150, 'link': 'encdc0', 'mtu': 9000, 'addresses': ['192.168.150.53/24']}, 'enP50s3832.170': {'id': 170, 'link': 'enP50s3832', 'mtu': 9000, 'addresses': ['192.168.170.53/24']}} DEBUG:Merged config: network: ethernets: enP50s3832: addresses: - 11.111.112.214/22 enP53p0s0: addresses: - 11.111.112.215/22 encdb0: addresses: - 11.111.114.213/22 macaddress: 02:76:54:00:00:03 encdc0: addresses: - 11.111.112.213/22 macaddress: 02:76:54:00:00:04 ence0f: addresses: - 9.11.116.213/24 gateway4: 9.11.116.1 nameservers: addresses: - 9.11.227.25 version: 2 vlans: enP50s3832.170: addresses: - 192.168.170.53/24 id: 170 link: enP50s3832 mtu: 9000 enP53p0s0.171: addresses: - 192.168.171.53/24 id: 171 link: enP53p0s0 mtu: 9000 encdb0.160: addresses: - 192.168.160.53/24 id: 160 link: encdb0 mtu: 9000 encdc0.150: addresses: - 192.168.150.53/24 id: 150 link: encdc0 mtu: 9000 DEBUG:Link changes: {} DEBUG:netplan triggering .link rules for lo DEBUG:netplan triggering .link rules for encdb0 DEBUG:netplan triggering .link rules for ence0f DEBUG:netplan triggering .link rules for encdc0 DEBUG:netplan triggering .link rules for enP50s3832 DEBUG:netplan triggering .link rules for enP53p0s0 DEBUG:netplan triggering .link rules for enP53p0s0.171 DEBUG:netplan triggering .link rules for enP50s3832.170 DEBUG:netplan triggering .link rules for encdc0.150 DEBUG:netplan triggering .link rules for encdb0.160 DEBUG:ence0f not found in {} DEBUG:encdb0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}} DEBUG:encdc0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}} DEBUG:enP50s3832 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}, 'encdc0': {'addresses': ['11.111.112.213/22'], 'macaddress': '02:76:54:00:00:04'}} DEBUG:enP53p0s0 not found in {'ence0f': {'addresses': ['9.11.116.213/24'], 'gateway4': '9.11.116.1', 'nameservers': {'addresses': ['9.11.227.25']}}, 'encdb0': {'addresses': ['11.111.114.213/22'], 'macaddress': '02:76:54:00:00:03'}, 'encdc0': {'addresses': ['11.111.112.213/22'], 'macaddress': '02:76:54:00:00:04'}, 'enP50s3832': {'addresses': ['11.111.112.214/22']}} DEBUG:encdb0.160 not found in {} DEBUG:encdc0.150 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}} DEBUG:enP50s3832.170 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}, 'encdc0.150': {'id': 150, 'link': 'encdc0', 'mtu': 9000, 'addresses': ['192.168.150.53/24']}} DEBUG:enP53p0s0.171 not found in {'encdb0.160': {'id': 160, 'link': 'encdb0', 'mtu': 9000, 'addresses': ['192.168.160.53/24']}, 'encdc0.150': {'id': 150, 'link': 'encdc0', 'mtu': 9000, 'addresses': ['192.168.150.53/24']}, 'enP50s3832.170': {'id': 170, 'link': 'enP50s3832', 'mtu': 9000, 'addresses': ['192.168.170.53/24']}} DEBUG:Merged config: network: ethernets: enP50s3832: addresses: - 11.111.112.214/22 enP53p0s0: addresses: - 11.111.112.215/22 encdb0: addresses: - 11.111.114.213/22 macaddress: 02:76:54:00:00:03 encdc0: addresses: - 11.111.112.213/22 macaddress: 02:76:54:00:00:04 ence0f: addresses: - 9.11.116.213/24 gateway4: 9.11.116.1 nameservers: addresses: - 9.11.227.25 version: 2 vlans: enP50s3832.170: addresses: - 192.168.170.53/24 id: 170 link: enP50s3832 mtu: 9000 enP53p0s0.171: addresses: - 192.168.171.53/24 id: 171 link: enP53p0s0 mtu: 9000 encdb0.160: addresses: - 192.168.160.53/24 id: 160 link: encdb0 mtu: 9000 encdc0.150: addresses: - 192.168.150.53/24 id: 150 link: encdc0 mtu: 9000 And check the network configuration: root@ilabg13:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> 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: encdb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000 link/ether 02:76:54:00:00:03 brd ff:ff:ff:ff:ff:ff inet 11.111.114.213/22 brd 11.111.115.255 scope global encdb0 valid_lft forever preferred_lft forever inet6 fe80::76:54ff:fe00:3/64 scope link valid_lft forever preferred_lft forever 3: ence0f: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 02:76:54:00:00:08 brd ff:ff:ff:ff:ff:ff inet 9.11.116.213/24 brd 9.11.116.255 scope global ence0f valid_lft forever preferred_lft forever inet6 2002:90b:e006:116:76:54ff:fe00:8/64 scope global dynamic mngtmpaddr noprefixroute valid_lft 2591895sec preferred_lft 604695sec inet6 fe80::76:54ff:fe00:8/64 scope link valid_lft forever preferred_lft forever 4: encdc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000 link/ether 02:76:54:00:00:04 brd ff:ff:ff:ff:ff:ff inet 11.111.112.213/22 brd 11.111.115.255 scope global encdc0 valid_lft forever preferred_lft forever inet6 fe80::76:54ff:fe00:4/64 scope link valid_lft forever preferred_lft forever 5: enP50s3832: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000 link/ether 82:0c:9b:a8:a1:b2 brd ff:ff:ff:ff:ff:ff inet 11.111.112.214/22 brd 11.111.115.255 scope global enP50s3832 valid_lft forever preferred_lft forever inet6 fe80::800c:9bff:fea8:a1b2/64 scope link valid_lft forever preferred_lft forever 6: enP53p0s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000 link/ether 82:0c:9b:c9:78:f8 brd ff:ff:ff:ff:ff:ff inet 11.111.112.215/22 brd 11.111.115.255 scope global enP53p0s0 valid_lft forever preferred_lft forever inet6 fe80::800c:9bff:fec9:78f8/64 scope link valid_lft forever preferred_lft forever 7: enP53p0s0.171@enP53p0s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000 link/ether 82:0c:9b:c9:78:f8 brd ff:ff:ff:ff:ff:ff inet6 fe80::800c:9bff:fec9:78f8/64 scope link valid_lft forever preferred_lft forever 8: enP50s3832.170@enP50s3832: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000 link/ether 82:0c:9b:a8:a1:b2 brd ff:ff:ff:ff:ff:ff inet 192.168.170.53/24 brd 192.168.170.255 scope global enP50s3832.170 valid_lft forever preferred_lft forever inet6 fe80::800c:9bff:fea8:a1b2/64 scope link valid_lft forever preferred_lft forever 9: encdc0.150@encdc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000 link/ether 02:76:54:00:00:04 brd ff:ff:ff:ff:ff:ff inet 192.168.150.53/24 brd 192.168.150.255 scope global encdc0.150 valid_lft forever preferred_lft forever inet6 fe80::76:54ff:fe00:4/64 scope link valid_lft forever preferred_lft forever 10: encdb0.160@encdb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000 link/ether 02:76:54:00:00:03 brd ff:ff:ff:ff:ff:ff inet 192.168.160.53/24 brd 192.168.160.255 scope global encdb0.160 valid_lft forever preferred_lft forever inet6 fe80::76:54ff:fe00:3/64 scope link valid_lft forever preferred_lft forever The vLAN 171 is not getting the IP assigned *Additional Instructions for Mario Alvarado/mario.alberto.gali...@ibm.com: -Post a private note with access information to the machine that the bug is occuring on. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1929657/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp