yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75665
[Bug 1802247] [NEW] api version details return 302 Found
Public bug reported:
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"}}
** Affects: nova
Importance: Undecided
Assignee: liuyamin (liuyamin)
Status: New
** Changed in: nova
Assignee: (unassigned) => liuyamin (liuyamin)
--
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):
New
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
Follow ups