[Bug 1887995] Re: netplan ip leases wlan0 -> traceback

Lukas Märdian 1887995 at bugs.launchpad.net
Thu Jan 25 14:20:10 UTC 2024


I don't think this is an issue anymore on more recent version of Netplan
(tested on 0.106.1):

$ sudo netplan ip leases lxdbr0
No lease found for interface 'lxdbr0' (not managed by Netplan)

Please re-open if you feel this is still relevant.

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

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

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

Title:
  netplan ip leases wlan0 -> traceback

Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  $ netplan ip leases wlan0 
  Traceback (most recent call last):
    File "/usr/sbin/netplan", line 23, in <module>
      netplan.main()
    File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/ip.py", line 57, in run
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/ip.py", line 76, in run
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/ip.py", line 150, in command_ip_leases
      key, value = keyvalue.strip().split('=')
  ValueError: not enough values to unpack (expected 2, got 1)
  $ 

  This is netplan.io 0.99-0ubuntu3~20.04.2 on Ubuntu 20.04.

  Netplan is not managing wlan0, so I don't expect the command to work,
  but I don't expect a Python traceback.

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




More information about the foundations-bugs mailing list