Redhat

Openshift 安裝手冊失敗

  • December 10, 2018

我正在嘗試使用原始版本 3.10(一個主節點,一個節點)安裝 2 節點集群。劇本在任務上失敗

openshift_control_plane :等待控制平面 pod 出現

Initialization              : Complete (0:00:35)
Health Check                : Complete (0:00:41)
Node Bootstrap Preparation  : Complete (0:01:39)
etcd Install                : Complete (0:00:31)
Master Install              : In Progress (0:18:40)
   This phase can be restarted by running: playbooks/openshift-master/config.yml


Failure summary:


 1. Hosts:    openshift-master.itandwisdom.com
    Play:     Configure masters
    Task:     Report control plane errors
    Message:  Control plane pods didn't come up

我的ansible版本是ansible 2.6.5,openshift-ansible版本是3.10.82-1

作業系統:CentOS Linux release 7.5.1804 (Core)

這種情況也發生在 3.11 版本中

[OSEv3:children]
masters
nodes
etcd

[OSEv3:vars]
ansible_ssh_user=root
openshift_disable_check=disk_availability,memory_availability,docker_storage
openshift_release="3.10.0"
openshift_image_tag="v3.10.0"
openshift_pkg_version="-3.10.0"

openshift_deployment_type=origin
[masters]
openshift-master.itandwisdom.com openshift_public_ip=185.136.232.200 openshift_public_hostname=openshift-master.itandwisdom.com

[etcd]
openshift-node.itandwisdom.com openshift_node_group_name='node-config-compute' openshift_public_ip=185.136.233.130 openshift_public_hostname=openshift-node.itandwisdom.com

[nodes]
openshift-master.itandwisdom.com openshift_public_ip=185.136.232.200 openshift_public_hostname=openshift-master.itandwisdom.com openshift_schedulable=true openshift_node_group_name='node-config-master-infra'
openshift-node.itandwisdom.com openshift_public_ip=185.136.233.130 openshift_public_hostname=openshift-node.itandwisdom.com openshift_node_group_name='node-config-compute'

ansible-playbook 的輸出

我發現我有兩個不同的問題:

https://bugzilla.redhat.com/show_bug.cgi?id=1655214

更多資訊:https ://github.com/openshift/openshift-ansible/issues/10798

希望它會幫助某人。

引用自:https://serverfault.com/questions/942331