image cache space check fails when should not

Bug #2028370 reported by Kaifeng Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Triaged
Medium
Unassigned

Bug Description

deploy_utils.fetch_image added a check on the space check, but this check is prior to the actual download happens, on cases that the cache does not has enough space but fails early when it shouldn't.
We hit this issue as the cache is a standalone volume has limited space, during concurrent deployment with the same instance image, latter instance failed due to insufficient space.

It appears that the space check should be delayed to when it actually needs more space.

Kaifeng Wang (kaifeng)
Changed in ironic:
importance: Undecided → Medium
summary: - mage cache space check fails when should not
+ image cache space check fails when should not
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

This is now in the image_cache module, but it looks like a bug of this shape still exists.

Changed in ironic:
status: New → Confirmed
Dmitry Tantsur (divius)
Changed in ironic:
status: Confirmed → Triaged
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.