登录OpenShift 3.7问题

时间:2018-02-15 06:56:00

标签: openshift openshift-origin openshift-enterprise openshift-3 efk

我正在使用Ansible在OpenShift 3.7中使用以下参数安装日志记录(EFK),

openshift_logging_install_logging=true
openshift_logging_kibana_hostname=kibana.example.com
openshift_logging_es_cluster_size=3
openshift_logging_es_number_of_shards=3
openshift_logging_es_number_of_replicas=1
openshift_logging_es_nodeselector={"region":"infra"}
openshift_logging_kibana_nodeselector={"region":"infra"}
openshift_logging_curator_nodeselector={"region":"infra"}

但它失败的消息,我不知道为什么,我尝试使用openshift_logging_es_cluster_size = 1,它的工作正常。但我希望群集大小为3.任何人都可以帮助我 -

2018-01-30 18:08:27,734 p=30740 u=root |  FAILED - RETRYING: Waiting for logging-es-data-master-8bm7g3s4 to finish scaling up (60 retries left).
2018-01-30 18:08:59,582 p=30740 u=root |  FAILED - RETRYING: Waiting for logging-es-data-master-8bm7g3s4 to finish scaling up (59 retries left).
2018-01-30 18:09:30,763 p=30740 u=root |  FAILED - RETRYING: Waiting for logging-es-data-master-8bm7g3s4 to finish scaling up (58 retries left).
2018-01-30 18:10:02,003 p=30740 u=root |  FAILED - RETRYING: Waiting for logging-es-data-master-8bm7g3s4 to finish scaling up (57 retries left).
2018-01-30 18:10:33,239 p=30740 u=root |  FAILED - RETRYING: Waiting for logging-es-data-master-8bm7g3s4 to finish scaling up (56 retries left).
2018-01-30 18:11:04,456 p=30740 u=root |  FAILED - RETRYING: Waiting for logging-es-data-master-8bm7g3s4 to finish scaling up (55 retries left)

1 个答案:

答案 0 :(得分:-1)

您可以使用命令行来描述您的logging-es-data-master- * pod,您可能会发现事件中缺少cpu或内存中的其他两个节点。 因为logging-es-data-master- * pod默认需要8G内存。 可能还有其他原因。