canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.7k stars 638 forks source link

multipass - beta update not working.. #3599

Open stgabler opened 1 month ago

stgabler commented 1 month ago

Describe the bug Wanted to test the bridged feature with the new multipass version. Updated via snap and wanted to check multipass networks.. ln: failed to create symbolic link '/home/sgabler/snap/multipass/12661/.config/autostart'

I should try: multipass authenticate but that was not installed

I should use: multipass set local.passphrase but was alos not working.. with or without sudo

To Reproduce sudo snap refresh multipass --beta

  1. run multipass networks now you get the error can only be fixed with: cat ~/snap/multipass/current/data/multipass-client-certificate/multipass_cert.pem | sudo tee -a /var/snap/multipass/common/data/multipassd/authenticated-certs/multipass_client_certs.pem > /dev/null

Expected behavior What did you expect to happen? Update should work .. in case password for client must be set - please check it upfront

Tried the following: reverted to the latest table .. set the password and updated again..

-> same error now I deleted multipasss and installed the latest stable version again. -

Logs no logs after deletion available

Additional info

Name: test2 State: Stopped IPv4: -- Release: -- Image hash: 5d482ff93a2b (Ubuntu 24.04 LTS) CPU(s): -- Load: -- Disk usage: -- Memory usage: --

Additional context Add any other context about the problem here.

georgeliao commented 1 month ago

Hi @stgabler Thanks for reporting this. It looks like there are a few things mixed.

First one is the snap refresh from stable channel to beta channel. Do you hit the error ln: failed to create symbolic link '/home/sgabler/snap/multipass/12661/.config/autostart' deterministically? Meanwhile, I also can not reproduce it.

Second one:

run multipass networks now you get the error can only be fixed with: cat ~/snap/multipass/current/data/multipass-client-certificate/multipass_cert.pem | sudo tee -a /var/snap/multipass/common/data/multipassd/authenticated-certs/multipass_client_certs.pem > /dev/null

Is this a different error?

stgabler commented 1 month ago

first one showed up after I called multipass networks and stayed.. 2nd problem: stays all the time- even after reverting - adding cred for client authentication and updating to beta

georgeliao commented 1 month ago

first one showed up after I called multipass networks and stayed..

I do not think multipass networks is supported on libvirt backend, so you should get the networks failed: The networks feature is not implemented on this backend error message. Am I missing something here?