GEt on /v2.0 fails with a 404
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Sergey Belous |
Bug Description
Following the networking API reference to list versions of the network API, I can list versions from the network endpoint like this:
http://
And get details on each version like this:
However, in practice, using master neutron:
stack@osc:
commit 80d4df144d62ce6
Merge: 3ade301 fc93f7f
Author: Jenkins <email address hidden>
Date: Wed Oct 5 15:36:06 2016 +0000
Merge "Relocate Flavor and ServiceProfile DB models"
stack@osc:
The 2nd route to get v2.0 details fails:
stack@osc:~$ curl -g -H "X-Auth-Token: $OS_TOKEN" http://
% Total % Received % Xferd Average Speed Time Time Time Current
100 118 100 118 0 0 33541 0 --:--:-- --:--:-- --:--:-- 39333
{
"versions" : [
{
"id" : "v2.0",
"links" : [
{
}
],
"status" : "CURRENT"
}
]
}
stack@osc:~$ curl -g -H "X-Auth-Token: $OS_TOKEN" http://
404 Not Found
The resource could not be found.
--
So either the docs are wrong, or the API is busted.
It looks like this is what should handle the /v2.0 route though:
Matt, just missed splash in response from neutron server and in example in docs, api is OK http:// paste.openstack .org/show/ 585184/