You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to package a relatively large docker image with EIB.
The packaged .tar.zst file created by Hauler is 5.3 GB.
If I understand correctly, when SLE Micro starts, after it was installed, Hauler loads all airgapped images. This happens by extracting (?) every tar file to /tmp.
It seems that /tmp is limited to 4.8G, making Hauler fail:
Nov 19 17:55:06 localhost.localdomain sh[2769]: Error: reading file in tar archive: /tmp/hauler2726428976/blobs/sha256/f0f5fb4389cd3384679b2afb491c6faf24de9562e9991311b5a2b73868de96be: writing file: write /tmp/..491c6faf24de9562e9991311b5a2b73868de96be: no space left on device
Nov 19 17:55:06 localhost.localdomain sh[2769]: Usage:
Nov 19 17:55:06 localhost.localdomain sh[2769]: hauler store load [flags]
Nov 19 17:55:06 localhost.localdomain sh[2769]: Flags:
Nov 19 17:55:06 localhost.localdomain sh[2769]: -h, --help help for load
Nov 19 17:55:06 localhost.localdomain sh[2769]: -t, --tempdir string overrides the default directory for temporary files, as returned by your OS.
Nov 19 17:55:06 localhost.localdomain sh[2769]: Global Flags:
Nov 19 17:55:06 localhost.localdomain sh[2769]: --cache string (deprecated flag and currently not used)
Nov 19 17:55:06 localhost.localdomain sh[2769]: -l, --log-level string (default "info")
Nov 19 17:55:06 localhost.localdomain sh[2769]: -s, --store string Location to create store at (default "store")
Nov 19 17:55:06 localhost.localdomain sh[2769]: 2024-11-19 17:55:06 ERR reading file in tar archive: /tmp/hauler2726428976/blobs/sha256/f0f5fb4389cd3384679b2afb491c6faf24de9562e9991311b5a2b73868de96be: writing ... no space left on device
Nov 19 17:55:06 localhost.localdomain systemd[1]: eib-embedded-registry.service: Control process exited, code=exited, status=1/FAILURE
Nov 19 17:55:06 localhost.localdomain systemd[1]: eib-embedded-registry.service: Failed with result 'exit-code'.
Nov 19 17:55:06 localhost.localdomain systemd[1]: Failed to start Load and Serve Embedded Registry.
I'm testing in a VM and results are the same for 100GB and 250GB disks.
When using hauler, it will default to write temporary files to /tmp. If you do not have about 3x the amount of space available in your /tmp compared to the size of the store or the haul, then hauler may fail.
Is there any way I can make the /tmp partition larger?
Or can I make Hauler use another temp directory? They do have a --tempdir flag...
The text was updated successfully, but these errors were encountered:
Hello
I'm trying to package a relatively large docker image with EIB.
The packaged
.tar.zst
file created by Hauler is 5.3 GB.If I understand correctly, when SLE Micro starts, after it was installed, Hauler loads all airgapped images. This happens by extracting (?) every tar file to
/tmp
.It seems that
/tmp
is limited to4.8G
, making Hauler fail:I'm testing in a VM and results are the same for 100GB and 250GB disks.
Hauler itself mentions this in their docs: https://rancherfederal.github.io/hauler-docs/docs/known-limits
Is there any way I can make the
/tmp
partition larger?Or can I make Hauler use another temp directory? They do have a
--tempdir
flag...The text was updated successfully, but these errors were encountered: