The default of cinder::api::ratelimits_factory is no longer valid.

Bug #1941860 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-cinder
Fix Released
High
Takashi Kajinami

Bug Description

Currently cinder::api::ratelimits: true adds the RateLimitingMiddleware to api-paste.ini.

However the current default of ratelimits_factory points to the code for v1 API already removed, while it exists in v2 API codes.

Changed in puppet-cinder:
importance: Undecided → High
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in puppet-cinder:
status: New → In Progress
description: updated
summary: - RateLimitingMiddleware no longer exists
+ The default of cinder::api::ratelimits_factory is no longer valid.
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-cinder (master)

Reviewed: https://review.opendev.org/c/openstack/puppet-cinder/+/806333
Committed: https://opendev.org/openstack/puppet-cinder/commit/3111f64dd222a71c5039a8b6a8d18296f5beef1d
Submitter: "Zuul (22348)"
Branch: master

commit 3111f64dd222a71c5039a8b6a8d18296f5beef1d
Author: Takashi Kajinami <email address hidden>
Date: Wed Sep 1 08:42:56 2021 +0900

    Fix the default of cinder::api::ratelimits_factory

    The cinder::api class introduces RateLimitingMiddleware when
    the ratelimits parameter is true. However the current default of
    ratelimits_factory still points to v1 API code which was already
    removed, and this results in an invalid definition.

    This change ensures that it points to v2 API code which still exists.

    Closes-Bug: #1941860
    Change-Id: I97d14585ebb28166c95755169df0ea5433adb3e8

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

This issue was fixed in the openstack/puppet-cinder 19.3.0 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.