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 is getting crashed on my ec2 instance #19904

Open
calmraju opened this issue Nov 3, 2024 · 1 comment
Open

minikube is getting crashed on my ec2 instance #19904

calmraju opened this issue Nov 3, 2024 · 1 comment
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@calmraju
Copy link

calmraju commented Nov 3, 2024

What Happened?

Error starting cluster: cmd failed: sudo env PATH=/var/lib/minikube/binaries/v1.16.0:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap

Getting above error and not able to proceed further can anyone help me pls

Attach the log file

==> Docker <==

  • Nov 03 15:20:36 ip-172-31-20-77 systemd[1]: Starting docker.service - Docker Application Container Engine...
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.501537625Z" level=info msg="Starting up"
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.502495630Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.686772717Z" level=info msg="Loading containers: start."
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.911475931Z" level=info msg="Loading containers: done."
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.928089094Z" level=info msg="Docker daemon" commit=24.0.7-0ubuntu4.1 graphdriver=overlay2 version=24.0.7
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.928182832Z" level=info msg="Daemon has completed initialization"
  • Nov 03 15:20:36 ip-172-31-20-77 dockerd[2337]: time="2024-11-03T15:20:36.974823657Z" level=info msg="API listen on /run/docker.sock"
  • Nov 03 15:20:36 ip-172-31-20-77 systemd[1]: Started docker.service - Docker Application Container Engine.
  • ==> container status <==
  • sudo: crictl: command not found
  • CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  • ==> dmesg <==
  • [Nov 3 15:19] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
  • [ +0.213061] cpu 0 spinlock event irq 53
  • [ +0.017962] cpu 1 spinlock event irq 59
  • [ +0.107949] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
  • [ +0.055920] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
  •           * this clock source is slow. Consider trying other clock sources
    
  • [ +0.232287] Grant table initialized
  • [ +0.001346] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
  • [ +0.060537] GPT:Primary header thinks Alt. header is not at the end of the disk.
  • [ +0.001394] GPT:16777215 != 54525951
  • [ +0.002032] GPT:Alternate GPT header not at the end of the disk.
  • [ +0.001883] GPT:16777215 != 54525951
  • [ +0.000001] GPT: Use GNU Parted to correct GPT errors.
  • [ +0.001408] i8042: Warning: Keylock active
  • [ +0.027321] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
  • [ +0.008766] platform eisa.0: EISA: Cannot allocate resource for mainboard
  • [ +0.001835] platform eisa.0: Cannot allocate resource for EISA slot 1
  • [ +0.001794] platform eisa.0: Cannot allocate resource for EISA slot 2
  • [ +0.001787] platform eisa.0: Cannot allocate resource for EISA slot 3
  • [ +0.001783] platform eisa.0: Cannot allocate resource for EISA slot 4
  • [ +0.001778] platform eisa.0: Cannot allocate resource for EISA slot 5
  • [ +0.001766] platform eisa.0: Cannot allocate resource for EISA slot 6
  • [ +0.001797] platform eisa.0: Cannot allocate resource for EISA slot 7
  • [ +0.001783] platform eisa.0: Cannot allocate resource for EISA slot 8
  • [ +2.367840] systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
  • [ +2.262877] kauditd_printk_skb: 80 callbacks suppressed
  • [ +9.062160] kauditd_printk_skb: 26 callbacks suppressed
  • ==> kernel <==
  • 15:35:46 up 16 min, 1 user, load average: 0.65, 0.34, 0.18
  • Linux ip-172-31-20-77 6.8.0-1016-aws Add a delete command #17-Ubuntu SMP Mon Sep 2 13:48:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • PRETTY_NAME="Ubuntu 24.04.1 LTS"
  • ==> kubelet <==
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: Started kubelet.service - kubelet: The Kubernetes Node Agent.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: I1103 15:35:44.134441 16506 server.go:410] Version: v1.16.0
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: I1103 15:35:44.134595 16506 plugins.go:100] No cloud provider specified.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: W1103 15:35:44.137971 16506 server.go:613] failed to get the kubelet's cgroup: mountpoint for cpu not found. Kubelet system container metrics may be missing.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: W1103 15:35:44.138023 16506 server.go:620] failed to get the container runtime's cgroup: failed to get container name for docker process: mountpoint for cpu not found. Runtime system container metrics may be missing.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16506]: F1103 15:35:44.138043 16506 server.go:271] failed to run Kubelet: mountpoint for cpu not found
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: kubelet.service: Main process exited, code=exited, status=255/EXCEPTION
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: kubelet.service: Failed with result 'exit-code'.
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: kubelet.service: Scheduled restart job, restart counter is at 263.
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: Started kubelet.service - kubelet: The Kubernetes Node Agent.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: I1103 15:35:44.884125 16517 server.go:410] Version: v1.16.0
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: I1103 15:35:44.884591 16517 plugins.go:100] No cloud provider specified.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: W1103 15:35:44.886726 16517 server.go:613] failed to get the kubelet's cgroup: mountpoint for cpu not found. Kubelet system container metrics may be missing.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: W1103 15:35:44.886768 16517 server.go:620] failed to get the container runtime's cgroup: failed to get container name for docker process: mountpoint for cpu not found. Runtime system container metrics may be missing.
  • Nov 03 15:35:44 ip-172-31-20-77 kubelet[16517]: F1103 15:35:44.886789 16517 server.go:271] failed to run Kubelet: mountpoint for cpu not found
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: kubelet.service: Main process exited, code=exited, status=255/EXCEPTION
  • Nov 03 15:35:44 ip-172-31-20-77 systemd[1]: kubelet.service: Failed with result 'exit-code'.
  • Nov 03 15:35:45 ip-172-31-20-77 systemd[1]: kubelet.service: Scheduled restart job, restart counter is at 264.
  • Nov 03 15:35:45 ip-172-31-20-77 systemd[1]: Started kubelet.service - kubelet: The Kubernetes Node Agent.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: I1103 15:35:45.641415 16528 server.go:410] Version: v1.16.0
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: I1103 15:35:45.642117 16528 plugins.go:100] No cloud provider specified.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: W1103 15:35:45.644888 16528 server.go:613] failed to get the kubelet's cgroup: mountpoint for cpu not found. Kubelet system container metrics may be missing.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: W1103 15:35:45.645133 16528 server.go:620] failed to get the container runtime's cgroup: failed to get container name for docker process: mountpoint for cpu not found. Runtime system container metrics may be missing.
  • Nov 03 15:35:45 ip-172-31-20-77 kubelet[16528]: F1103 15:35:45.645157 16528 server.go:271] failed to run Kubelet: mountpoint for cpu not found
  • Nov 03 15:35:45 ip-172-31-20-77 systemd[1]: kubelet.service: Main process exited, code=exited, status=255/EXCEPTION
  • Nov 03 15:35:45 ip-172-31-20-77 systemd[1]: kubelet.service: Failed with result 'exit-code'.
  • Nov 03 15:35:46 ip-172-31-20-77 systemd[1]: kubelet.service: Scheduled restart job, restart counter is at 265.
  • Nov 03 15:35:46 ip-172-31-20-77 systemd[1]: Started kubelet.service - kubelet: The Kubernetes Node Agent.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
  • Nov 03 15:35:46 ip-172-31-20-77 kubelet[16597]: Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.

Operating System

Ubuntu

Driver

Docker

@AmarNathChary
Copy link

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants