Question about glance-api-paste.ini

asked 2013-08-24 22:15:03 -0600

root gravatar image

updated 2013-08-24 22:39:46 -0600

Hi, I have a question about glance-api-paste.ini. What's purpose of the /: apiversions in glance-api-paste.ini. From the api v1 and v2 document, I don't find any api referring to the /: apiversions. Is it just telling the users which api version the glance currently supports ? And I also find if we use the pipeline defined in glance-api-paste.ini by default, the program can't run to the branch. Because in the versionnegotiation middleware, if the program receives any request that doesn't contain v1 or v2, it will raise a exception except it contains /versions.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-12 04:34:50 -0600

jokke gravatar image


The version negotiation middleware is responding to / requests with "300 multiple choices" redirect response. This way accessing client application can discover what API versions the glance endpoint supports and do the following queries accordingly.

Please feel free to open a bug about the error condition you are facing at with as much detail as you can and we will have a look on it. Obviously if it's still valid issue.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-08-24 22:15:03 -0600

Seen: 101 times

Last updated: Aug 24 '13