No docs for avoiding 'not enough tmpfs space' issues with boot-seed-vm

Bug #1215298 reported by Ghe Rivero on 2013-08-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ronelle Landy

Bug Description

Creating a new seed image takes up to 4.5GB of space, for the system, the raw image and the compressed image, all done inside a /tmp/imageXXXXX directory.

According to the tmpfs_check funcion in diskimage-builder/lib/common-functions we will use tmpfs is the system has 4 or more GB of RAM. By default, tmpfs will take up to 50% of RAM, failing the image creation, so systems with less than 9GB of RAM will fail in this step.

Possible workarounds:
- Increase RAM size needed to build the image
- Compress image output created directly on disk, instead of in RAM and then moved to disk again.
- Add an option to boot-image-seed to avoid the use of tmpfs

Tags: doc Edit Tag help
Robert Collins (lifeless) wrote :

--no-tmpfs exists for this purpose; is it insufficient?

Changed in tripleo:
status: New → Incomplete
Ghe Rivero (ghe.rivero) wrote :

It could be enough when dealing with diskimage-builder directly, but when using boot-seed-vm we cannot pass that parameter. The only way to avoid it is with DIB_NO_TMPFS=1 env variable. At least, we should document it

Robert Collins (lifeless) wrote :

You can pass --no-tmpfs as -- --no-tmpfs

Robert Collins (lifeless) wrote :

I agree on documenting it.

Changed in tripleo:
status: Incomplete → Triaged
importance: Undecided → Low
summary: - not enough tmpfs space needed for boot-seed-vm
+ No docs for avoiding 'not enough tmpfs space' issues with boot-seed-vm
tags: added: doc

Fix proposed to branch: master

Changed in tripleo:
assignee: nobody → Ronelle Landy (rlandy)
status: Triaged → In Progress

Submitter: Jenkins
Branch: master

commit 4884df9c60ecfa6a9d61224eb0532c588ed499f7
Author: Ronelle Landy <email address hidden>
Date: Thu Jan 30 05:11:23 2014 -0500

    Documents workarounds for tmpfs space errors

    tmpfs space errors result from creating a new seed image on
    a system with less than 9GB of RAM. This patch documents
    how to prevent the tmpfs space errors by avoiding the use of
    tmpfs or specifying a minimum tmpfs size required.
    Closes-Bug: 1215298

    Change-Id: I89e63bb9a12988c0a4fa9fc781719070c98a0dfa

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers