csi-rbdplugin CrashLoopBackOff when k-c-p runs in LXD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Fix Released
|
High
|
Chris Johnston |
Bug Description
When CK 1.24 is deployed with k-c-p inside of a LXD container the csi-rbdplugin pod gets stuck in a CrashLoopBackOff.
kubectl logs csi-rbdplugin-qvztj csi-rbdplugin
W1129 19:28:38.706385 26140 rbd_attach.go:209] rbd-nbd: nbd modprobe failed with error an error (exit status 1) occurred while running modprobe args: [nbd]
I1129 19:28:38.741112 26140 cephcsi.go:171] Driver version: v3.5.1 and Git version: 00f88e58a0b08be
I1129 19:28:38.741193 26140 cephcsi.go:220] Starting driver type: rbd with name: rbd.csi.ceph.com
I1129 19:28:38.741678 26140 server.go:114] listening for CSI-Addons requests on address: &net.UnixAddr{
I1129 19:28:38.751582 26140 mount_linux.go:218] Cannot run systemd-run, assuming non-systemd OS
I1129 19:28:38.751599 26140 mount_linux.go:219] systemd-run output: System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
, failed with: exit status 1
E1129 19:28:38.756864 26140 rbd_util.go:241] modprobe failed: an error (exit status 1) occurred while running modprobe args: [rbd]
F1129 19:28:38.756892 26140 driver.go:148] an error (exit status 1) occurred while running modprobe args: [rbd]
goroutine 1 [running]:
k8s.io/
k8s.io/
k8s.io/
k8s.io/
github.
github.
main.main()
goroutine 19 [chan receive]:
k8s.io/
created by k8s.io/
goroutine 57 [sleep]:
time.Sleep(
sigs.k8s.
created by sigs.k8s.
goroutine 70 [IO wait]:
internal/
internal/
internal/
internal/
net.(*netFD)
net.(*UnixListe
net.(*UnixListe
google.
github.
created by github.
On the physical host, running `sudo modprobe rbd` resolves the issue until a reboot.
Changed in charm-kubernetes-master: | |
milestone: | none → 1.26+ck1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in charm-kubernetes-master: | |
status: | Triaged → In Progress |
assignee: | nobody → Adam Dyess (addyess) |
Changed in charm-kubernetes-master: | |
status: | In Progress → Fix Committed |
Changed in charm-kubernetes-master: | |
assignee: | Adam Dyess (addyess) → Chris Johnston (cjohnston) |
tags: | added: backport-needed |
tags: | removed: backport-needed |
Changed in charm-kubernetes-master: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/charmed- kubernetes/ charm-kubernete s-control- plane/pull/ 261