Ask Your Question
0

glance upload_image fails in latest devstack

asked 2015-11-19 18:00:20 -0500

SridharRamaswamy gravatar image

Latest devstack fails during the step where it uploads cirros images to glance using openstack client.

The openstack image create command fails with,

"Could not determine a suitable URL for the plugin"

The tail end of the stack.log is here,

http://paste.openstack.org/show/479512/

Seems the error is related to keystone API version? Appreciate any insights.

edit retag flag offensive close merge delete

Comments

I am experiencing the same issues. Did you use master branch? Any update?

Rubab gravatar imageRubab ( 2015-11-20 08:17:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-12-01 15:22:14 -0500

sripriya gravatar image

You can delete the openstack folder under .config path in your home dir. and stack it again. It should work.

This is because of clouds.yaml file present in the user's home directory under .config/openstack folder. The auth_url in clouds.yaml is pointing to v2.0 where as the identity API version the openstack client is talking to is version 3 and hence it throws the above error. The openstack-client internally checks the environment namepsace variables set in the system including defaults and cloud config. The cloud config variables override the defaults set in the cloud and will be the ones used by openstack-client if at all they exist in the user's system in clouds.yaml . Hope this helps.

edit flag offensive delete link more

Comments

This worked. Thanks Sripriya!

SridharRamaswamy gravatar imageSridharRamaswamy ( 2015-12-02 13:49:44 -0500 )edit

Worked installing DevStack on Ubuntu 14.04.03

sorbert gravatar imagesorbert ( 2015-12-27 23:36:33 -0500 )edit

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

Stats

Asked: 2015-11-19 18:00:20 -0500

Seen: 445 times

Last updated: Dec 01 '15