Microstack - Invalid image identifier or unable to access requested image. (HTTP 400)

Hi! Looks like you’re running into the same behavior I did a few days ago:

tl;dr: you need to set up MicroStack with Cinder Loop Device support. If you haven’t done this when you created the snap, the best advice would be to uninstall and then reinstall the Microstack Snap:

sudo snap install microstack --devmode --beta

Then initialize it with:

sudo microstack init --auto --control --setup-loop-based-cinder-lvm-backend --loop-device-file-size 50

where device-file-size 50 will give you 50 GB of usable cinder space.

Additionally you will need to run:

sudo tee /var/snap/microstack/common/etc/cinder/cinder.conf.d/glance.conf <<EOF
[DEFAULT]
glance_ca_certificates_file = /var/snap/microstack/common/etc/ssl/certs/cacert.pem
EOF

And finally:

sudo snap restart microstack.cinder-{uwsgi,scheduler,volume}
2 Likes