You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a VM with a balloon device (i.e. the amount of memory is flexible), the initial VM memory size can be too small. This leads to Lima failing to start up, and reading lima.serial.log shows that some packages failed to install at startup (leading to a non-working sshd).
Steps to Reproduce
Set up a VM (with nested virtualization) with dynamically ballooning memory.
Install Rancher Desktop.
Factory reset as needed.
Let the VM idle a bit to let the total system memory go down.
Lima exits with an error because ssh couldn't connect.
Digging into things, this was because packages failed to install in early boot (into the tmpfs) due to running out of disk, and ssh host keys couldn't be generated.
We set the default memory to be up to 6GB, but no minimum.
We should set a minimum. We can do some experiments, but I don't think anything below 2GB is going to work if you want to do more than just spin up an empty VM.
Actual Behavior
On a VM with a balloon device (i.e. the amount of memory is flexible), the initial VM memory size can be too small. This leads to Lima failing to start up, and reading
lima.serial.log
shows that some packages failed to install at startup (leading to a non-working sshd).Steps to Reproduce
Result
Lima exits with an error because ssh couldn't connect.
Digging into things, this was because packages failed to install in early boot (into the tmpfs) due to running out of disk, and ssh host keys couldn't be generated.
Expected Behavior
Everything should start successfully.
Additional Information
rancher-desktop/pkg/rancher-desktop/config/settingsImpl.ts
Lines 162 to 166 in 0ba5528
We set the default memory to be up to 6GB, but no minimum.
Rancher Desktop Version
1.15.1-328-g0ba5528e9
Rancher Desktop K8s Version
1.30.4
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Other Linux
Operating System / Build Version
openSUSE Leap 15.5
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
rpm
Windows User Only
No response
The text was updated successfully, but these errors were encountered: