canonical / multipass

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

multipass find does not show image name core, core18, core20, core22, core24 and appliance serie, on m2 macos #3541

Open georgeliao opened 4 weeks ago

georgeliao commented 4 weeks ago

Describe the bug Describe what your problem is. The multipass find command on m2 macos seems to show an incomplete image list.

To Reproduce How, and what happened?

  1. Install the multipass stable version 1.13.1
  2. Run multipass find
  3. See the image list below which is incomplete
    
    multipass find
    Image                       Aliases           Version          Description
    20.04                       focal             20240513         Ubuntu 20.04 LTS
    22.04                       jammy             20240514         Ubuntu 22.04 LTS
    23.10                       mantic            20240514         Ubuntu 23.10
    24.04                       noble,lts         20240523.1       Ubuntu 24.04 LTS

Blueprint Aliases Version Description anbox-cloud-appliance latest Anbox Cloud Appliance charm-dev latest A development and testing environment for charmers docker 0.4 A Docker environment with Portainer and related tools jellyfin latest Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. minikube latest minikube is local Kubernetes ros-noetic 0.1 A development and testing environment for ROS Noetic. ros2-humble 0.1 A development and testing environment for ROS 2 Humble.


**Expected behavior**
What did you expect to happen?
The macos shows the complete image list via `multipass find` just like windows

C:\Users\georg\canonical_projects\multipass-private_build λ multipass find Image Aliases Version Description core core16 20200818 Ubuntu Core 16 core18 20211124 Ubuntu Core 18 core20 20230119 Ubuntu Core 20 core22 20230717 Ubuntu Core 22 core24 20240603 Ubuntu Core 24 20.04 focal 20240513 Ubuntu 20.04 LTS 22.04 jammy 20240514 Ubuntu 22.04 LTS 24.04 noble,lts 20240523.1 Ubuntu 24.04 LTS appliance:adguard-home 20200812 Ubuntu AdGuard Home Appliance appliance:mosquitto 20200812 Ubuntu Mosquitto Appliance appliance:nextcloud 20200812 Ubuntu Nextcloud Appliance appliance:openhab 20200812 Ubuntu openHAB Home Appliance appliance:plexmediaserver 20200812 Ubuntu Plex Media Server Appliance

Blueprint Aliases Version Description anbox-cloud-appliance latest Anbox Cloud Appliance charm-dev latest A development and testing environment for charmers docker 0.4 A Docker environment with Portainer and related tools jellyfin latest Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. minikube latest minikube is local Kubernetes ros-noetic 0.1 A development and testing environment for ROS Noetic. ros2-humble 0.1 A development and testing environment for ROS 2 Humble.

**Logs**
cat multipassd.log

[2024-06-04T12:25:30.730] [debug] [update] Latest Multipass release available is version 1.13.1 [2024-06-04T12:25:30.806] [debug] [blueprint provider] Loading "anbox-cloud-appliance" v1 [2024-06-04T12:25:30.807] [debug] [blueprint provider] Loading "charm-dev" v1 [2024-06-04T12:25:30.808] [debug] [blueprint provider] Loading "docker" v1 [2024-06-04T12:25:30.808] [debug] [blueprint provider] Loading "jellyfin" v1 [2024-06-04T12:25:30.809] [debug] [blueprint provider] Loading "minikube" v1 [2024-06-04T12:25:30.809] [debug] [blueprint provider] Loading "ros-noetic" v1 [2024-06-04T12:25:30.809] [debug] [blueprint provider] Loading "ros2-humble" v1 [2024-06-04T12:25:30.815] [info] [rpc] gRPC listening on unix:/var/run/multipass_socket [2024-06-04T12:25:30.816] [debug] [async task] fetch manifest periodically [2024-06-04T12:25:30.816] [info] [daemon] Starting Multipass 1.13.1+mac [2024-06-04T12:25:30.816] [info] [daemon] Daemon arguments: /Library/Application Support/com.canonical.multipass/bin/multipassd --verbosity debug [2024-06-04T12:25:30.995] [info] [VMImageHost] Did not find any supported products in "appliance" [2024-06-04T12:25:37.616] [debug] [async task] fetch manifest from the internet [2024-06-04T12:25:37.813] [info] [VMImageHost] Did not find any supported products in "appliance" [2024-06-04T12:46:52.956] [debug] [async task] fetch manifest from the internet [2024-06-04T12:46:53.144] [info] [VMImageHost] Did not find any supported products in "appliance" [2024-06-04T12:46:54.077] [debug] [blueprint provider] Loading "anbox-cloud-appliance" v1 [2024-06-04T12:46:54.078] [debug] [blueprint provider] Loading "charm-dev" v1 [2024-06-04T12:46:54.079] [debug] [blueprint provider] Loading "docker" v1 [2024-06-04T12:46:54.079] [debug] [blueprint provider] Loading "jellyfin" v1 [2024-06-04T12:46:54.080] [debug] [blueprint provider] Loading "minikube" v1 [2024-06-04T12:46:54.080] [debug] [blueprint provider] Loading "ros-noetic" v1 [2024-06-04T12:46:54.080] [debug] [blueprint provider] Loading "ros2-humble" v1



**Additional info**
 - OS: macOS Sonoma 14.5, m2 CPU
- `multipass version`
multipass   1.13.1+mac
multipassd  1.13.1+mac
- `multipass get local.driver`
qemu
**Additional context**
1. firewall has always been off. 
2. The above log says "did not find any supported products in "appliance"", not sure why only this one failed. 
3. https://cdimage.ubuntu.com/ubuntu-core/24/stable/current/ can be accessed and can be viewed in the web-browser, why says the server is on the internet connection is fine.
4. Did many times uninstall via sudo `sh "/Library/Application Support/com.canonical.multipass/uninstall.sh"` and cleaned up the cache data, the problem still persists.