[Bug 2079975] Re: netplan status: encoding issues

Launchpad Bug Tracker 2079975 at bugs.launchpad.net
Thu Nov 7 23:14:57 UTC 2024


This bug was fixed in the package netplan.io - 1.1.1-1

---------------
netplan.io (1.1.1-1) unstable; urgency=medium

  * New upstream release: 1.1.1
    - NM: add support for stable-ssid MAC option !524 (LP: #2084234)
    - wpa_supplicant: add ExecReload to the service unit !523
    - Create snippet files for single-sourcing repetitive instructions !505
    - doc: Add initial 'Cryptography' section !517
    - Several code cleanup & fixes for TiCS !507
    - tests: ethernets: Add ipv6-address-generation integration tests !509
    - cli: drop python-netifaces !503 (LP: #2065870, LP: #2017585)
    - parse-nm: account for veth and dummy when checking for virtual types !513
    - Avoid dependency on dbus-python !511
    - tests: Improve vrf/wireguard modprobe check inside containers !510
    - tests:ethernets: avoid flaky test_ip6_eui64 results !514
    - ovs: quote external-ids and other-config values !512 (LP: #2070318)
    - Handle implicit conversions !496
    - Use more permissive umask for .service units !516 (LP: #2072486)
    - Revert "apply: make sure that networkd is restarted when needed" !518
      (LP: #2078009)
    - Handling encoding issues on netplan status !521 (LP: #2079975)
    - include: fix apidoc warnings about undocumented parameters
  * d/patches: Drop patches, applied upstream
  * d/control: Drop python3-{dbus,netifaces} dependencies, not needed anymore
  * d/{rules,control}: Utilize dh-python

 -- Lukas Märdian <slyon at debian.org>  Wed, 16 Oct 2024 09:46:10 +0200

** Changed in: netplan.io (Ubuntu)
       Status: Fix Committed => 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/2079975

Title:
  netplan status: encoding issues

Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  When non-ascii characters are present, netplan status will not decode
  them properly.

  # netplan status
  Error: netplan-wlp2s0-??????????o - no such connection profile.
  WARNING:root:Cannot query NetworkManager SSID for netplan-wlp2s0-??????????o: Command '['nmcli', '--get-values', '802-11-wireless.ssid', 'con', 'show', 'id', 'netplan-wlp2s0-??????????o']' returned non-zero exit status 10.
  Error: netplan-wlp2s0-??????????o - no such connection profile.
  WARNING:root:Cannot query NetworkManager SSID for netplan-wlp2s0-??????????o: Command '['nmcli', '--get-values', '802-11-wireless.ssid', 'con', 'show', 'id', 'netplan-wlp2s0-??????????o']' returned non-zero exit status 10.
       Online state: online
      DNS Addresses: 127.0.0.53 (stub)
         DNS Search: .

  ●  1: lo ethernet UNKNOWN/UP (unmanaged)
        MAC Address: 00:00:00:00:00:00
          Addresses: 127.0.0.1/8
                     ::1/128
                     ::1 metric 256

  ●  3: wlp2s0 wifi/"\303\241\303\251\303\255\303\263\303\272\302\242\302\242\302\242\303\247\303\243o" UP (NetworkManager: wlp2s0-??????????o)
        MAC Address: 5c:c9:d3:6d:f3:ff (Qualcomm Atheros)
          Addresses: 10.42.0.203/24
                     fe80::5ec9:d3ff:fe6d:f3ff/64 (link)
      DNS Addresses: 10.42.0.1
             Routes: default via 10.42.0.1 metric 600 (dhcp)
                     10.42.0.0/24 from 10.42.0.203 metric 600 (link)
                     fe80::/64 metric 256

  1 inactive interfaces hidden. Use "--all" to show all.

  ----

  Those characters are decoded correctly by the netplan generator and
  netplan get. In this example it's an access-point with SSID and
  password "áéíóú¢¢¢ção". The connection works fine on both networkd and
  NetworkManager, only the rendering from netplan status seems to be
  affected.

  It was tested on Jammy with netplan.io 0.107.1-3ubuntu0.22.04.1

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




More information about the foundations-bugs mailing list