Comment 8 for bug 1969774

Revision history for this message
Isaac True (itrue) wrote :

+1 @xypron - it fallbacks to x86_64 and downloads the image if the riscv64 image is not found:

ubuntu@itrue-riscv64:~$ sudo lxc launch ubuntu:20.04 focal
Creating focal
Error: Failed instance creation: Failed creating instance record: Requested architecture isn't supported by this host
ubuntu@itrue-riscv64:~$ sudo lxc image list
+-------+--------------+--------+---------------------------------------------+--------------+-----------+----------+-----------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCHITECTURE | TYPE | SIZE | UPLOAD DATE |
+-------+--------------+--------+---------------------------------------------+--------------+-----------+----------+-----------------------------+
| | 4ca869945db4 | no | ubuntu 20.04 LTS amd64 (release) (20221018) | x86_64 | CONTAINER | 399.15MB | Nov 8, 2022 at 2:07pm (UTC) |
+-------+--------------+--------+---------------------------------------------+--------------+-----------+----------+-----------------------------+

Running "launch" first downloads the x86_64 image, then reports that it's not compatible.