glance image upload failing

asked 2020-05-14 10:54:09 -0600

uday kiran reddy gravatar image


openstack image create cirros3.5 --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare --public

Error finding address for http://controller:9292/v2/schemas/image: HTTPConnectionPool(host='controller', port=9292): Max retries exceeded with url: /v2/schemas/image (Caused by NewConnectionError('<urllib3.connection.httpconnection 0x7f4a55ffc2d0="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',)) root@controller:/home/osboxes# openstack image create cirros3.5 --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare --public</urllib3.connection.httpconnection>

edit retag flag offensive close merge delete


Is your database up and running? Is glance-api running?

eblock gravatar imageeblock ( 2020-05-14 15:16:41 -0600 )edit

Make sure "controller" resolves to the correct ip for the glance API (e.g. not

Joseph_020 gravatar imageJoseph_020 ( 2020-05-14 16:10:24 -0600 )edit

"Connection refused" means you have connectivity to controller (not blocked by firewall), but no process listens at port 9292. Most likely Glance-API is not running on that controller, or uses a different port.

Bernd Bausch gravatar imageBernd Bausch ( 2020-05-14 17:37:26 -0600 )edit

What is the backend used for glance ?

Deepa gravatar imageDeepa ( 2020-05-25 02:59:41 -0600 )edit