Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

lxdui cannot list images for remote #350

@laheller

Description

@laheller

Hi!

I have following remotes on my system:

lxc remote list     
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
|        NAME         |                          URL                          |   PROTOCOL    |  AUTH TYPE  | PUBLIC | STATIC | GLOBAL |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| images              | https://images.linuxcontainers.org                    | simplestreams | none        | YES    | NO     | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| local               | unix://                                               | lxd           | file access | NO     | YES    | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| lxdhub-dev-0        | https://lxdhub-dev-0.node.infra.devops.roche.com:8443 | lxd           | tls         | YES    | NO     | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| roche               | https://lxdhub.roche.com:8443                         | lxd           | tls         | YES    | NO     | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| roche-dev (current) | https://lxdhub-dev-0.node.infra.devops.roche.com:8443 | lxd           | tls         | YES    | NO     | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| ubuntu              | https://cloud-images.ubuntu.com/releases              | simplestreams | none        | YES    | YES    | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+
| ubuntu-daily        | https://cloud-images.ubuntu.com/daily                 | simplestreams | none        | YES    | YES    | NO     |
+---------------------+-------------------------------------------------------+---------------+-------------+--------+--------+--------+

When I list for example roche-dev via CLI, it works:

lxc image ls roche-dev:                           
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
|                      ALIAS                      | FINGERPRINT  | PUBLIC |                           DESCRIPTION                           | ARCHITECTURE |      TYPE       |   SIZE    |          UPLOAD DATE          |
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
| molior-tools/1.4.0-roche67                      | bb9e5ef7f360 | yes    | Ubuntu focal amd64 (20210314_07:42)                             | x86_64       | VIRTUAL-MACHINE | 522.05MB  | Mar 15, 2021 at 9:53am (UTC)  |
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
| molior-tools/1.4.0-roche68                      | e721a5fa7f27 | yes    | Ubuntu focal amd64 (20210314_07:42)                             | x86_64       | VIRTUAL-MACHINE | 523.70MB  | Mar 16, 2021 at 8:48am (UTC)  |
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
| molior-tools/1.4.0-roche69                      | 11a9dd617f75 | yes    | Ubuntu focal amd64 (20210323_07:42)                             | x86_64       | VIRTUAL-MACHINE | 530.65MB  | Mar 23, 2021 at 12:56pm (UTC) |
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
| molior-tools/1.4.0-roche73                      | 8f4bf58c3473 | yes    | Ubuntu focal amd64 (20210411_07:42)                             | x86_64       | VIRTUAL-MACHINE | 610.99MB  | Apr 12, 2021 at 9:59am (UTC)  |
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
| molior-tools/ (1 more)                          | 14087df39cbe | yes    | molior-tools/1.4.1~rc2.roche1 (Mon, 31 May 2021 11:00:25 +0000) | x86_64       | VIRTUAL-MACHINE | 1121.79MB | May 31, 2021 at 11:01am (UTC) |
+-------------------------------------------------+--------------+--------+-----------------------------------------------------------------+--------------+-----------------+-----------+-------------------------------+
| rlx-ic-dev-i386-lxd/stretch-2021-06-15T15-15-02 | f710d9cb70ce | yes    | rlx-ic-dev-i386-lxd/stretch-2021-06-15T15-15-02                 | i686         | CONTAINER       | 368.84MB  | Jun 15, 2021 at 3:19pm (UTC)  |

I changed in lxdui config the setting:
lxdui.images.remote = https://lxdhub-dev-0.node.infra.devops.roche.com:8443

After restart lxdui, login and navigate to remote images I see an empty list:
image

Which is really interesting, because the underlying REST API definitely works and I can retrieve the images list in browser:
image

BR,

Ladislav

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions