Images that are > 3G in size fail on a system with enough RAM for tmpfs
Bug #1289582 reported by
Clint Byrum
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
High
|
Unassigned |
Bug Description
The heuristic used to check whether tmpfs can be used does not take into account that the image may be bigger than DIB_MIN_TMPFS GB. Once the image goes over around DIB_MIN_TMPFS*0.5, the final step that converts it to a raw disk image via loopback will fail because the tmpfs will fill up while copying everything onto the loopback.
dib should check for enough space left on the tmpfs to also store the loopback file, and if there isn't enough, build the loopback in a new non-tmpfs temp directory.
Changed in diskimage-builder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Critical because this is breaking TripleO CI.