6.2. 重试安装
如果 Ansible 安装程序失败,您仍可以安装 OpenShift Container Platform:
- 查看 已知问题以检查是否有具体步骤或临时解决方案。
- 解决安装中的错误。
确定是否需要卸载、重新安装或重试安装:
重试安装:
- 您可以再次运行 deploy_cluster.yml playbook。
您可以运行剩余的单独安装 playbook。
如果您只运行剩余的 playbook,请从失败的阶段开始运行 playbook,然后按顺序运行每个剩余的 playbook。使用以下命令运行每个 playbook:
# ansible-playbook [-i /path/to/inventory] <playbook_file_location>
下表按必须运行的顺序列出 playbook:
表 6.1. 独立组件 Playbook 运行顺序 Playbook 名称 文件位置 健康检查
/usr/share/ansible/openshift-ansible/playbooks/openshift-checks/pre-install.yml
Node Bootstrap
/usr/share/ansible/openshift-ansible/playbooks/openshift-node/bootstrap.yml
etcd Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-etcd/config.yml
NFS Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-nfs/config.yml
Load Balancer Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-loadbalancer/config.yml
Master Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-master/config.yml
Master Additional Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-master/additional_config.yml
Node Join
/usr/share/ansible/openshift-ansible/playbooks/openshift-node/join.yml
GlusterFS Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-glusterfs/config.yml
Hosted Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-hosted/config.yml
Monitoring Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-monitoring/config.yml
Web Console Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-web-console/config.yml
Admin Console Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-console/config.yml
Metrics Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-metrics/config.yml
metrics-server
/usr/share/ansible/openshift-ansible/playbooks/metrics-server/config.yml
Logging Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-logging/config.yml
Availability Monitoring Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-monitor-availability/config.yml
Service Catalog Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-service-catalog/config.yml
Management Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-management/config.yml
Descheduler Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-descheduler/config.yml
Node Problem Detector Install
/usr/share/ansible/openshift-ansible/playbooks/openshift-node-problem-detector/config.yml
Operator Lifecycle Manager (OLM) Install(技术预览)
/usr/share/ansible/openshift-ansible/playbooks/olm/config.yml