Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minikube starting issue #19660

Open
saroj-samal opened this issue Sep 17, 2024 · 0 comments
Open

Minikube starting issue #19660

saroj-samal opened this issue Sep 17, 2024 · 0 comments

Comments

@saroj-samal
Copy link

What Happened?

PS C:\minikube\test> minikube logs --file=logs.txt
E0917 10:35:32.988657 29744 logs.go:273] Failed to list containers for "kube-apiserver": docker: docker ps -a --filter=name=k8s_kube-apiserver --format={{.ID}}: Process exited with status 1
stdout:

stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 10:35:33.064113 29744 logs.go:273] Failed to list containers for "etcd": docker: docker ps -a --filter=name=k8s_etcd --format={{.ID}}: Process exited with status 1
stdout:

stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 10:36:33.226826 29744 logs.go:273] Failed to list containers for "coredns": docker: docker ps -a --filter=name=k8s_coredns --format={{.ID}}: Process exited with status 1
stdout:

stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 10:36:33.297462 29744 logs.go:273] Failed to list containers for "kube-scheduler": docker: docker ps -a --filter=name=k8s_kube-scheduler --format={{.ID}}: Process exited with status 1
stdout:

stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 10:37:33.485717 29744 logs.go:273] Failed to list containers for "kube-proxy": docker: docker ps -a --filter=name=k8s_kube-proxy --format={{.ID}}: Process exited with status 1
stdout:

stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 10:37:33.546811 29744 logs.go:273] Failed to list containers for "kube-controller-manager": docker: docker ps -a --filter=name=k8s_kube-controller-manager --format={{.ID}}: Process exited with status 1
stdout:

Attach the log file

PS C:\minikube\test> minikube start

  • minikube v1.33.1 on Microsoft Windows 11 Home Single Language 10.0.22631.4169 Build 22631.4169
  • Using the hyperv driver based on existing profile
  • Starting "minikube" primary control-plane node in "minikube" cluster
  • Restarting existing hyperv VM for "minikube" ...

X Exiting due to RUNTIME_ENABLE: Failed to enable container runtime: sudo systemctl restart docker: Process exited with status 1
stdout:

stderr:
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.

sudo journalctl --no-pager -u docker:
-- stdout --
Sep 17 05:01:04 minikube systemd[1]: Starting Docker Application Container Engine...
Sep 17 05:01:04 minikube dockerd[652]: time="2024-09-17T05:01:04.482550981Z" level=info msg="Starting up"
Sep 17 05:01:04 minikube dockerd[652]: time="2024-09-17T05:01:04.483893125Z" level=info msg="containerd not running, starting managed containerd"
Sep 17 05:01:04 minikube dockerd[652]: time="2024-09-17T05:01:04.485163967Z" level=info msg="started new containerd process" address=/var/run/docker/containerd/containerd.sock module=libcontainerd pid=658
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.532996343Z" level=info msg="starting containerd" revision=926c9586fe4a6236699318391cd44976a98e31f1 version=v1.7.15
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.570815488Z" level=info msg="loading plugin "io.containerd.event.v1.exchange"..." type=io.containerd.event.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.570875790Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.570975994Z" level=info msg="loading plugin "io.containerd.warning.v1.deprecations"..." type=io.containerd.warning.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.571000294Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.blockfile"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.574172499Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.blockfile"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.574361905Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.574783319Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.btrfs"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.574898223Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.devmapper"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.574927724Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.574946924Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.575770452Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.576575378Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.579944789Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.aufs"..." error="aufs is not supported (modprobe aufs failed: exit status 1 "modprobe: FATAL: Module aufs not found in directory /lib/modules/5.10.207\n"): skip plugin" type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.580043092Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.580311701Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.580388004Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.580893220Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.581028825Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.581067026Z" level=info msg="metadata content store policy set" policy=shared
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.587274631Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.587367234Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.587408335Z" level=info msg="loading plugin "io.containerd.lease.v1.manager"..." type=io.containerd.lease.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.587432936Z" level=info msg="loading plugin "io.containerd.streaming.v1.manager"..." type=io.containerd.streaming.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.587464937Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.587630342Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588242362Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588484570Z" level=info msg="loading plugin "io.containerd.runtime.v2.shim"..." type=io.containerd.runtime.v2
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588568173Z" level=info msg="loading plugin "io.containerd.sandbox.store.v1.local"..." type=io.containerd.sandbox.store.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588643676Z" level=info msg="loading plugin "io.containerd.sandbox.controller.v1.local"..." type=io.containerd.sandbox.controller.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588690177Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588735779Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588757179Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588781580Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588805981Z" level=info msg="loading plugin "io.containerd.service.v1.introspection-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588831382Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588852483Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588872083Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588906084Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588929285Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588950186Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588972686Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.588993187Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589014488Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589048689Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589075990Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589184993Z" level=info msg="loading plugin "io.containerd.grpc.v1.sandbox-controllers"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589245195Z" level=info msg="loading plugin "io.containerd.grpc.v1.sandboxes"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589313698Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589345299Z" level=info msg="loading plugin "io.containerd.grpc.v1.streaming"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589372600Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589403901Z" level=info msg="loading plugin "io.containerd.transfer.v1.local"..." type=io.containerd.transfer.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589457902Z" level=info msg="loading plugin "io.containerd.grpc.v1.transfer"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589485603Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589507804Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589585007Z" level=info msg="loading plugin "io.containerd.tracing.processor.v1.otlp"..." type=io.containerd.tracing.processor.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589615408Z" level=info msg="skip loading plugin "io.containerd.tracing.processor.v1.otlp"..." error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589637808Z" level=info msg="loading plugin "io.containerd.internal.v1.tracing"..." type=io.containerd.internal.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589658409Z" level=info msg="skipping tracing processor initialization (no tracing plugin)" error="no OpenTelemetry endpoint: skip plugin"
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589761012Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589815414Z" level=info msg="loading plugin "io.containerd.nri.v1.nri"..." type=io.containerd.nri.v1
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.589843615Z" level=info msg="NRI interface is disabled by configuration."
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.590304930Z" level=info msg=serving... address=/var/run/docker/containerd/containerd-debug.sock
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.590450035Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.590530638Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock
Sep 17 05:01:04 minikube dockerd[658]: time="2024-09-17T05:01:04.590559339Z" level=info msg="containerd successfully booted in 0.062281s"
Sep 17 05:01:05 minikube dockerd[652]: time="2024-09-17T05:01:05.568075738Z" level=info msg="[graphdriver] trying configured driver: overlay2"
Sep 17 05:01:05 minikube dockerd[652]: time="2024-09-17T05:01:05.885814950Z" level=info msg="Loading containers: start."
Sep 17 05:01:06 minikube dockerd[652]: time="2024-09-17T05:01:06.413863560Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Sep 17 05:01:06 minikube dockerd[652]: time="2024-09-17T05:01:06.534031622Z" level=info msg="Loading containers: done."
Sep 17 05:01:06 minikube dockerd[652]: time="2024-09-17T05:01:06.562408663Z" level=info msg="Docker daemon" commit=7cef0d9 containerd-snapshotter=false storage-driver=overlay2 version=26.0.2
Sep 17 05:01:06 minikube dockerd[652]: time="2024-09-17T05:01:06.563314790Z" level=info msg="Daemon has completed initialization"
Sep 17 05:01:06 minikube dockerd[652]: time="2024-09-17T05:01:06.648221607Z" level=info msg="API listen on /var/run/docker.sock"
Sep 17 05:01:06 minikube dockerd[652]: time="2024-09-17T05:01:06.648535316Z" level=info msg="API listen on [::]:2376"
Sep 17 05:01:06 minikube systemd[1]: Started Docker Application Container Engine.
Sep 17 05:01:30 minikube dockerd[652]: time="2024-09-17T05:01:30.875801206Z" level=info msg="Processing signal 'terminated'"
Sep 17 05:01:30 minikube systemd[1]: Stopping Docker Application Container Engine...
Sep 17 05:01:30 minikube dockerd[652]: time="2024-09-17T05:01:30.878515708Z" level=info msg="stopping event stream following graceful shutdown" error="" module=libcontainerd namespace=moby
Sep 17 05:01:30 minikube dockerd[652]: time="2024-09-17T05:01:30.879603209Z" level=info msg="Daemon shutdown complete"Sep 17 05:01:30 minikube dockerd[652]: time="2024-09-17T05:01:30.879726409Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
Sep 17 05:01:30 minikube dockerd[652]: time="2024-09-17T05:01:30.879763009Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerd
Sep 17 05:01:31 minikube systemd[1]: docker.service: Deactivated successfully.
Sep 17 05:01:31 minikube systemd[1]: Stopped Docker Application Container Engine.
Sep 17 05:01:31 minikube systemd[1]: docker.service: Consumed 1.207s CPU time.
Sep 17 05:01:31 minikube systemd[1]: Starting Docker Application Container Engine...
Sep 17 05:01:31 minikube dockerd[1041]: time="2024-09-17T05:01:31.974795267Z" level=info msg="Starting up"
Sep 17 05:02:32 minikube dockerd[1041]: failed to start daemon: failed to dial "/run/containerd/containerd.sock": failed to dial "/run/containerd/containerd.sock": context deadline exceeded
Sep 17 05:02:32 minikube systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Sep 17 05:02:32 minikube systemd[1]: docker.service: Failed with result 'exit-code'.
Sep 17 05:02:32 minikube systemd[1]: Failed to start Docker Application Container Engine.

-- /stdout --
*
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
https://github.com/kubernetes/minikube/issues/new/choose
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Operating System

Windows

Driver

Hyper-V

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant