yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22877
[Bug 1368597] Re: Wrong status code in @wsgi.response decorator in server's `confirmResize` action
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-rc1
--
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/1368597
Title:
Wrong status code in @wsgi.response decorator in server's
`confirmResize` action
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
In server`s action `confirmResize` status code in @wsgi.response
decorator is set as 202 but this is overridden/ignored by return
statement (return exc.HTTPNoContent()) which return 204 status code -
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L1080
This is very confusing and we should have expected status code in
@wsgi.response decorator as consistence with other APIs.
There is no change required in API return status code but in code it
should be fixed to avoid the confusion.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1368597/+subscriptions
References