[Bug 1944458] Re: netplan try will crash

Launchpad Bug Tracker 1944458 at bugs.launchpad.net
Tue Mar 26 04:17:17 UTC 2024


[Expired for netplan.io (Ubuntu) because there has been no activity for
60 days.]

** Changed in: netplan.io (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  netplan try will crash

Status in netplan.io package in Ubuntu:
  Expired

Bug description:
  root at ubuntu:~# netplan try
  Job for netplan-wpa-wlan0.service canceled.

  An error occurred: Command '['systemctl', 'stop', 'systemd-
  networkd.service', 'netplan-wpa-*.service']' returned non-zero exit
  status 1.

  Reverting.
  Job for netplan-wpa-wlan0.service canceled.
  Traceback (most recent call last):
    File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 84, in command_try
      NetplanApply().command_apply(run_generate=True, sync=True, exit_on_error=False)
    File "/usr/share/netplan/netplan/cli/commands/apply.py", line 164, in command_apply
      utils.systemctl_networkd('stop', sync=sync, extra_services=wpa_services)
    File "/usr/share/netplan/netplan/cli/utils.py", line 131, in systemctl_networkd
      subprocess.check_call(command)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['systemctl', 'stop', 'systemd-networkd.service', 'netplan-wpa-*.service']' returned non-zero exit status 1.

  During handling of the above exception, another exception occurred:

  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 264, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 66, in run
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 264, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 95, in command_try
      self.revert()
    File "/usr/share/netplan/netplan/cli/commands/try_command.py", line 118, in revert
      NetplanApply().command_apply(run_generate=False, sync=True, exit_on_error=False)
    File "/usr/share/netplan/netplan/cli/commands/apply.py", line 164, in command_apply
      utils.systemctl_networkd('stop', sync=sync, extra_services=wpa_services)
    File "/usr/share/netplan/netplan/cli/utils.py", line 131, in systemctl_networkd
      subprocess.check_call(command)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['systemctl', 'stop', 'systemd-networkd.service', 'netplan-wpa-*.service']' returned non-zero exit status 1.
  root at ubuntu:~#

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: netplan.io 0.102-0ubuntu1~20.04.2
  ProcVersionSignature: User Name 5.4.0-1043.47-raspi 5.4.133
  Uname: Linux 5.4.0-1043-raspi armv7l
  ApportVersion: 2.20.11-0ubuntu27.20
  Architecture: armhf
  CasperMD5CheckResult: skip
  Date: Tue Sep 21 20:40:46 2021
  ImageMediaBuild: 20210819.1
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.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/1944458/+subscriptions




More information about the foundations-bugs mailing list