[Bug 1949104] [NEW] netplan try is broken

Stefan Greiner 1949104 at bugs.launchpad.net
Thu Oct 28 16:44:49 UTC 2021


Public bug reported:

I hava a freshly installed Ubuntu Server 20.04 LTS.
I am using a static IP config (100% sure it is correct, also the YAML is correct)

If you then enter "netplan try" I get this:
--------------------------------------------------------------------------------
Warning: Stopping systemd-networkd.service, but it can still be activated by:
  systemd-networkd.socket

An error occurred: 'NetplanApply' object has no attribute 'state'

Reverting.
Warning: Stopping systemd-networkd.service, but it can still be activated by:
  systemd-networkd.socket
--------------------------------------------------------------------------------

"netplan generate && netplan apply" does work.
I found some other people having these issues too on freshly installed 20.04 and 21.10 and online forums.

System Infos:

lsb_release -rd:
Description:    Ubuntu 20.04.3 LTS
Release:        20.04

apt-cache policy netplan.io:
netplan.io:
  Installed: 0.103-0ubuntu5~20.04.2
  Candidate: 0.103-0ubuntu5~20.04.2
  Version table:
 *** 0.103-0ubuntu5~20.04.2 500
        500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.99-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages

systemd --version:
systemd 245 (245.4-4ubuntu3.13)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid


Thank you!

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

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

Title:
  netplan try is broken

Status in netplan.io package in Ubuntu:
  New

Bug description:
  I hava a freshly installed Ubuntu Server 20.04 LTS.
  I am using a static IP config (100% sure it is correct, also the YAML is correct)

  If you then enter "netplan try" I get this:
  --------------------------------------------------------------------------------
  Warning: Stopping systemd-networkd.service, but it can still be activated by:
    systemd-networkd.socket

  An error occurred: 'NetplanApply' object has no attribute 'state'

  Reverting.
  Warning: Stopping systemd-networkd.service, but it can still be activated by:
    systemd-networkd.socket
  --------------------------------------------------------------------------------

  "netplan generate && netplan apply" does work.
  I found some other people having these issues too on freshly installed 20.04 and 21.10 and online forums.

  System Infos:

  lsb_release -rd:
  Description:    Ubuntu 20.04.3 LTS
  Release:        20.04

  apt-cache policy netplan.io:
  netplan.io:
    Installed: 0.103-0ubuntu5~20.04.2
    Candidate: 0.103-0ubuntu5~20.04.2
    Version table:
   *** 0.103-0ubuntu5~20.04.2 500
          500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.99-0ubuntu1 500
          500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages

  systemd --version:
  systemd 245 (245.4-4ubuntu3.13)
  +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid

  
  Thank you!

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




More information about the foundations-bugs mailing list