Podman container fails to start if --cpu-rt-runtime= flag is used

Solution Verified - Updated -

Issue

  • podman container fails to start if given the --cpu-rt-runtime= flag
    # podman --log-level=debug run --detach --name app11 --security-opt label=disable --privileged=true --cpu-rt-period=1000000 --cpu-rt-runtime=950000 registry.access.redhat.com/ubi8 sleep infinity
    time="2021-06-04T10:26:55-04:00" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: process_linux.go:422: setting cgroup config for procHooks process caused: failed to write \"950000\" to \"/sys/fs/cgroup/cpu,cpuacct/machine.slice/libpod-4166a43b0b6292a9962a6d49b4953adf928fc1aa6f0877917df1ecc6b39a7dbe.scope/cpu.rt_runtime_us\": write /sys/fs/cgroup/cpu,cpuacct/machine.slice/libpod-4166a43b0b6292a9962a6d49b4953adf928fc1aa6f0877917df1ecc6b39a7dbe.scope/cpu.rt_runtime_us: invalid argument"

Environment

  • Podman
  • Red Hat Enterprise Linux 7.9
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In