RateLimitingMiddleware still belongs to v2 API code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Medium
|
Takashi Kajinami |
Bug Description
# This might not be the best place to discuss this but I hope this can initiate some discussion.
Currently RateLimitingMid
Ideally we should migrate this to v3 API code but there are some points we should consider before we determine to keep that middleware.
- The middleware is not included in the pre-defined pipelines in api-paste.ini .
- The middleware was ported from Nova but Nova has already dropped the middleware
- The middleware uses local memory to count API frequency. Which means it doesn't work properly in deployments with multiple nodes hosting cinder-api.
Considering these situations, it'd make more sense to deprecate/remove the middleware instead of keeping it under v3 API code.
description: | updated |
description: | updated |
Changed in cinder: | |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Changed in cinder: | |
importance: | Undecided → High |
tags: | added: api |
tags: | added: v2 v3 |
Changed in cinder: | |
importance: | High → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/807469
Review: https:/