← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1486635] [NEW] nova server create / resize overquota should not contains Retry after

 

Public bug reported:

According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html ,
this header doesn't seem to be used at Forbidden case(40X).

 The Retry-After response-header field can be used with a 503 (Service Unavailable)
 response to indicate how long the service is expected to be unavailable to the requesting
 client. This field MAY also be used with any 3xx (Redirection) response to indicate the
 minimum time the user-agent is asked wait before issuing the redirected request.
 The value of this field can be either an HTTP-date or an integer number of seconds
 (in decimal) after the time of the response.


https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L591

this kind of error should not contains Retry-After

** Affects: nova
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

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

Title:
  nova server create / resize overquota should not contains Retry after

Status in OpenStack Compute (nova):
  New

Bug description:
  According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html ,
  this header doesn't seem to be used at Forbidden case(40X).

   The Retry-After response-header field can be used with a 503 (Service Unavailable)
   response to indicate how long the service is expected to be unavailable to the requesting
   client. This field MAY also be used with any 3xx (Redirection) response to indicate the
   minimum time the user-agent is asked wait before issuing the redirected request.
   The value of this field can be either an HTTP-date or an integer number of seconds
   (in decimal) after the time of the response.

  
  https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L591

  this kind of error should not contains Retry-After

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


Follow ups