rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
5.93k stars 280 forks source link

VM won't start after upgrade to 1.9.1 #5407

Open mbrancato opened 1 year ago

mbrancato commented 1 year ago

Actual Behavior

Th VM won't start I get the error below.

Trying to factory reset:

% rdctl factory-reset 
ERRO[0000] Error trying to delete the Lima VM: exit status 1 

I tried the last command:

% "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" start --tty=false "/Users/mike/Library/Application Support/rancher-desktop/lima/_config/0.yaml"
FATA[0000] open /Users/mike/Library/Application Support/rancher-desktop/lima/_config/0.yaml: no such file or directory 

In a previous attempt, it said the previous command was: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl start --tty=false 0. I tried that as well:

% "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" start --tty=false 0
INFO[0000] Creating an instance "0" from template://default (Not from template://0) 
WARN[0000] This form is deprecated. Use `limactl start --name=0 template://default` instead 
FATA[0000] open /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/share/lima/examples/default.yaml: no such file or directory 

The error indicates x64 but I downloaded the arm64 version.

image image

Attempting to fix (uninstall / re-install already attempted) - I'm not sure why the output changes and eventually rdctl is gone:

% rdctl factory-reset
INFO[0000] The qemu driver process seems already stopped 
INFO[0000] The host agent process seems already stopped 
INFO[0000] Removing *.pid *.sock under "/Users/mike/Library/Application Support/rancher-desktop/lima/0" 
INFO[0000] Deleted "0" ("/Users/mike/Library/Application Support/rancher-desktop/lima/0") 
INFO[0000] Stopping vde_vmnet daemon for "rancher-desktop-shared" network 
FATA[0000] passwordLessSudo error: failed to run [sudo --user daemon --group everyone --non-interactive true]: exit status 1 
Error: exit status 1
% rdctl factory-reset
ERRO[0000] Error trying to delete the Lima VM: exit status 1 
% rdctl factory-reset
zsh: command not found: rdctl

Deleting the folder /Users/mike/Library/Application Support/rancher-desktop doesn't help either.

Steps to Reproduce

Start Rancher Desktop

Result

VM does not start

Expected Behavior

VM should start

Additional Information

No response

Rancher Desktop Version

1.9.1

Rancher Desktop K8s Version

n/a - VM won't start with or without.

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

macOS

Operating System / Build Version

Darwin blah.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64

What CPU architecture are you using?

arm64 (Apple Silicon)

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

ericpromislow commented 1 year ago

What's the name of the file you downloaded?