Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need clarification on "remotes" and available images #63

Open
valkuc opened this issue Jan 13, 2023 · 2 comments
Open

Need clarification on "remotes" and available images #63

valkuc opened this issue Jan 13, 2023 · 2 comments

Comments

@valkuc
Copy link

valkuc commented Jan 13, 2023

Hello. First of all thanks for great project.
I have few issues.

  1. It looks like content of "Simplestreams" menu is not in sync with "lxc remote list". If I'm adding new simplestream via UI - it's not displayed by command "lxc remote list" and vise versa. Is this as designed?

  2. I have added new remote repository both in UI (via Simplestreams menu) and using console command: lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
    But I did not find a way to search for available remote image in lxd-dashboard UI. Here I see a list of predefined images and nothing else. изображение
    Is there any way to search for remote image via UI?

@matthewalanpenning
Copy link
Contributor

Thank you!

When running the 'lxc remote list' you are provided with a list of hosts that are local to that LXD server or cluster. This information is not made available through the LXD API. Since the dashboard connects to LXD servers using the remote API, I had to create a local database to host this information for the dashboard. So they will not be in sync because there is not an option to do so.

You are correct, the image catalog is a static list of some of the images available from the default images and ubuntu remotes. I have considered updating this to a dynamic list. I originally had just the form option, then added the catalog to make it easy for people new to LXD to get an image.

If I made the list dynamic it looks like I would need to create a filter or search option to narrow down the results. Any suggestions on this are welcome.

@valkuc
Copy link
Author

valkuc commented Jan 16, 2023

I think that Catalog tab can be replaced with a table, similar to how it is done in LxdUI:
изображение

(full GIF here - https://github.com/vhajdari/testsite/raw/master/lxdui_screencast_2.gif)

But also add Search text field to narrow down results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants