← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213812] Re: A 200 response was returned even a invalid parameter was given to invoke the server update api.

 

** Changed in: nova
       Status: Confirmed => Opinion

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

Title:
  A 200 response was returned even a invalid parameter was given to
  invoke the server update api.

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  v2/{tenant_id}/servers/{server_id}

  use following for PUT body

  {
     "server":{
      "status": "ACTIVE11"
     }
  }

  
  the response is 200 OK, and Body not change anything.

  I expect it is inappropriate, when a invalid parameter was given, 400
  should be returned rather than 200.

  This affects both v2 and v3.

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