@jichenjc, You're right the behaviour is as expected, because with current devstack the service endpoint for nova comes up with http://192.168.1.8/compute/v2.1 which obviously points directly to a version.
** Changed in: nova Status: New => Invalid -- 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/1782284 Title: Discovery: GET "/" returns single version instead of array of versions Status in OpenStack Compute (nova): Invalid Bug description: Currently the behaviour of nova API breaks standard practice of version discovery [1] and SDK consumers by returning a single "version" element instead of an array of "versions. $ curl -i -H "X-Auth-Token: $OS_TOKEN" http://192.168.1.8/compute/v2.1/ HTTP/1.1 200 OK Date: Wed, 18 Jul 2018 04:05:48 GMT Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/3.4 Python/2.7.5 Content-Length: 388 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-7469810f-ecd4-40fa-84ba-65a5d73756ec x-compute-request-id: req-7469810f-ecd4-40fa-84ba-65a5d73756ec Connection: close => {"version": {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://192.168.1.8/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"}} The expected behaviour is for example: $curl -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json" http://192.168.1.8:9696/ => {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://192.168.1.8:9696/v2.0/", "rel": "self"}]}]} Context: Devstack commit 3b5477d6356a62d7d64a519a4b1ac99309d251c0 [1] https://github.com/openstack/api- wg/blob/master/guidelines/microversion_specification.rst#version- discovery To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1782284/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp