← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1773225] [NEW] placement needs to stop using accept.best_match from webob it is deprecated

 

Public bug reported:

Modern webob has improved its management of accept headers to be more in
alignment with the HTTP RFCs (see bug
https://bugs.launchpad.net/nova/+bug/1765748 ), deprecating their old
handling:

DeprecationWarning: The behavior of AcceptValidHeader.best_match is
currently being maintained for backward compatibility, but it will be
deprecated in the future, as it does not conform to the RFC.

Eventually placement (in nova.api.openstack.placement.util:check_accept)
should be updated to use the new way.

Creating a separate bug to be task oriented.

** Affects: nova
     Importance: Low
         Status: Triaged


** Tags: placement

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

Title:
  placement needs to stop using accept.best_match from webob it is
  deprecated

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  Modern webob has improved its management of accept headers to be more
  in alignment with the HTTP RFCs (see bug
  https://bugs.launchpad.net/nova/+bug/1765748 ), deprecating their old
  handling:

  DeprecationWarning: The behavior of AcceptValidHeader.best_match is
  currently being maintained for backward compatibility, but it will be
  deprecated in the future, as it does not conform to the RFC.

  Eventually placement (in
  nova.api.openstack.placement.util:check_accept) should be updated to
  use the new way.

  Creating a separate bug to be task oriented.

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


Follow ups