Translated message

A translation of this page exists in English.

Podman scope 单元列为 failed

Solution In Progress - Updated -

Issue

如果您运行 'systemctl | grep -i failed',会发现了一个失败的 systemd scope 单元:

[root@controller ~]# systemctl | grep -i failed
● libpod-3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.scope                                                        loaded failed failed    libcontainer container 

进一步检查服务显示:

[root@controller ~]# systemctl status libpod-3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.scope
● libpod-3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.scope - libcontainer container 3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174
   Loaded: loaded (/run/systemd/transient/libpod-3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.scope; transient)
Transient: yes
   Active: failed
      CPU: 0

Nov 24 07:09:04 controller systemd[1]: libpod-3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.scope: Failed to add PIDs to scope's control group: No such process
Nov 24 07:09:04 controller systemd[1]: libpod-3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.scope: Failed with result 'resources'.
Nov 24 07:09:04 controller systemd[1]: Failed to start libcontainer container 3f61c4efc9f5f576d12e6d04b3d3b420c524392088678234857e8f5cf4736174.

但是,服务引用的容器在正常运行:

[root@controller ~]# podman ps | grep -i 3f61c4efc9f5
3f61c4efc9f5  director.local:8787/osp16-redhat_osp_rhel_8-horizon:16.1                     kolla_start           24 hours ago    Up 4 hours ago            horizon

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat OpenStack Platform 16.1

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content