canonical/lxd

[regression]: `lxc image list <OFFICIAL REMOTE>:` broken on `latest/edge`

Closed this issue · 1 comments

Listing public images doesn't work with LXD from latest/edge:

$ lxc image list ubuntu-minimal-daily:
Error: The remote isn't a private LXD server

But that remote config seems to be in order:

$ lxc remote list | sed -n '2,3 p; /ubuntu-minimal-daily/ p'
|                NAME                 |                        URL                        |   PROTOCOL    |  AUTH TYPE  | PUBLIC | STATIC | GLOBAL |
+-------------------------------------+---------------------------------------------------+---------------+-------------+--------+--------+--------+
| ubuntu-minimal-daily                | https://cloud-images.ubuntu.com/minimal/daily/    | simplestreams | none        | YES    | YES    | NO     |

Other official remotes are also affected but they all work with 5.21/stable and latest/candidate.

Additional information:

$ lxc version
Client version: 6.2
Server version: 6.2
$ snap list lxd
Name  Version      Rev    Tracking     Publisher   Notes
lxd   git-dc7b9b1  31502  latest/edge  canonical✓  -

This regression was probably introduced with #14260. I'll have a PR up with a fix pretty quickly, I think I've tracked down the problem. More to follow.