import_key_pair missing quota recheck

Bug #1959732 reported by melanie witt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Triaged
Low
Unassigned

Bug Description

When quotas were rearchitected back in Pike, a recheck mechanism was added to handle racing parallel requests in order to enforce strict quota limits. However, when quotas for key pairs were converted [1], rechecking for quota was missed in import_key_pair. Quota recheck was added only to create_key_pair.

This is a very latent bug and it could be debated whether quota rechecking is useful enough, considering that quota limits on resources like key pairs were meant primarily to defend against denial of service attacks which try to fill up the database.

[1] https://github.com/openstack/nova/commit/d247e361827b81708e8b9f3fe4512352ac76f9c8

Tags: quotas
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.