enable_v2_api = True is not working
Bug #1566379 reported by
Swami Reddy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have set the "eanble_
After the above, expected that glance will use the V2 apis. But still it uses V1 APIs.
The above has been observed with glance version 0.14.1
description: | updated |
To post a comment you must log in.
If you set:
enable_v2_api=True
the glance v2 api will be available for use.
If you set enable_v2_api=False
the glance v2 api will not be available.
You can see which versions are enabled by querying the end point.
For example here both v1 and v2 are enabled:
$ curl http:// localhost: 9292 | python -mjson.tool
{
"links" : [
" href": "http:// localhost: 9292/v2/",
" rel": "self"
"status" : "CURRENT"
"links" : [
" href": "http:// localhost: 9292/v2/",
" rel": "self"
"status" : "SUPPORTED"
"links" : [
" href": "http:// localhost: 9292/v2/",
" rel": "self"
"status" : "SUPPORTED"
"links" : [
" href": "http:// localhost: 9292/v2/",
" rel": "self"
"status" : "SUPPORTED"
"links" : [
" href": "http:// localhost: 9292/v1/",
" rel": "self"
"status" : "SUPPORTED"
"links" : [
" href": "http:// localhost: 9292/v1/",
" rel": "self"
"status" : "SUPPORTED"
"versions": [
{
"id": "v2.3",
{
}
],
},
{
"id": "v2.2",
{
}
],
},
{
"id": "v2.1",
{
}
],
},
{
"id": "v2.0",
{
}
],
},
{
"id": "v1.1",
{
}
],
},
{
"id": "v1.0",
{
}
],
}
]
}
Can you give more detail of
* what command you are running
* what output you expect to be generated
* what output is actually being generated
Thanks