glance cirros

asked 2018-12-24 03:56:55 -0500

Pepi_par gravatar image

I am trying to install glance service and in the command ''openstack image create "cirros" \ --file cirros-0.4.0-x86_64-disk.img \ --disk-format qcow2 --container-format bare \ --public''

says: ''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 0x7fb06de05e10="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',))''</urllib3.connection.httpconnection>

What i am doing wrong?

edit retag flag offensive close merge delete

Comments

No process listens on port 9292, server controller. How did you install it? If Glance runs behind a web server, check the web server’s config. If not, find out why glance-api is not running. There should be something in its log.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-24 04:45:58 -0500 )edit

do you have ping of controller

novainfinite gravatar imagenovainfinite ( 2018-12-24 07:12:12 -0500 )edit

could you be more specific? is it something with apache server?

Pepi_par gravatar imagePepi_par ( 2018-12-24 14:50:25 -0500 )edit

could you be more specific? what i have to do?

Pepi_par gravatar imagePepi_par ( 2018-12-24 14:58:41 -0500 )edit

I could be more specific if I knew your specific deployment. Since I don’t, that’s all I can say. I also don’t know where the Glance and Apache logs are located on your controller.

It may be a problem with Apache if Glance uses Apache for the connection. Check the logs for errors.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-24 15:36:49 -0500 )edit