← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1567970] [NEW] DELETE /servers returns 404 when it should return 405

 

Public bug reported:

(Master devstack, master nova, April 8, 2016)

curl -v -H 'x-auth-token: e893759204ff41d49542b9d87520b03a' -X DELETE
http://192.168.33.10:8774/v2.1/servers

returns an HTTP status code of 404. It should be 405:
<https://httpstatuses.com/405>

This is because /servers is in fact a valid URL, you can call at least
GET and POST on it.

gabbi version:

- name: try bad method
  desc:
  xfail: True
  DELETE: /servers
  status: 405

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: 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/1567970

Title:
  DELETE /servers returns 404 when it should return 405

Status in OpenStack Compute (nova):
  New

Bug description:
  (Master devstack, master nova, April 8, 2016)

  curl -v -H 'x-auth-token: e893759204ff41d49542b9d87520b03a' -X DELETE
  http://192.168.33.10:8774/v2.1/servers

  returns an HTTP status code of 404. It should be 405:
  <https://httpstatuses.com/405>

  This is because /servers is in fact a valid URL, you can call at least
  GET and POST on it.

  gabbi version:

  - name: try bad method
    desc:
    xfail: True
    DELETE: /servers
    status: 405

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1567970/+subscriptions