如何解决大厅开始容器失败:从管道中获取最后一个孩子的pid导致:EOF
- Env:amazon linux2
- 内核版本:4.14.198-152.320.amzn2.x86_64
- 主题版本:v6.6.0
- 问题:
在Amazon EC2上设置会议厅后,我可以登录会议厅网站并创建管道。但是,当我触发管道构建时,出现以下错误消息: runc运行:退出状态1:container_linux.go:367:启动容器进程引起:process_linux.go:338:从管道中获取最终子进程的pid:EOF
- 检查后端日志:
{“时间戳”:“ 2020-10-15T03:14:44.622775204Z”,“级别”:“信息”,“源”:“监护人”,“消息”:“ guardian.create.containerizer-create。 create.completing“,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“ ,“ session”:“ 99.3.2”}} {“ timestamp”:“ 2020-10-15T03:14:44.624243772Z”,“ level”:“调试”,“ source”:“监护人”,“ message”:“ guardian.create.containerizer-create.create.runc “,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,”消息“:” nsexec:601 nsexec已启动“,”会话“:” 99.3.2“}} {“时间戳记”:“ 2020-10-15T03:14:44.624281598Z”,“级别”:“调试”,“源”:“监护人”,“消息”:“ guardian.create.containerizer-create.create.runc “,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,”消息“:” try_mapping_tool:240 nsenter:不存在映射工具:不允许进行操作“ ,”会话“:” 99.3.2“}} {“时间戳记”:“ 2020-10-15T03:14:44.624308669Z”,“级别”:“调试”,“源”:“监护人”,“消息”:“ guardian.create.containerizer-create.create.runc “,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,“消息”:“ nsexec:889 nsenter:无法与父对象同步:读取(SYNC_USERMAP_ACK):无效的参数” ,“会话”:“ 99.3.2”}} {“ timestamp”:“ 2020-10-15T03:14:44.624328533Z”,“ level”:“ debug”,“ source”:“ guardian”,“ message”:“ guardian.create.containerizer-create.create.runc “,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,”消息“:”日志管道已关闭:EOF“,”会话“:” 99.3.2“}} {“时间戳记”:“ 2020-10-15T03:14:44.624349468Z”,“级别”:“调试”,“源”:“监护人”,“消息”:“ guardian.create.containerizer-create.create.runc “,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,”消息“:” container_linux.go:367:导致启动容器进程:process_linux.go:338:从管道中获取最终孩子的pid:EOF“,” session“:” 99.3.2“}} {“ timestamp”:“ 2020-10-15T03:14:44.624379918Z”,“ level”:“ info”,“ source”:“ guardian”,“ message”:“ guardian.create.containerizer-create.create.finished “,” data“:{” bundle“:” / home / concourse / worker / depot / 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” handle“:” 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e“,” session “:” 99.3.2“}} {“ timestamp”:“ 2020-10-15T03:14:44.624412285Z”,“ level”:“错误”,“ source”:“监护人”,“ message”:“ guardian.create.containerizer-create.runtime-create -failed“,” data“:{” error“:” runc运行:退出状态1:container_linux.go:367:启动容器进程引起:process_linux.go:338:从管道中获取最终子进程的pid:EOF“, “ handle”:“ 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e”,“ session”:“ 99.3”}} {“ timestamp”:“ 2020-10-15T03:14:44.624429680Z”,“ level”:“ info”,“ source”:“ guardian”,“ message”:“ guardian.create.containerizer-create.finished”, “ data”:{“ handle”:“ 2b4ce51a-c28d-4aac-7122-b82cd1cbb99e”,“ session”:“ 99.3”}}
- 我已经突出显示了可能导致此问题的消息。谢谢 帮助我找到根本原因。
解决方法
我发现根本原因是系统缺少一些工具。我使用新的系统映像替换它,然后工作正常。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。