Openshift 3.11 路由器失敗:“haproxy.go:392] 無法抓取 HAProxy:..”

Openshift 3.11 路由器失敗:“haproxy.go:392] 無法抓取 HAProxy:..”

我們正在嘗試在 CentOS7 伺服器(單主機、一體機)上安裝 Openshift OKD 3.11。安裝使用 openshift-ansible 並且所有劇本均成功完成。但是,即使所有 Pod(路由器、登錄、Web 控制台)都已部署並執行,我們也會從路由器日誌中收到此錯誤:

“haproxy.go:392] 無法抓取 HAProxy:撥打 unix /var/lib/haproxy/run/haproxy.sock:連接:沒有這樣的文件或目錄”

該目錄已創建,但錯誤仍然出現。儘管部署成功,但無法在任何瀏覽器中存取 Web 控制台。

這是我的庫存。

[OSEv3:children]
masters
nodes
etcd
nfs

[masters]
openshift.gft

[nfs]
openshift.gft

[etcd]
openshift.gft

[nodes]
openshift.gft openshift_node_group_name='node-config-all-in-one' openshift_node_problem_detector_install=true


[OSEv3:vars]
#openshift_additional_repos=[{'id': 'centos-paas', 'name': 'centos-paas', 'baseurl' :'https://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin311', 'gpgcheck' :'0', 'enabled' :'1'}]
debug_level=4
#ansible_ssh_private_key_file=~/keypair.pem
ansible_ssh_user=root
enable_excluders=False
enable_docker_excluder=False
ansible_service_broker_install=False

containerized=True
os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant'
openshift_disable_check=disk_availability,docker_storage,memory_availability,docker_image_availability


deployment_type=origin
openshift_deployment_type=origin

template_service_broker_selector={"region":"infra"}
openshift_metrics_image_version="v3.11"
openshift_logging_image_version="v3.11"
openshift_logging_elasticsearch_proxy_image_version="v1.0.0"
openshift_logging_es_nodeselector={"node-role.kubernetes.io/infra":"true"}
logging_elasticsearch_rollout_override=false
osm_use_cockpit=true
deployment_subtype=registry
openshift_hosted_infra_selector=""


openshift_metrics_install_metrics=True
openshift_logging_install_logging=False

openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
openshift_master_htpasswd_users={'admin': 'admin:$apr1$i/CxP8W/$Oqt4bOOPnGtGlMTH4iQ2a0', 'developer': 'developer:$apr1$dF9cFdOE$Qw5aDt29IwHQlkMEflA/I.'}

openshift_master_htpasswd_file='/etc/origin/master/htpasswd'

openshift_public_hostname=console.openshift.gft
openshift_master_default_subdomain=apps.openshift.gft
openshift_master_api_port=8443
openshift_master_console_port=8443

## Persistent storage, NFS
openshift_hosted_registry_storage_kind=nfs
openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
openshift_hosted_registry_storage_host=openshift.gft
openshift_hosted_registry_storage_nfs_directory=/volume1/SHARED
openshift_hosted_registry_storage_volume_name=registry

相關內容