Public bug reported:

When request a unsupported microversion, the 409 returned. But it
includes that unsupport microversion in the header 'Openstack-Api-
Version'.

curl -g -i -X GET http://hp-pc:8774/v2.1/servers/detail -H "OpenStack-
API-Version: compute 2.50" -H "User-Agent: python-novaclient" -H
"Accept: application/json" -H "X-Auth-Token:
5e3c15ceb02f4e78a3b3a35b98a6d48a"

HTTP/1.1 406 Not Acceptable
Openstack-Api-Version: compute 2.50
X-Openstack-Nova-Api-Version: 2.50
Vary: OpenStack-API-Version
Vary: X-OpenStack-Nova-API-Version
Content-Type: application/json; charset=UTF-8
Content-Length: 123
X-Compute-Request-Id: req-1d511dd3-6882-443f-979b-e0812bd84f57
Date: Thu, 01 Dec 2016 05:59:58 GMT

That looks like strange. We can remove that header when 406 returned.

** Affects: nova
     Importance: Low
     Assignee: Alex Xu (xuhj)
         Status: In Progress


** Tags: api

** Changed in: nova
     Assignee: (unassigned) => Alex Xu (xuhj)

** Changed in: nova
       Status: New => In Progress

** Changed in: nova
   Importance: Undecided => Low

** Tags added: api

-- 
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/1646357

Title:
  When unsupported microversion requested, a microversion header
  returned with unsupported version

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  When request a unsupported microversion, the 409 returned. But it
  includes that unsupport microversion in the header 'Openstack-Api-
  Version'.

  curl -g -i -X GET http://hp-pc:8774/v2.1/servers/detail -H "OpenStack-
  API-Version: compute 2.50" -H "User-Agent: python-novaclient" -H
  "Accept: application/json" -H "X-Auth-Token:
  5e3c15ceb02f4e78a3b3a35b98a6d48a"

  HTTP/1.1 406 Not Acceptable
  Openstack-Api-Version: compute 2.50
  X-Openstack-Nova-Api-Version: 2.50
  Vary: OpenStack-API-Version
  Vary: X-OpenStack-Nova-API-Version
  Content-Type: application/json; charset=UTF-8
  Content-Length: 123
  X-Compute-Request-Id: req-1d511dd3-6882-443f-979b-e0812bd84f57
  Date: Thu, 01 Dec 2016 05:59:58 GMT

  That looks like strange. We can remove that header when 406 returned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1646357/+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

Reply via email to