我们正在尝试在 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