rancher-sandbox / rancher-desktop

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

Can't select 9p mount type #4536

Open s0nea opened 1 year ago

s0nea commented 1 year ago

Actual Behavior

While I've been working on https://github.com/rancher-sandbox/rancher-desktop/issues/4333 I noticed I can't select the 9p mount type on Linux. I tried rdctl set --experimental.virtual-machine.mount.type 9p and saw it gets stuck at "Starting virtual machine":

Screenshot_2023-04-24_17-03-07

I'm not sure if it relates to the issue, but I found the following message on lima.log:

'time="2023-04-24T16:56:05+02:00" level=debug msg="[hostagent] qemu[stderr]: qemu-system-x86_64: -virtfs local,mount_tag=mount0,path=/home/user,security_model=none: 'virtio-9p-pci' is not a valid device model name"\n'

Please let me know if other log messages are needed.

I tested it on MacOS as well. It's working there without any issues. Maybe there are some extra steps needed beforehand on Linux?

Steps to Reproduce

Result

Rancher Desktop gets stuck at "Starting virtual machine".

Expected Behavior

Should successfully set experimental.virtual-machine.mount.type to 9p.

Additional Information

No response

Rancher Desktop Version

1.8.1

Rancher Desktop K8s Version

1.26.3

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

Other Linux

Operating System / Build Version

openSUSE Leap 15.3

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

s0nea commented 1 year ago

Seems to be similar to https://github.com/rancher-sandbox/rancher-desktop/issues/4943 .