Hi,

In our case a backport of the specific commit fixed the issue. I really
do think that this is (a rather difficult to reproduce) problem, which
the above commit fixes.

Cheers

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1930738

Title:
  network configuration failed on reboot

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  This issue was reported at
  https://github.com/systemd/systemd/issues/17012

  **Used distribution**
   > Ubuntu 20.04.1 LTS

  
  **systemd version the issue has been seen with**
  > 245.4-4ubuntu3.2

  **Issue details**
  I configured 255 IPv4 address (including primary IP) using netplan but when 
the server restart, it time out on configuring the interface.  If I limit total 
IPv4 addresses to 181 or less, it works. But anything larger than 181 fails.

  Below are my configurations and error logs.

  **/etc/netplan/10-ens3.yaml**
  ```
  network:
    version: 2
    renderer: networkd
    ethernets:
      ens3:
        dhcp4: no
        addresses:
          - 140.XX.XX.XX/23
          - 103.XXX.XX.1/24
          - 103.XXX.XX.2/24
          - CONTINUED IP ADDRESS UPTO BELOW ...
          - 103.XXX.XX.254/24
        gateway4: 140.XX.XX.X
        nameservers:
          addresses: [1.1.1.1, 1.0.0.1]
        routes:
          - to: 169.254.0.0/16
            via: 140.XX.XX.X
            metric: 100
  ```
  The above config works if I run `netplan apply` but when I reboot, it does 
not work.

  **networkctl**
  ```
  IDX LINK TYPE     OPERATIONAL SETUP    
    1 lo   loopback carrier     unmanaged
    2 ens3 ether    routable    failed   

  2 links listed.
  ```

  **/etc/systemd/system/systemd-networkd.service.d/override.conf**
  ```
  [Service]
  Environment=SYSTEMD_LOG_LEVEL=debug
  ```

  **systemctl status systemd-networkd.service**
  ```
  ● systemd-networkd.service - Network Service
       Loaded: loaded (/lib/systemd/system/systemd-networkd.service; 
enabled-runtime; vendor preset: enabled)
      Drop-In: /etc/systemd/system/systemd-networkd.service.d
               └─override.conf
       Active: active (running) since Thu 2020-09-10 19:46:58 UTC; 1min 36s ago
         Docs: man:systemd-networkd.service(8)
     Main PID: 346 (systemd-network)
       Status: "Processing requests..."
        Tasks: 1 (limit: 1074)
       Memory: 3.8M
       CGroup: /system.slice/systemd-networkd.service
               └─346 /lib/systemd/systemd-networkd

  Sep 10 19:47:03 test-server systemd-networkd[346]: NDISC: Sent Router 
Solicitation, next solicitation in 7s
  Sep 10 19:47:11 test-server systemd-networkd[346]: NDISC: No RA received 
before link confirmation timeout
  Sep 10 19:47:11 test-server systemd-networkd[346]: NDISC: Invoking callback 
for 'timeout' event.
  Sep 10 19:47:11 test-server systemd-networkd[346]: NDISC: Sent Router 
Solicitation, next solicitation in 15s
  Sep 10 19:47:23 test-server systemd-networkd[346]: Assertion 'm->sealed' 
failed at src/libsystemd/sd-netlink/netlink-message.c:582, function 
netlink_message_read_internal(). Ignoring.
  Sep 10 19:47:23 test-server systemd-networkd[346]: ens3: Could not set 
address: Connection timed out
  Sep 10 19:47:23 test-server systemd-networkd[346]: ens3: Failed
  Sep 10 19:47:23 test-server systemd-networkd[346]: ens3: State changed: 
configuring -> failed
  Sep 10 19:47:23 test-server systemd-networkd[346]: Sent message type=signal 
sender=n/a destination=n/a path=/org/freedesktop/network1/link/_32 
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=13 
reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
  Sep 10 19:47:23 test-server systemd-networkd[346]: NDISC: Stopping IPv6 
Router Solicitation client
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1930738/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to