yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75689
[Bug 1802247] Re: api version details return 302 Found
Reviewed: https://review.openstack.org/616444
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8ad11697f95400d6453d502c5a04b9f3f05827c1
Submitter: Zuul
Branch: master
commit 8ad11697f95400d6453d502c5a04b9f3f05827c1
Author: liuyamin <liuyamin@xxxxxxxxxxxxx>
Date: Thu Nov 8 16:00:12 2018 +0800
Fix version details API does not return 200 OK
When use version details api http://ip/compute/v2 to get api details,
it does not return 200 OK, and the return value is empty.
This change is to correct the version details API URL.
Change-Id: I6befb4df6b688ae8c59671781c4e7b338a16462c
Closes-Bug: #1802247
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1802247
Title:
api version details return 302 Found
Status in OpenStack Compute (nova):
Fix Released
Bug description:
root@devstack:~# curl -g -i -X GET http://192.168.8.224/compute/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: gAAAAABb4-LOwiNGGwBibstVEC2uuq193Z28_Lqn1FL8P8DsONxukCoQyYqbDgriNsgm3vQMJJ_2Itpqlc4K9jenpfCsEzSF6b3xpkpwFQtH5yEcLPIRGmRZBcsnEBe1hfxGeTANvu4g70oXgdvIn7FoVLpPPQ4nFSnji-YAE8JRLYztcNnqntA"
HTTP/1.1 302 Found
Date: Thu, 08 Nov 2018 07:16:47 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Type: text/plain; charset=utf8
Location: http://192.168.8.224/compute/v2.1/
x-openstack-request-id: req-3daa9ace-c345-44a4-9f14-832cba27093f
x-compute-request-id: req-3daa9ace-c345-44a4-9f14-832cba27093f
Connection: close
Transfer-Encoding: chunked
root@devstack:~# curl -g -i -X GET http://192.168.8.224/compute/v2.1/ -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: gAAAAABb4-LOwiNGGwBibstVEC2uuq193Z28_Lqn1FL8P8DsONxukCoQyYqbDgriNsgm3vQMJJ_2Itpqlc4K9jenpfCsEzSF6b3xpkpwFQtH5yEcLPIRGmRZBcsnEBe1hfxGeTANvu4g70oXgdvIn7FoVLpPPQ4nFSnji-YAE8JRLYztcNnqntA"
HTTP/1.1 200 OK
Date: Thu, 08 Nov 2018 07:16:56 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Length: 390
Content-Type: application/json
OpenStack-API-Version: compute 2.1
X-OpenStack-Nova-API-Version: 2.1
Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version
x-openstack-request-id: req-cef9113d-d3ff-4c9b-9893-a552cf8d646a
x-compute-request-id: req-cef9113d-d3ff-4c9b-9893-a552cf8d646a
Connection: close
{"version": {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z",
"links": [{"href": "http://192.168.8.224/compute/v2.1/", "rel":
"self"}, {"href": "http://docs.openstack.org/", "type": "text/html",
"rel": "describedby"}], "min_version": "2.1", "version": "2.63",
"media-types": [{"base": "application/json", "type":
"application/vnd.openstack.compute+json;version=2.1"}], "id": "v2.1"}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1802247/+subscriptions
References