[Bug 1745648] Re: netplan renders bond lacp-rate as a timevalue should be "fast" or "slow"

Lukas Märdian 1745648 at bugs.launchpad.net
Wed Mar 16 13:39:19 UTC 2022


The input validation for "lacp-rate" is still missing and should be
checked for "slow" or "fast" in src/parse.c.

Re-assigning to the netplan.io project as "nplan" is deprecated.

** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: netplan
   Importance: Undecided
       Status: New

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

** Changed in: netplan.io (Ubuntu)
   Importance: Undecided => High

** Changed in: nplan (Ubuntu)
       Status: Triaged => Invalid

** Tags added: rls-jj-incoming

-- 
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/1745648

Title:
  netplan renders bond lacp-rate as a timevalue should be "fast" or
  "slow"

Status in netplan:
  New
Status in netplan.io package in Ubuntu:
  Triaged
Status in nplan package in Ubuntu:
  Invalid

Bug description:
  1 $ lsb_release -rd
  Description:	Ubuntu Bionic Beaver (development branch)
  Release:	18.04

  2. $ apt-cache policy nplan 
  nplan:
    Installed: 0.32
    Candidate: 0.32
    Version table:
   *** 0.32 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
          100 /var/lib/dpkg/status

  3. configuring a bond with lacp-rate: fast or slow
  4. netplan fails to parse the lacp-rate as a string, expects it to be a time value

  The systemd-networkd netdev documentation[A] indicates that
  LACPTransmitRate (which the netplan lacp-rate key maps to) has two
  values:  "fast" and "slow"  but netplan is rendering an integer.

  A.
  https://www.freedesktop.org/software/systemd/man/systemd.netdev.html

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: nplan 0.32
  ProcVersionSignature: User Name 4.13.0-31.34~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-31-generic x86_64
  ApportVersion: 2.20.8-0ubuntu3
  Architecture: amd64
  Date: Fri Jan 26 17:28:23 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.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/netplan/+bug/1745648/+subscriptions




More information about the foundations-bugs mailing list