healthcheck middleware should be deployed as app instead of filter

Bug #1937901 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Takashi Kajinami

Bug Description

Since oslo.middleware 3.22.0[1], deploying healtcheck middleware as a filter is deprecated and it should be deployed as an app.

[1] https://review.opendev.org/c/openstack/oslo.middleware/+/403734

Changed in glance:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/glance/+/802148

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by "Takashi Kajinami <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/glance/+/802014

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/802148
Committed: https://opendev.org/openstack/glance/commit/fa9450d5b58866e4a6b928995a8bf18b4bb8f0c7
Submitter: "Zuul (22348)"
Branch: master

commit fa9450d5b58866e4a6b928995a8bf18b4bb8f0c7
Author: Takashi Kajinami <email address hidden>
Date: Fri Jul 23 20:53:24 2021 +0900

    Deploy healthcheck middleware as app instead of filter

    Using the healthcheck middleware as a filter is deprecated and
    the middleware should be used as an application[1].
     [1] 6feaa13610c450c8486f969703768db5319b4846

    This change updates definition and usage of the healthcheck middleware
    accordingly to avoid the following deprecation warning.

    DeprecationWarning: Using function/method 'Healthcheck.factory()' is
    deprecated: The healthcheck middleware must now be configured as
    an application, not as a filter.

    Closes-Bug: #1937901
    Change-Id: Id41e0313a481bea4e2bb14c69f2ad8a2070aa9be

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 27.0.0.0b2

This issue was fixed in the openstack/glance 27.0.0.0b2 development milestone.

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.