Image not provided for instance creation

I couldn’t create an instance from a local image in LXD UI. However, it works via CLI or LXDware. I also couldn’t find any entries in the logs(/var/snap/lxd/common/lxd/logs/lxd.log).

CLI:
root@lxdhost:~# lxc image list
±----------±-------------±-------±------------------------------------±-------------±----------±----------±-----------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCHITECTURE | TYPE | SIZE | UPLOAD DATE |
±----------±-------------±-------±------------------------------------±-------------±----------±----------±-----------------------------+
| l2kV9.2.2 | 36f885b5f75f | no | Ubuntu 22.04 LTS minimal L2k V9.2.2 | x86_64 | CONTAINER | 695.89MiB | Apr 2, 2024 at 11:34am (UTC) |
±----------±-------------±-------±------------------------------------±-------------±----------±----------±-----------------------------+
| | 7ee17012a04a | no | Ubuntu jammy amd64 (20240328_09:31) | x86_64 | CONTAINER | 120.26MiB | Apr 2, 2024 at 11:24am (UTC) |
±----------±-------------±-------±------------------------------------±-------------±----------±----------±-----------------------------+
root@lxdhost:~# lxc launch l2kV9.2.2 ascv00069 --profile bridgel2k -c boot.autostart=true
Creating ascv00069
Starting ascv00069
root@lxdhost:~#

LXD UI:
image

1 Like

Thank you very much for bringing this issue forward.

This is a bug in how the UI creates the payload on instance creation for custom images. It was addressed in this PR today.

3 Likes