13.9. 收集诊断数据
使用 oc adm must-gather 命令收集有关集群和 Ansible Automation Platform 组件的综合诊断数据。在联系红帽支持时,这些数据至关重要。
流程
要启动
must-gather工具,请运行:oc adm must-gather --image=registry.redhat.io/ansible-automation-platform-25/aap-must-gather-rhel8
oc adm must-gather --image=registry.redhat.io/ansible-automation-platform-25/aap-must-gather-rhel8Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意对于版本 2.6,基础镜像名称会更改为
registry.redhat.io/ansible-automation-platform-26/aap-must-gather-rhel9。查看收集的数据,使用
omc工具查询must-gathertarball,就像是一个实时集群一样。omc use <path-to-must-gather> omc get pods
omc use <path-to-must-gather> omc get podsCopy to Clipboard Copied! Toggle word wrap Toggle overflow