You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default image servers are hardcoded in the lxd/lxc/config.go. However, the current version of the provider is not using the latest LXD dependency, therefore, the images remote is still missing.
There is an open PR (#461), but it cannot be merged yet, because we have a small regression in LXD that is causing latest LXD client to be incompatible with older LXD versions (see canonical/lxd#13373 (comment)). This is being actively worked on, so I'm expecting the images remote to be included in the next release of the provider.
As a temporary workaround, a new remote can be added using lxc:
Please note that this workaround should be used with caution. If remote images-tmp is later replaced with images (in Terraform config), Terraform will try to recreate the instance. Therefore, the remote needs to be manually adjusted in terraform.state to prevent recreation of the instances.
Hi,
I'm having a problem with the lxd remote 'images'.
+----------------------+---------------------------------------------------+---------------+-------------+--------+--------+--------+ | NAME | URL | PROTOCOL | AUTH TYPE | PUBLIC | STATIC | GLOBAL | +----------------------+---------------------------------------------------+---------------+-------------+--------+--------+--------+ | images | https://images.lxd.canonical.com | simplestreams | none | YES | NO | NO |
I'm using LXD 5.21.1 LTS, Teraform v1.8.3 and the latest lxd provider v2.0.0.
When I use 'ubuntu', everything is fine.
Instead, I get errors every time I try to use the 'images'.
when I use images:centos/8-Stream/cloud
Failed remote image download: Failed getting remote image info: Failed getting image: The requested image couldn't be found for fingerprint "5fd1d5b1cc37f0693c80e2561fc67cd3cf3dca14b2c1179f8a9846c4eb3850e7"
The same thing happens with the 'lxd_instance' as below:
When I try to download the image manually with the client, it works.
lxc image copy images:centos/8-Stream/cloud local: --vm
Can you help me with this?
Thank you
The text was updated successfully, but these errors were encountered: