Use CORS set_defaults

Bug #1659051 reported by Morgan Fainberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned
oslo.middleware
Fix Released
Undecided
ChangBo Guo(gcb)

Bug Description

During test runs there are a lot of warnings for DeprecationWarning: Method 'CORS.set_latent()' has moved to 'method.set_defaults()

We should ensure keystone is using set_defaults instead of latent.

Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

Keystone does not call .set_latent anywhere. This is an issue with oslo.middleware possibly.

Changed in keystone:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.middleware (master)

Fix proposed to branch: master
Review: https://review.openstack.org/453723

Changed in oslo.middleware:
assignee: nobody → ChangBo Guo(gcb) (glongwave)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.middleware (master)

Change abandoned by ChangBo Guo(gcb) (<email address hidden>) on branch: master
Review: https://review.openstack.org/453723

Changed in oslo.middleware:
status: In Progress → Confirmed
Changed in oslo.middleware:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.middleware (master)

Reviewed: https://review.openstack.org/453723
Committed: https://git.openstack.org/cgit/openstack/oslo.middleware/commit/?id=2b8db6d3989cfc478f575f661cab404163fb15e2
Submitter: Jenkins
Branch: master

commit 2b8db6d3989cfc478f575f661cab404163fb15e2
Author: ChangBo Guo(gcb) <email address hidden>
Date: Fri Jul 28 16:48:08 2017 +0800

    Remove method set_latent

    Method set_latent is deprecated in favor of method set_defaults in
    e9c3a23e845d8c53b266a3b2e4ca7fb0a5a0425a, we don't use this method
    in any project, it's safe to remove it now.

    Closes-Bug: #1659051
    Closes-Bug: #1642008

    Change-Id: Ic7f0c3801f42ebafda81a1fa0b02bde6d15b545d

Changed in oslo.middleware:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.middleware 3.32.1

This issue was fixed in the openstack/oslo.middleware 3.32.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.