-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Seen with minikube krunkit driver using:
% out/minikube start --driver krunkit --container-runtime containerd
π minikube v1.36.0 on Darwin 15.5 (arm64)
β¨ Using the krunkit (experimental) driver based on user configuration
π Starting "minikube" primary control-plane node in "minikube" cluster
π₯ Creating krunkit VM (CPUs=2, Memory=6144MB, Disk=20000MB) ...
π¦ Preparing Kubernetes v1.33.2 on containerd 1.7.23 ...
βͺ Generating certificates and keys ...
βͺ Booting up control plane ...
βͺ Configuring RBAC rules ...
π Configuring bridge CNI (Container Networking Interface) ...
π Verifying Kubernetes components...
βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v5
π Enabled addons: default-storageclass, storage-provisioner
π Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
% minikube ssh -- uname -a
Linux minikube 6.6.95 #1 SMP PREEMPT Sat Jul 19 17:25:16 UTC 2025 aarch64 GNU/Linux
% out/minikube stop
β Stopping node "minikube" ...
π 1 node stopped.% cat ~/.minikube/machines/minikube/krunkit.log
[2025-07-23T20:05:32Z ERROR devices::virtio::console::device] Couldn't get terminal dimensions: ENODEV: No such device
[2025-07-23T20:05:32Z ERROR devices::virtio::console::device] Couldn't get terminal dimensions: ENODEV: No such device
[2025-07-23T20:05:33Z ERROR devices::virtio::console::device] Couldn't get terminal dimensions: ENODEV: No such device
[2025-07-23T20:06:22Z ERROR devices::virtio::net::worker] Failed to process rx: Backend(Internal(ECONNRESET)) (triggered by backend socket readable)
[2025-07-23T20:06:22Z ERROR devices::virtio::net::worker] Failed to process rx: Backend(Internal(EDESTADDRREQ)) (triggered by backend socket readable)
[2025-07-23T20:06:22Z ERROR devices::virtio::net::worker] Failed to process rx: Backend(Internal(EDESTADDRREQ)) (triggered by backend socket readable)
[2025-07-23T20:06:23Z ERROR devices::virtio::net::worker] Failed to process rx: Backend(Internal(EDESTADDRREQ)) (triggered by backend socket readable)
[2025-07-23T20:06:27Z INFO vmm::macos::vstate] vCPU 0 received shutdown signal
[2025-07-23T20:06:27Z INFO vmm] Vmm is stopping.When stopping minikube sends a Stop POST request to the listner.
- If the request is successful vment-helper is terminated, which may explain the ECONNRESET event.
- When vmnet-helper terminates, it removes the socket that libkrun is connected to, so it may explain the EDESTADDRREQ errors.
These errors are not expected so it logging errors seems like the right way.
ENODEV may be a missing /dev/something in the minikube vm?
Fix:
- Log the missing device path in "Couldn't get terminal dimensions: ENODEV: No such device"
- Fix krunkit to wait for ack from the library before returning a response from Stop request. When libkrun receive a shutdown event it can suppress network and other errors that are not interesting during shutdown
- Fix minikube (and all other clients) to terminate the networking proxy only after krunkit terminates
Metadata
Metadata
Assignees
Labels
No labels