ceph driver deletes can cause excessive exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Walt Boring |
Bug Description
When issuing lots of delete calls in parallel for the ceph driver, it can issue lots of ImageNotFound exceptions. When cinder does a delete_volume it will ask the driver to get_volume_stats, which for the rbd driver can result in scans of every volume in the cluster.
There is a race condition where parallel deletes can cause an image in the pool to be removed after another delete call has gotten it in it's list for scans.
_get_usage_info() gets a list of all volumes to scan for their size here:
https:/
The exception is Logged here:
https:/
In the case of getting volume stats, the exception is later ignored here:
https:/
We should add a new param to the RBDVolumeProxy to silence the logging of the ImageNotFound exception, since it's going to be debug logged and ignored for this case.
Changed in cinder: | |
assignee: | nobody → Walt Boring (walter-boring) |
This was already addressed.