kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.59k stars 4.89k forks source link

minikube fails to start a VM from the sleep #20007

Open outcoldman opened 5 days ago

outcoldman commented 5 days ago

What Happened?

Every time I try to start a VM, that was created before, it fails with

adjusting system clock: ssh command error:
command : sudo date -s @1732660676
err     : Process exited with status 1
output  : Tue Nov 26 22:37:56 UTC 2024
date: cannot set date: Invalid argument

Attach the log file

minikube start \ --extra-config=apiserver.audit-policy-file=/etc/ssl/certs/audit-policy.yaml \ --extra-config=apiserver.audit-log-path=- \ --insecure-registry=host.minikube.internal:5055 \ --container-runtime=containerd \ --extra-config=kubelet.container-log-max-files=5 \ --extra-config=kubelet.container-log-max-size=200Mi ๐Ÿ˜„ minikube v1.34.0 on Darwin 15.1.1 (arm64) โ–ช MINIKUBE_HOME=/Volumes/DATA/minikube โœจ Using the parallels driver based on existing profile ๐Ÿ‘ Starting "minikube" primary control-plane node in "minikube" cluster ๐Ÿ”„ Restarting existing parallels VM for "minikube" ... ๐Ÿคฆ StartHost failed, but will try again: adjusting system clock: ssh command error: command : sudo date -s @1732660667 err : Process exited with status 1 output : date: cannot set date: Invalid argument Tue Nov 26 22:37:47 UTC 2024

๐Ÿƒ Updating the running parallels "minikube" VM ... ๐Ÿ˜ฟ Failed to start parallels VM. Running "minikube delete" may fix it: adjusting system clock: ssh command error: command : sudo date -s @1732660676 err : Process exited with status 1 output : Tue Nov 26 22:37:56 UTC 2024 date: cannot set date: Invalid argument

โŒ Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: adjusting system clock: ssh command error: command : sudo date -s @1732660676 err : Process exited with status 1 output : Tue Nov 26 22:37:56 UTC 2024 date: cannot set date: Invalid argument

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ ๐Ÿ˜ฟ 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

macOS (Default)

Driver

Parallels

humb1t commented 3 days ago

can confirm same behaviour on mac os for me.