mistio / mist-ce

Mist is an open source, multicloud management platform
https://mist.io
Apache License 2.0
1.87k stars 316 forks source link

LXD Images not refreshed #1016

Closed xaoc7 closed 3 years ago

xaoc7 commented 3 years ago

Hello, I'm using latest stable version of Mist-CE (4.5.5). I'm connecting an LXD cloud (LXD version 4.19.0). Problem is simple: When I copy an LXD image (threw normal LXD commands ) that image is not available in already configured LXD cloud in Mist-CE UI. In order to see and use the newly introduced image I need to at least log-off & logg-in again in the MistUI.

d-mo commented 3 years ago

Hi @xaoc7

Mist will poll your images every 30 minutes, since they usually don't change too often.

You can force a refresh by sending an HTTP GET request to {portal_url}/api/v1/cloud/{cloud_id}/images while logged in.

It's also possible to programmatically change the default polling interval for a specific cloud.

xaoc7 commented 3 years ago

Awesome! Thanks for answering @d-mo