Skip to content

Instantly share code, notes, and snippets.

@magick93
Created May 21, 2025 05:40
Show Gist options
  • Save magick93/269e996286fd036aad7b6b959424dbb3 to your computer and use it in GitHub Desktop.
Save magick93/269e996286fd036aad7b6b959424dbb3 to your computer and use it in GitHub Desktop.
[blockprint] TopoLVM v15.5.5 Debug Output (lvmdEmbedded=false) v15.0.0
[OK] kubectl is available
=== Kubernetes Pod Status ===
Checking pods in namespace: topolvm-system
Pod: topolvm-controller-6fc6bcd4b5-q8t6t
Status: Running | Containers: 5 | Ready: true/true/true/true/true
Pod: topolvm-controller-6fc6bcd4b5-tgkc8
Status: Running | Containers: 5 | Ready: true/true/true/true/true
Pod: topolvm-lvmd-0-4vs59
Status: Running | Containers: 1 | Ready: false
[ERROR] Pod has containers in CrashLoopBackOff
Checking logs for container: lvmd
{"level":"info","ts":"2025-05-21T05:36:05Z","msg":"configuration file loaded","device_classes":[{"name":"ssd","volume-group":"myvg1","default":true,"spare-gb":10,"stripe":null,"stripe-size":"","lvcreate-options":null,"type":"","thin-pool":null}],"socket_name":"/run/topolvm/lvmd.sock","file_name":"/etc/topolvm/lvmd.yaml"}
{"level":"error","ts":"2025-05-21T05:36:05Z","msg":"volume group not found","volume_group":"myvg1","error":"not found","stacktrace":"github.com/topolvm/topolvm/cmd/lvmd/app.subMain\n\t/workdir/cmd/lvmd/app/root.go:85\ngithub.com/topolvm/topolvm/cmd/lvmd/app.init.func2\n\t/workdir/cmd/lvmd/app/root.go:58\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041\ngithub.com/topolvm/topolvm/cmd/lvmd/app.Execute\n\t/workdir/cmd/lvmd/app/root.go:188\nmain.main\n\t/workdir/cmd/hypertopolvm/main.go:38\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272"}
Error: not found
not found
Pod: topolvm-lvmd-0-xkvgr
Status: Running | Containers: 1 | Ready: false
[ERROR] Pod has containers in CrashLoopBackOff
Checking logs for container: lvmd
{"level":"info","ts":"2025-05-21T05:36:15Z","msg":"configuration file loaded","device_classes":[{"name":"ssd","volume-group":"myvg1","default":true,"spare-gb":10,"stripe":null,"stripe-size":"","lvcreate-options":null,"type":"","thin-pool":null}],"socket_name":"/run/topolvm/lvmd.sock","file_name":"/etc/topolvm/lvmd.yaml"}
not found
{"level":"error","ts":"2025-05-21T05:36:15Z","msg":"volume group not found","volume_group":"myvg1","error":"not found","stacktrace":"github.com/topolvm/topolvm/cmd/lvmd/app.subMain\n\t/workdir/cmd/lvmd/app/root.go:85\ngithub.com/topolvm/topolvm/cmd/lvmd/app.init.func2\n\t/workdir/cmd/lvmd/app/root.go:58\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041\ngithub.com/topolvm/topolvm/cmd/lvmd/app.Execute\n\t/workdir/cmd/lvmd/app/root.go:188\nmain.main\n\t/workdir/cmd/hypertopolvm/main.go:38\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272"}
Error: not found
Pod: topolvm-node-75vlm
Status: Running | Containers: 3 | Ready: false/true/false
[ERROR] Pod has containers in CrashLoopBackOff
Checking logs for container: csi-registrar
I0521 05:39:43.781046 1 main.go:150] "Version" version=""
I0521 05:39:43.781082 1 main.go:151] "Running node-driver-registrar" mode=""
I0521 05:39:53.781761 1 connection.go:253] "Still connecting" address="unix:///var/snap/microk8s/common/var/lib/kubelet/plugins/topolvm.io/node/csi-topolvm.sock"
I0521 05:40:03.781622 1 connection.go:253] "Still connecting" address="unix:///var/snap/microk8s/common/var/lib/kubelet/plugins/topolvm.io/node/csi-topolvm.sock"
I0521 05:40:13.781612 1 connection.go:253] "Still connecting" address="unix:///var/snap/microk8s/common/var/lib/kubelet/plugins/topolvm.io/node/csi-topolvm.sock"
E0521 05:40:13.782015 1 main.go:176] "Error connecting to CSI driver" err="context deadline exceeded"
Checking logs for container: topolvm-node
{"level":"info","ts":"2025-05-21T05:35:57Z","logger":"setup","msg":"starting manager"}
{"level":"info","ts":"2025-05-21T05:35:57Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"}
{"level":"info","ts":"2025-05-21T05:35:57Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8080","secure":false}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Starting EventSource","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume","source":"kind source: *v1.LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Starting Controller","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Starting workers","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume","worker count":1}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Stopping and waiting for non leader election runnables"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Stopping and waiting for leader election runnables"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Shutdown signal received, waiting for all workers to finish","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"All workers finished","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Stopping and waiting for caches"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Stopping and waiting for webhooks"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Stopping and waiting for HTTP servers"}
{"level":"info","ts":"2025-05-21T05:35:57Z","logger":"controller-runtime.metrics","msg":"Shutting down metrics server with timeout of 1 minute"}
{"level":"info","ts":"2025-05-21T05:35:57Z","msg":"Wait completed, proceeding to shutdown the manager"}
{"level":"error","ts":"2025-05-21T05:35:57Z","logger":"setup","msg":"problem running manager","error":"rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial unix /run/topolvm/lvmd.sock: connect: no such file or directory\"","stacktrace":"github.com/topolvm/topolvm/cmd/topolvm-node/app.subMain\n\t/workdir/cmd/topolvm-node/app/run.go:159\ngithub.com/topolvm/topolvm/cmd/topolvm-node/app.init.func1\n\t/workdir/cmd/topolvm-node/app/root.go:41\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041\ngithub.com/topolvm/topolvm/cmd/topolvm-node/app.Execute\n\t/workdir/cmd/topolvm-node/app/root.go:48\nmain.main\n\t/workdir/cmd/hypertopolvm/main.go:42\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272"}
Error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /run/topolvm/lvmd.sock: connect: no such file or directory"
rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /run/topolvm/lvmd.sock: connect: no such file or directory"
Pod: topolvm-node-q7qrt
Status: Running | Containers: 3 | Ready: false/true/false
[ERROR] Pod has containers in CrashLoopBackOff
Checking logs for container: csi-registrar
I0521 05:39:35.264571 1 main.go:150] "Version" version=""
I0521 05:39:35.264633 1 main.go:151] "Running node-driver-registrar" mode=""
I0521 05:39:45.264744 1 connection.go:253] "Still connecting" address="unix:///var/snap/microk8s/common/var/lib/kubelet/plugins/topolvm.io/node/csi-topolvm.sock"
I0521 05:39:55.264776 1 connection.go:253] "Still connecting" address="unix:///var/snap/microk8s/common/var/lib/kubelet/plugins/topolvm.io/node/csi-topolvm.sock"
I0521 05:40:05.265106 1 connection.go:253] "Still connecting" address="unix:///var/snap/microk8s/common/var/lib/kubelet/plugins/topolvm.io/node/csi-topolvm.sock"
E0521 05:40:05.265423 1 main.go:176] "Error connecting to CSI driver" err="context deadline exceeded"
Checking logs for container: topolvm-node
{"level":"info","ts":"2025-05-21T05:36:09Z","logger":"setup","msg":"starting manager"}
{"level":"info","ts":"2025-05-21T05:36:09Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"}
{"level":"info","ts":"2025-05-21T05:36:09Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8080","secure":false}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Starting EventSource","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume","source":"kind source: *v1.LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Starting Controller","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Starting workers","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume","worker count":1}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Stopping and waiting for non leader election runnables"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Stopping and waiting for leader election runnables"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Shutdown signal received, waiting for all workers to finish","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"All workers finished","controller":"logicalvolume","controllerGroup":"topolvm.io","controllerKind":"LogicalVolume"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Stopping and waiting for caches"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Stopping and waiting for webhooks"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Stopping and waiting for HTTP servers"}
{"level":"info","ts":"2025-05-21T05:36:09Z","logger":"controller-runtime.metrics","msg":"Shutting down metrics server with timeout of 1 minute"}
{"level":"info","ts":"2025-05-21T05:36:09Z","msg":"Wait completed, proceeding to shutdown the manager"}
{"level":"error","ts":"2025-05-21T05:36:09Z","logger":"setup","msg":"problem running manager","error":"rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial unix /run/topolvm/lvmd.sock: connect: no such file or directory\"","stacktrace":"github.com/topolvm/topolvm/cmd/topolvm-node/app.subMain\n\t/workdir/cmd/topolvm-node/app/run.go:159\ngithub.com/topolvm/topolvm/cmd/topolvm-node/app.init.func1\n\t/workdir/cmd/topolvm-node/app/root.go:41\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041\ngithub.com/topolvm/topolvm/cmd/topolvm-node/app.Execute\n\t/workdir/cmd/topolvm-node/app/root.go:48\nmain.main\n\t/workdir/cmd/hypertopolvm/main.go:42\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272"}
Error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /run/topolvm/lvmd.sock: connect: no such file or directory"
rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /run/topolvm/lvmd.sock: connect: no such file or directory"
Note: For detailed debugging, use 'kubectl describe pod <name> -n topolvm-system'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment