Can't create image with podman
GabyCT opened this issue · 4 comments
GabyCT commented
Following the documentation, I tried to use USE_PODMAN=true
on Fedora 31, however, I am getting the following error
STEP 3: RUN cd /tmp ; curl -OL https://storage.googleapis.com/golang/go1.11.10.linux-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 115M 100 115M 0 0 77.2M 0 0:00:01 0:00:01 --:--:-- 77.1M
fa0530252d675b670af4b130d31117797fdec770b04deda7f527d0c5a25f347e
STEP 4: RUN tar -C /usr/ -xzf /tmp/go1.11.10.linux-amd64.tar.gz
15e074c29af63d614adc2c3b606ffe5d0baf3b67077abef0ff32a10815f96b8f
STEP 5: ENV GOROOT=/usr/go
473ca425e1a940fa5869624a4b1b71240c0d5d48b9ec86512815dbd113beeea2
STEP 6: ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin
STEP 7: COMMIT clearlinux-rootfs-osbuilder
3bac70d751e0d2581c9850d01107ec8a886eed568d00203e73e6519ffcf6bb86
3bac70d751e0d2581c9850d01107ec8a886eed568d00203e73e6519ffcf6bb86
ERRO[0000] oci runtime "runc" does not support CGroups V2: use system migrate to mitigate
Error: this version of runc doesn't work on cgroups v2: OCI runtime error
Failed at 118: sudo -E AGENT_INIT="${AGENT_INIT}" AGENT_VERSION="${agent_commit}" GOPATH="$GOPATH" USE_PODMAN=true OS_VERSION=${os_version} ./rootfs-builder/rootfs.sh "${distro}"
Failed at 25: "${cidir}/install_kata_image.sh" "${tag}"
It seems that is not possible to build the image, here it is the runc info
runc version 1.0.0-rc9+dev
commit: ce97911e3cd37a5ce3ef98f7f1d4add21a3ac162
spec: 1.0.1-dev
GabyCT commented
/cc @jcvenegas
GabyCT commented
Here it is the info for podman
$ podman info -D
debug:
compiler: gc
git commit: ""
go version: go1.13.5
podman version: 1.7.0
host:
BuildahVersion: 1.12.0
CgroupVersion: v2
Conmon:
package: conmon-2.0.9-2.fc31.x86_64
path: /usr/bin/conmon
version: 'conmon version 2.0.9, commit: 7d46f3e7711aa3578488284ae2f98b447658f086'
Distribution:
distribution: fedora
version: "31"
MemFree: 11391827968
MemTotal: 16763932672
OCIRuntime:
name: crun
package: crun-0.10.6-1.fc31.x86_64
path: /usr/bin/crun
version: |-
crun version 0.10.6
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
SwapFree: 0
SwapTotal: 0
arch: amd64
cpus: 4
eventlogger: journald
hostname: gabypodman
kernel: 5.3.7-301.fc31.x86_64
os: linux
rootless: false
uptime: 3h 9m 59.58s (Approximately 0.12 days)
registries:
search:
- docker.io
- registry.fedoraproject.org
- registry.access.redhat.com
- registry.centos.org
- quay.io
store:
ConfigFile: /etc/containers/storage.conf
ContainerStore:
number: 0
GraphDriverName: overlay
GraphOptions:
overlay.mountopt: nodev,metacopy=on
GraphRoot: /var/lib/containers/storage
GraphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "false"
Supports d_type: "true"
Using metacopy: "true"
ImageStore:
number: 6
RunRoot: /var/run/containers/storage
VolumePath: /var/lib/containers/storage/volumes
devimc commented
GabyCT commented
Closing this issue as the PR got merged