[Bug 1667765] [NEW] bridge parameters are unknown

Ryan Harper 1667765 at bugs.launchpad.net
Fri Feb 24 18:20:01 UTC 2017


Public bug reported:

Attempting to bring up a bridge with some config fails;  all keys that
are listed in documentation are rejected.  I removed 'ageing-time' and
it rejects the next item in the config dictionary.

root at ubuntu:/etc/netplan# netplan generate
Error in network definition //etc/netplan/50-cloud-init.yaml line 29 column 12: unknown key ageing-time

root at ubuntu:/etc/netplan# cat 50-cloud-init.yaml 
# This file is generated from information provided by
# the datasource.  Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    version: 2
    ethernets:
        eth0:
            dhcp4: true
            match:
                macaddress: '52:54:00:12:34:00'
            set-name: eth0
        eth1:
            match:
                macaddress: '52:54:00:12:34:02'
            set-name: eth1
        eth2:
            match:
                macaddress: '52:54:00:12:34:04'
            set-name: eth2
    bridges:
        br0:
            addresses:
            - 192.168.14.2/24
            interfaces:
            - eth1
            - eth2
        config:
            ageing-time: 250
            forward-delay: 1
            hello-time: 1
            max-age: 10
            path-cost:
                eth1: 50
                eth2: 75
            priority: 22


root at ubuntu:/etc/netplan# lsb_release -rd
Description:	Ubuntu Zesty Zapus (development branch)
Release:	17.04
root at ubuntu:/etc/netplan# apt-cache policy nplan
nplan:
  Installed: 0.18
  Candidate: 0.18
  Version table:
 *** 0.18 500
        500 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: nplan 0.18
ProcVersionSignature: Ubuntu 4.10.0-8.10-generic 4.10.0-rc8
Uname: Linux 4.10.0-8-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Fri Feb 24 18:16:28 2017
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nplan
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nplan (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug curtin uec-images zesty

** Tags added: curtin

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1667765

Title:
  bridge parameters are unknown

Status in nplan package in Ubuntu:
  New

Bug description:
  Attempting to bring up a bridge with some config fails;  all keys that
  are listed in documentation are rejected.  I removed 'ageing-time' and
  it rejects the next item in the config dictionary.

  root at ubuntu:/etc/netplan# netplan generate
  Error in network definition //etc/netplan/50-cloud-init.yaml line 29 column 12: unknown key ageing-time

  root at ubuntu:/etc/netplan# cat 50-cloud-init.yaml 
  # This file is generated from information provided by
  # the datasource.  Changes to it will not persist across an instance.
  # To disable cloud-init's network configuration capabilities, write a file
  # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  # network: {config: disabled}
  network:
      version: 2
      ethernets:
          eth0:
              dhcp4: true
              match:
                  macaddress: '52:54:00:12:34:00'
              set-name: eth0
          eth1:
              match:
                  macaddress: '52:54:00:12:34:02'
              set-name: eth1
          eth2:
              match:
                  macaddress: '52:54:00:12:34:04'
              set-name: eth2
      bridges:
          br0:
              addresses:
              - 192.168.14.2/24
              interfaces:
              - eth1
              - eth2
          config:
              ageing-time: 250
              forward-delay: 1
              hello-time: 1
              max-age: 10
              path-cost:
                  eth1: 50
                  eth2: 75
              priority: 22

  
  root at ubuntu:/etc/netplan# lsb_release -rd
  Description:	Ubuntu Zesty Zapus (development branch)
  Release:	17.04
  root at ubuntu:/etc/netplan# apt-cache policy nplan
  nplan:
    Installed: 0.18
    Candidate: 0.18
    Version table:
   *** 0.18 500
          500 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: nplan 0.18
  ProcVersionSignature: Ubuntu 4.10.0-8.10-generic 4.10.0-rc8
  Uname: Linux 4.10.0-8-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  Date: Fri Feb 24 18:16:28 2017
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nplan
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list