Comment 1 for bug 1970648

Revision history for this message
Anthony Kamau (ak-launchpad) wrote :

Just a few moments ago, I experienced this same error when running `kubectl` as a regular user:

```
$ kubectl get po -A
internal error, please report: running "kubectl" failed: cannot create transient scope: DBus error "org.freedesktop.systemd1.NoSuchUnit": [Unit snap.kubectl.kubectl.0c38d3ea-4559-4cc0-b754-055470be9a1f.scope not found.]
```

I don't get this error when running the command as the privileged `root` user. I've rebooted the system to no avail. How do I resolve this error? Could it be that I have an ancient server??

```
Sys Info:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic

Snaps:

$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.58.3 14946 latest/stable canonical✓ core
core18 20230320 2721 latest/stable canonical✓ base
kubeadm 1.26.3 2980 latest/stable canonical✓ classic
kubectl 1.26.3 2914 latest/stable canonical✓ classic
```