Ask Your Question

Glance image creation error

asked 2015-01-31 16:05:52 -0600

Abhishek_6590 gravatar image

updated 2015-01-31 21:21:43 -0600

larsks gravatar image

HI ,

I am having an error while creating glance image:

glance image-create --name "cirros-0.3.3-x86_64" --file cirros-0.3.3-x86_64-disk.img  \
  --disk-format qcow2 --container-format bare --is-public True --progress
No connection adapters were found for 'admin_endpoint=http://controller:35357/v2.0/tokens'

Please suggest me what to do

edit retag flag offensive close merge delete


Edit your question adding more details which is helpful to fix your error.

Varsha gravatar imageVarsha ( 2015-02-08 06:00:31 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-31 21:28:06 -0600

larsks gravatar image

That error ("No connection adapters were found for...") comes from the Python requests module, and indicates that you have passed it something that looks like a URL but does not use a recognized protocol scheme. My guess is that somewhere you are using admin_endpoint=http://... when you really should just be using the URL itself,

Can you update your question (don't post as comments):

  • The contents of your OS_AUTH_URL environment variable? Run echo $OS_AUTH_URL
  • The output of keystone endpoint-list (you will need to run that with admin credentials)
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


Asked: 2015-01-31 16:05:52 -0600

Seen: 141 times

Last updated: Jan 31 '15