Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Simple create container call fails for rootless users with invalid configuration error (cannot specify resource limits without cgroups v2 and --cgroup-manager=systemd) #6798

Closed
skorhone opened this issue Jun 27, 2020 · 1 comment
Labels
HTTP API Bug is in RESTful API kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@skorhone
Copy link

skorhone commented Jun 27, 2020

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Creating a container using API fails with configuration error. podman create seems to work with exactly same parameters. I suspect, that there's either an error in validation logic or loading order of configuration differs when running podman as a service. Edit: Could be anything.

If podman service is started with sudo, API responds correctly.

Steps to reproduce the issue:

  1. podman pull fedora

  2. podman system service --log-level=debug --time=0 tcp:127.0.0.1:1213

  3. curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:1213/containers/create?name=test' --data '{"name":"test","Image":"fedora"}'

Describe the results you received:

{"cause":"invalid configuration, cannot specify resource limits without cgroups v2 and --cgroup-manager=systemd","message":"CreateContainerFromCreateConfig(): invalid configuration, cannot specify resource limits without cgroups v2 and --cgroup-manager=systemd","response":500}

Describe the results you expected:

{"Id":"fcae6fc42b1acbb0a2277c76567a13aa9f7ae8df05d60f5f9eb13e9a88612121","Warnings":[]}

Additional information you deem important (e.g. issue happens only occasionally):
Tried following:

  • --cgroup-manager systemd to podman service
  • Wiped out podman configuration
  • Defining cgroup manager in containers.conf and libpod.conf

Output of podman version:

Version:      2.0.0
API Version:  1
Go Version:   go1.13.8
Built:        Thu Jan  1 02:00:00 1970
OS/Arch:      linux/amd64

Output of podman info --debug:

host:
  arch: amd64
  buildahVersion: 1.15.0
  cgroupVersion: v1
  conmon:
    package: 'conmon: /usr/libexec/podman/conmon'
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.18, commit: '
  cpus: 4
  distribution:
    distribution: ubuntu
    version: "20.04"
  eventLogger: file
  hostname: ubuntu
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 165536
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 165536
      size: 65536
  kernel: 5.4.0-37-generic
  linkmode: dynamic
  memFree: 2442014720
  memTotal: 8348520448
  ociRuntime:
    name: runc
    package: 'containerd.io: /usr/bin/runc'
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc10
      commit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
      spec: 1.0.1-dev
  os: linux
  remoteSocket:
    path: /run/user/1000/podman/podman.sock
  rootless: true
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: 'slirp4netns: /usr/bin/slirp4netns'
    version: |-
      slirp4netns version 1.0.0
      commit: unknown
      libslirp: 4.2.0
  swapFree: 1531072512
  swapTotal: 1964396544
  uptime: 92h 44m 56.53s (Approximately 3.83 days)
registries:
  search:
  - docker.io
  - quay.io
store:
  configFile: /home/someuser/.config/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: 'fuse-overlayfs: /usr/bin/fuse-overlayfs'
      Version: |-
        fusermount3 version: 3.9.0
        fuse-overlayfs: version 0.7.6
        FUSE library version 3.9.0
        using FUSE kernel interface version 7.31
  graphRoot: /home/someuser/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  imageStore:
    number: 1
  runRoot: /run/user/1000/containers
  volumePath: /home/someuser/.local/share/containers/storage/volumes
version:
  APIVersion: 1
  Built: 0
  BuiltTime: Thu Jan  1 02:00:00 1970
  GitCommit: ""
  GoVersion: go1.13.8
  OsArch: linux/amd64
  Version: 2.0.0

Output of service:

INFO[0000] podman filtering at log level debug          
DEBU[0000] Called service.PersistentPreRunE(podman system service --cgroup-manager=systemd --log-level=debug --time=0 tcp:127.0.0.1:1213) 
DEBU[0000] Ignoring libpod.conf EventsLogger setting "/home/someuser/.config/containers/containers.conf". Use "journald" if you want to change this setting and remove libpod.conf files. 
DEBU[0000] Reading configuration file "/usr/share/containers/containers.conf" 
DEBU[0000] Merged system config "/usr/share/containers/containers.conf": &{{[] [] container-default [] host enabled [CAP_AUDIT_WRITE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETFCAP CAP_SETGID CAP_SETPCAP CAP_SETUID CAP_SYS_CHROOT] [] []  [] [] [] false [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] false false false  private k8s-file -1 slirp4netns false 2048 private /usr/share/containers/seccomp.json 65536k private host 65536} {false systemd [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] ctrl-p,ctrl-q true /run/user/1000/libpod/tmp/events/events.log file [/usr/share/containers/oci/hooks.d] docker:// /pause k8s.gcr.io/pause:3.2 /usr/libexec/podman/catatonit shm   false 2048 runc map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata:[/usr/bin/kata-runtime /usr/sbin/kata-runtime /usr/local/bin/kata-runtime /usr/local/sbin/kata-runtime /sbin/kata-runtime /bin/kata-runtime /usr/bin/kata-qemu /usr/bin/kata-fc] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc]] missing false   [] [crun runc] [crun] [kata kata-runtime kata-qemu kata-fc] {false false false false false false} /etc/containers/policy.json false 3 /home/someuser/.local/share/containers/storage/libpod 10 /run/user/1000/libpod/tmp /home/someuser/.local/share/containers/storage/volumes} {[/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] podman /etc/cni/net.d/}} 
DEBU[0000] Reading configuration file "/etc/containers/containers.conf" 
DEBU[0000] Merged system config "/etc/containers/containers.conf": &{{[] [] container-default [] host enabled [CAP_AUDIT_WRITE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETFCAP CAP_SETGID CAP_SETPCAP CAP_SETUID CAP_SYS_CHROOT] [] []  [] [] [] false [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] false false false  private k8s-file -1 slirp4netns false 2048 private /usr/share/containers/seccomp.json 65536k private host 65536} {false systemd [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] ctrl-p,ctrl-q true /run/user/1000/libpod/tmp/events/events.log file [/usr/share/containers/oci/hooks.d] docker:// /pause k8s.gcr.io/pause:3.2 /usr/libexec/podman/catatonit shm   false 2048 runc map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata:[/usr/bin/kata-runtime /usr/sbin/kata-runtime /usr/local/bin/kata-runtime /usr/local/sbin/kata-runtime /sbin/kata-runtime /bin/kata-runtime /usr/bin/kata-qemu /usr/bin/kata-fc] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc]] missing false   [] [crun runc] [crun] [kata kata-runtime kata-qemu kata-fc] {false false false false false false} /etc/containers/policy.json false 3 /home/someuser/.local/share/containers/storage/libpod 10 /run/user/1000/libpod/tmp /home/someuser/.local/share/containers/storage/volumes} {[/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] podman /etc/cni/net.d/}} 
DEBU[0000] Using conmon: "/usr/libexec/podman/conmon"   
DEBU[0000] Initializing boltdb state at /home/someuser/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /home/someuser/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000/containers     
DEBU[0000] Using static dir /home/someuser/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /home/someuser/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] Not configuring container store              
DEBU[0000] Initializing event backend file              
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
WARN[0000] Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument 
INFO[0000] podman filtering at log level debug          
DEBU[0000] Called service.PersistentPreRunE(podman system service --cgroup-manager=systemd --log-level=debug --time=0 tcp:127.0.0.1:1213) 
DEBU[0000] Ignoring libpod.conf EventsLogger setting "/home/someuser/.config/containers/containers.conf". Use "journald" if you want to change this setting and remove libpod.conf files. 
DEBU[0000] Reading configuration file "/usr/share/containers/containers.conf" 
DEBU[0000] Merged system config "/usr/share/containers/containers.conf": &{{[] [] container-default [] host enabled [CAP_AUDIT_WRITE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETFCAP CAP_SETGID CAP_SETPCAP CAP_SETUID CAP_SYS_CHROOT] [] []  [] [] [] false [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] false false false  private k8s-file -1 slirp4netns false 2048 private /usr/share/containers/seccomp.json 65536k private host 65536} {false systemd [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] ctrl-p,ctrl-q true /run/user/1000/libpod/tmp/events/events.log file [/usr/share/containers/oci/hooks.d] docker:// /pause k8s.gcr.io/pause:3.2 /usr/libexec/podman/catatonit shm   false 2048 runc map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata:[/usr/bin/kata-runtime /usr/sbin/kata-runtime /usr/local/bin/kata-runtime /usr/local/sbin/kata-runtime /sbin/kata-runtime /bin/kata-runtime /usr/bin/kata-qemu /usr/bin/kata-fc] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc]] missing false   [] [crun runc] [crun] [kata kata-runtime kata-qemu kata-fc] {false false false false false false} /etc/containers/policy.json false 3 /home/someuser/.local/share/containers/storage/libpod 10 /run/user/1000/libpod/tmp /home/someuser/.local/share/containers/storage/volumes} {[/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] podman /etc/cni/net.d/}} 
DEBU[0000] Reading configuration file "/etc/containers/containers.conf" 
DEBU[0000] Merged system config "/etc/containers/containers.conf": &{{[] [] container-default [] host enabled [CAP_AUDIT_WRITE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETFCAP CAP_SETGID CAP_SETPCAP CAP_SETUID CAP_SYS_CHROOT] [] []  [] [] [] false [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] false false false  private k8s-file -1 slirp4netns false 2048 private /usr/share/containers/seccomp.json 65536k private host 65536} {false systemd [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] ctrl-p,ctrl-q true /run/user/1000/libpod/tmp/events/events.log file [/usr/share/containers/oci/hooks.d] docker:// /pause k8s.gcr.io/pause:3.2 /usr/libexec/podman/catatonit shm   false 2048 runc map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata:[/usr/bin/kata-runtime /usr/sbin/kata-runtime /usr/local/bin/kata-runtime /usr/local/sbin/kata-runtime /sbin/kata-runtime /bin/kata-runtime /usr/bin/kata-qemu /usr/bin/kata-fc] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc]] missing false   [] [crun runc] [crun] [kata kata-runtime kata-qemu kata-fc] {false false false false false false} /etc/containers/policy.json false 3 /home/someuser/.local/share/containers/storage/libpod 10 /run/user/1000/libpod/tmp /home/someuser/.local/share/containers/storage/volumes} {[/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] podman /etc/cni/net.d/}} 
DEBU[0000] Using conmon: "/usr/libexec/podman/conmon"   
DEBU[0000] Initializing boltdb state at /home/someuser/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /home/someuser/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000/containers     
DEBU[0000] Using static dir /home/someuser/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /home/someuser/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs 
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false 
DEBU[0000] Initializing event backend file              
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
WARN[0000] Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument 
DEBU[0000] Podman detected system restart - performing state refresh 
INFO[0000] Setting parallel job count to 13             
INFO[0000] using API endpoint: 'tcp:127.0.0.1:1213'     
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9][0-9.]*}/auth 
DEBU[0000] Methods:  <N/A> Path: /auth                  
DEBU[0000] Methods: GET, POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/archive 
DEBU[0000] Methods: GET, POST Path: /containers/{name}/archive 
DEBU[0000] Methods: GET, POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/copy 
DEBU[0000] Methods: GET, POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/archive 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/create 
DEBU[0000] Methods:   POST Path: /containers/create     
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/json 
DEBU[0000] Methods:    GET Path: /containers/json       
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/prune 
DEBU[0000] Methods:   POST Path: /containers/prune      
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/containers/{name} 
DEBU[0000] Methods: DELETE Path: /containers/{name}     
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/{name}/json 
DEBU[0000] Methods:    GET Path: /containers/{name}/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/kill 
DEBU[0000] Methods:   POST Path: /containers/{name}/kill 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/{name}/logs 
DEBU[0000] Methods:    GET Path: /containers/{name}/logs 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/pause 
DEBU[0000] Methods:   POST Path: /containers/{name}/pause 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/rename 
DEBU[0000] Methods:   POST Path: /containers/{name}/rename 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/restart 
DEBU[0000] Methods:   POST Path: /containers/{name}/restart 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/start 
DEBU[0000] Methods:   POST Path: /containers/{name}/start 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/{name}/stats 
DEBU[0000] Methods:    GET Path: /containers/{name}/stats 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/stop 
DEBU[0000] Methods:   POST Path: /containers/{name}/stop 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/{name}/top 
DEBU[0000] Methods:    GET Path: /containers/{name}/top 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/unpause 
DEBU[0000] Methods:   POST Path: /containers/{name}/unpause 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/wait 
DEBU[0000] Methods:   POST Path: /containers/{name}/wait 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/attach 
DEBU[0000] Methods:   POST Path: /containers/{name}/attach 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/resize 
DEBU[0000] Methods:   POST Path: /containers/{name}/resize 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/{name}/export 
DEBU[0000] Methods:    GET Path: /containers/{name}/export 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/create 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/prune 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/showmounted 
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name} 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/kill 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/mount 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/unmount 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/logs 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/pause 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/restart 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/start 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/stats 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/top 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/unpause 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/wait 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/exists 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/stop 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/attach 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/resize 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/export 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/checkpoint 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/restore 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/containers/{name}/changes 
DEBU[0000] Methods:    GET Path: /containers/{name}/changes 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/changes 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/init 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9][0-9.]*}/distribution/{name}/json 
DEBU[0000] Methods:  <N/A> Path: /distribution/{name}/json 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/events 
DEBU[0000] Methods:    GET Path: /events                
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/events 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/containers/{name}/exec 
DEBU[0000] Methods:   POST Path: /containers/{name}/exec 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/exec/{id}/start 
DEBU[0000] Methods:   POST Path: /exec/{id}/start       
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/exec/{id}/resize 
DEBU[0000] Methods:   POST Path: /exec/{id}/resize      
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/exec/{id}/json 
DEBU[0000] Methods:    GET Path: /exec/{id}/json        
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name}/exec 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/exec/{id}/start 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/exec/{id}/resize 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/exec/{id}/json 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/generate/{name:.*}/kube 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/containers/{name:.*}/healthcheck 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/images/create 
DEBU[0000] Methods:   POST Path: /images/create         
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/images/create 
DEBU[0000] Methods:   POST Path: /images/create         
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/images/json 
DEBU[0000] Methods:    GET Path: /images/json           
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/images/load 
DEBU[0000] Methods:   POST Path: /images/load           
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/images/prune 
DEBU[0000] Methods:   POST Path: /images/prune          
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/images/search 
DEBU[0000] Methods:    GET Path: /images/search         
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/images/{name:.*} 
DEBU[0000] Methods: DELETE Path: /images/{name:.*}      
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/images/{name:.*}/push 
DEBU[0000] Methods:   POST Path: /images/{name:.*}/push 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/images/{name:.*}/get 
DEBU[0000] Methods:    GET Path: /images/{name:.*}/get  
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/images/{name:.*}/history 
DEBU[0000] Methods:    GET Path: /images/{name:.*}/history 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/images/{name:.*}/json 
DEBU[0000] Methods:    GET Path: /images/{name:.*}/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/images/{name:.*}/tag 
DEBU[0000] Methods:   POST Path: /images/{name:.*}/tag  
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/commit 
DEBU[0000] Methods:   POST Path: /commit                
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/build 
DEBU[0000] Methods:   POST Path: /build                 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/push 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/exists 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/tree 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/history 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/load 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/import 
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/images/remove 
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*} 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/pull 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/prune 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/search 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/get 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/tag 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/commit 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/images/{name:.*}/untag 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/images/{name}/changes 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/build 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/info 
DEBU[0000] Methods:    GET Path: /info                  
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/info 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/manifests/create 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/manifests/{name:.*}/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/manifests/{name:.*}/add 
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/manifests/{name:.*} 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/manifests/{name}/push 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9][0-9.]*}/monitor 
DEBU[0000] Methods:  <N/A> Path: /monitor               
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/networks/{name} 
DEBU[0000] Methods: DELETE Path: /networks/{name}       
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/networks/{name}/json 
DEBU[0000] Methods:    GET Path: /networks/{name}/json  
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/networks/json 
DEBU[0000] Methods:    GET Path: /networks              
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/networks/create 
DEBU[0000] Methods:   POST Path: /networks/create       
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/networks/{name} 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/networks/{name}/json 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/networks/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/networks/create 
DEBU[0000] Methods:    GET Path: /_ping                 
DEBU[0000] Methods:   HEAD Path: /_ping                 
DEBU[0000] Methods:    GET Path: /libpod/_ping          
DEBU[0000] Methods:   HEAD Path: /libpod/_ping          
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/play/kube 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9][0-9.]*}/plugins 
DEBU[0000] Methods:  <N/A> Path: /plugins               
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/pods/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/create 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/prune 
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name} 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/json 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/exists 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/kill 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/pause 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/restart 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/start 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/stop 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/unpause 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/pods/{name}/top 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/pods/stats 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/swagger 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9.]+}/configs/ 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9.]+}/nodes/ 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9.]+}/secrets/ 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9.]+}/services/ 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9.]+}/swarm/ 
DEBU[0000] Methods:  <N/A> Path: /v{version:[0-9.]+}/tasks/ 
DEBU[0000] Methods:  <N/A> Path: /configs/              
DEBU[0000] Methods:  <N/A> Path: /nodes/                
DEBU[0000] Methods:  <N/A> Path: /secrets/              
DEBU[0000] Methods:  <N/A> Path: /services/             
DEBU[0000] Methods:  <N/A> Path: /swarm/                
DEBU[0000] Methods:  <N/A> Path: /tasks/                
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/system/df 
DEBU[0000] Methods:    GET Path: /system/df             
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/system/prune 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/system/df 
DEBU[0000] Methods:    GET Path: /version               
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/version 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/version 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/volumes/create 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/volumes/json 
DEBU[0000] Methods:   POST Path: /v{version:[0-9][0-9.]*}/libpod/volumes/prune 
DEBU[0000] Methods:    GET Path: /v{version:[0-9][0-9.]*}/libpod/volumes/{name}/json 
DEBU[0000] Methods: DELETE Path: /v{version:[0-9][0-9.]*}/libpod/volumes/{name} 
DEBU[0000] API Server idle for 0s                       
DEBU[0000] APIServer.Shutdown ignored as Duration is UnlimitedService. 
DEBU[0039] IdleTracker 0xc000010008:new 0/0 connection(s) 
DEBU[0039] IdleTracker 0xc000010008:active 1/1 connection(s) 
DEBU[0039] APIHandler -- Method: POST URL: /containers/create?name=testcontainers-ryuk-d8df70d7-b593-428e-ace8-0df0bc7f6eef 
DEBU[0039] parsed reference into "[overlay@/home/someuser/.local/share/containers/storage+/run/user/1000/containers:overlay.mount_program=/usr/bin/fuse-overlayfs]docker.io/testcontainersofficial/ryuk:0.3.0" 
DEBU[0039] Using user defined netmode                   
DEBU[0039] No hostname set; container's hostname will default to runtime default 
DEBU[0039] Loading default seccomp profile              
INFO[0039] Request Failed(Internal Server Error): CreateContainerFromCreateConfig(): invalid configuration, cannot specify resource limits without cgroups v2 and --cgroup-manager=systemd 
DEBU[0039] IdleTracker 0xc000010008:idle 1/2 connection(s) 
DEBU[0039] IdleTracker 0xc000010008:closed 0/2 connection(s) 
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 27, 2020
@mheon mheon added the HTTP API Bug is in RESTful API label Jun 27, 2020
@skorhone
Copy link
Author

Duplicate of #6084

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
HTTP API Bug is in RESTful API kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

3 participants