[Bug 1907316] Re: Netplan try give error while plan work correct on boot

Lukas Märdian 1907316 at bugs.launchpad.net
Mon Feb 27 13:38:18 UTC 2023


This is the expected behavior. Certain bridge parameters cannot be set &
rolled back at runtime, that's why `netplan try` warns about it. But it
can be cleanly applied at reboot.

Please re-open if there's another dimention to this that I don't see.

** Changed in: netplan.io (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1907316

Title:
  Netplan try give error while plan work correct on boot

Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  Running netplay try give me the following error but reboot the system
  everything works:

  root at mike-desktop:~# netplan try
  br0: reverting custom parameters for bridges and bonds is not supported

  Please carefully review the configuration and use 'netplan apply' directly.
  root at mike-desktop:~#

  /etc/netplan/10-bridge.yaml
  network:
    version: 2
    renderer: networkd
    ethernets:
      enp0s25:
        dhcp4: false 
        dhcp6: false 
    bridges:
      br0:
        interfaces: [enp0s25]
        addresses: [192.168.1.33/24]
        gateway4: 192.168.1.254
        mtu: 1500
        macaddress: b8:ae:ed:76:0a:bf
        parameters:
          stp: false
          forward-delay: 0
        nameservers:
          addresses: [192.168.1.128, 192.168.1.201]
          search: [mlb.org, ltcd.com, net.ltcd.com, isp.ltcd.com, tyler.ltcd.com]
        dhcp4: no
        dhcp6: no

  Showing that it work on boot here is /run/systemd/network:
  10-netplan-br0.netdev  10-netplan-br0.network  10-netplan-enp0s25.network

  mike at mike-desktop:/run/systemd/network$ cat 10-netplan-br0.netdev 
  [NetDev]
  Name=br0
  MACAddress=b8:ae:ed:76:0a:bf
  MTUBytes=1500
  Kind=bridge

  [Bridge]
  ForwardDelaySec=0
  STP=false

  mike at mike-desktop:/run/systemd/network$ cat 10-netplan-br0.network 
  [Match]
  Name=br0

  [Link]
  MTUBytes=1500

  [Network]
  LinkLocalAddressing=ipv6
  Address=192.168.1.33/24
  Gateway=192.168.1.254
  DNS=192.168.1.128
  DNS=192.168.1.201
  Domains=mlb.org ltcd.com net.ltcd.com isp.ltcd.com tyler.ltcd.com
  ConfigureWithoutCarrier=yes

  mike at mike-desktop:/run/systemd/network$ cat 10-netplan-enp0s25.network 
  [Match]
  Name=enp0s25

  [Network]
  LinkLocalAddressing=no
  Bridge=br0

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: netplan.io 0.100-0ubuntu4~20.04.3
  ProcVersionSignature: Ubuntu 5.4.0-56.62-generic 5.4.73
  Uname: Linux 5.4.0-56-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.13
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: GNOME
  Date: Tue Dec  8 18:42:22 2020
  InstallationDate: Installed on 2020-12-03 (5 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: netplan.io
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1907316/+subscriptions




More information about the foundations-bugs mailing list