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
When pulling containers for use in Warewulf provisioning, they need to be converted to a sandbox for import into Warewulf. Current this requires two steps, which fails for cross-arch containers, e.g.:
griznog@micropterus:~$ apptainer pull --arch arm64 --force rocky9-arm64.sif docker://ghcr.io/hpcng/warewulf-rockylinux:9
INFO: Converting OCI blobs to SIF format
INFO: Starting build...
Copying blob 5bc70d4b4562 done |
Copying blob 432ce7a05a53 done |
Copying blob b609feeb3af0 done |
Copying blob bd18ea1d57cd done |
Copying config 1fc401ab16 done |
Writing manifest to image destination
2024/05/09 10:10:22 info unpack layer: sha256:bd18ea1d57cd06000daec95a66d81ed6433c5cb8b9228b67a80081b4ed00a522
2024/05/09 10:10:24 info unpack layer: sha256:432ce7a05a53970b4da84fa055611669a2759e90a960b0e1767c835ac58afe75
2024/05/09 10:10:24 warn rootless{usr/bin/arping} ignoring (usually) harmless EPERM on setxattr "security.capability"
2024/05/09 10:10:24 warn rootless{usr/bin/clockdiff} ignoring (usually) harmless EPERM on setxattr "security.capability"
2024/05/09 10:10:27 warn rootless{usr/libexec/openssh/ssh-keysign} ignoring (usually) harmless EPERM on setxattr "user.rootlesscontainers"
2024/05/09 10:10:28 info unpack layer: sha256:b609feeb3af0105f0e777871b79a18ee13e43d320011b5f200a69ce25aa6c419
2024/05/09 10:10:28 info unpack layer: sha256:5bc70d4b4562336cf58660514061990e4a666ca7f05eb51d73d6e11b2ee49f70
INFO: Creating SIF file...
griznog@micropterus:~$ sudo apptainer build --sandbox ~/rocky9-arm64.sandbox rocky9-arm64.sif
2024/05/09 10:15:16 bufio.Scanner: token too long
FATAL: Unable to build from rocky9-arm64.sif: while parsing definition: rocky9-arm64.sif: bufio.Scanner: token too long
This RFE to to have apptainer pull have the --sandbox option to pull a container directly to a sandbox. This would allow importing any arch container to use as a warewulf node image.
When pulling containers for use in Warewulf provisioning, they need to be converted to a sandbox for import into Warewulf. Current this requires two steps, which fails for cross-arch containers, e.g.:
This RFE to to have
apptainer pull
have the--sandbox
option to pull a container directly to a sandbox. This would allow importing any arch container to use as a warewulf node image.This can be worked around with
podman
:Given there is a workaround this isn't a high-priority request, it'd just be nice to be able to use
apptainer
for this.The text was updated successfully, but these errors were encountered: