Ask Your Question
0

Eroor in create image glance

asked 2015-06-01 22:58:39 -0500

Ams70 gravatar image

Hi I try to add glance services to my openstack. after do all the steps that would there in 'OpenStack installation guide for ubuntu 14.04', i want to create glance images, so i run this command:


glance image-create --name "cirros-0.3.3-x86_64" --file /tmp/images/cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress


but after that this error has been appeared:


Error finding address for http://controller:9292/v1/images: [Errno 111] Connection refused


i search a lot in google but nothing exist to solve my problem. thanks a lot for your helpful suggestion.

edit retag flag offensive close merge delete

Comments

Can you please check glance-api isrunning and port 9292 is opened. You can check this answer

sunnyarora gravatar imagesunnyarora ( 2015-06-02 04:12:12 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-02 08:02:35 -0500

Vinoth gravatar image

Check glance-api service is running or not!

Then,

Add the following line in source file (Admin-openrc.sh)

export OS_IMAGE_API_VERSION=2

edit flag offensive delete link more

Comments

Thanks for your help When i start glance-api service, it suddenly stop after starting. by this way this service do not start to check if create image glance works or not.

Ams70 gravatar imageAms70 ( 2015-06-06 02:36:38 -0500 )edit
0

answered 2015-06-02 08:22:21 -0500

Mohib gravatar image

Hi, please check your rabbitmq status and log in your controller .

thanks

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-01 22:58:39 -0500

Seen: 800 times

Last updated: Jun 02 '15