juju bootstrap localhost throws an error.
failed to bootstrap model: cannot start bootstrap instance in availability zone : no matching image found
Is anything to with corporate network / certificates ? Since I am able to bootstrap with my personal laptop.
Any help would be much appreciated. Thankyou !
$ lxd version
5.14
$ sudo snap install --channel 2.9/stable juju --classic
juju (2.9/stable) 2.9.42 from Canonical✓ installed
$ juju clouds
Cloud Regions Default Type Credentials Source Description
localhost 1 localhost lxd 1 built-in LXD Container Hypervisor
$ juju bootstrap localhost lxd-controller --debug --bootstrap-series=focal
00:22:18 DEBUG juju.cloudconfig.instancecfg instancecfg.go:923 Setting numa ctl preference to false
00:22:18 DEBUG juju.environs imagemetadata.go:119 obtained image datasource “default ubuntu cloud images”
00:22:18 DEBUG juju.container.lxd connection.go:197 LXD requires https://, using: https://cloud-images.ubuntu.com/releases/
00:22:19 ERROR juju.cmd.juju.commands bootstrap.go:885 failed to bootstrap model: cannot start bootstrap instance in availability zone “lxdhostmachine”: no matching image found
I am able to access https://cloud-images.ubuntu.com/releases without an issue.
$ curl https://cloud-images.ubuntu.com/releases/ -o /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17214 0 17214 0 0 19607 0 --:–:-- --:–:-- --:–:-- 19605