openshift/openshift-ansible

cannot deploy efk stack

Closed this issue · 1 comments

I cannot deploy efk stack
steps i followed is :
1- i added these lines in /etc/ansible/hosts
openshift_logging_install_logging=true
openshift_logging_image_prefix=openshift/origin-
openshift_logging_master_url=https://master.dyaa.local:8443
openshift_logging_master_public_url=https://master.dyaa.local:8443
openshift_logging_kibana_hostname=kibana.apps.local
openshift_logging_es_allow_external=True
openshift_logging_es_hostname=elastic.apps.local
openshift_logging_es_cluster_size=1
openshift_logging_curator_default_days=30
openshift_logging_use_journal=true
openshift_logging_journal_read_from_head=false
openshift_logging_es_cluster_size=1
openshift_logging_es_nodeselector={"region":"infra"}
openshift_logging_kibana_nodeselector={"region":"infra"}

2- $ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/openshift-logging/config.yml
the playbook run successfully

3- i have error in logging-es-data-master-xy4mebt5-1-deploy
$oc get pods -n logging
logging-curator-1-xgwzz 0/1 CrashLoopBackOff 6 35m
logging-es-data-master-xy4mebt5-1-deploy 0/1 Error 0 34m
logging-fluentd-f9fv6 1/1 Running 0 35m
logging-fluentd-fprn8 1/1 Running 0 34m
logging-fluentd-wltrb 1/1 Running 0 35m
logging-kibana-1-nsm2g 2/2 Running 0 35m

4 - logs for logging-es-data-master-xy4mebt5-1-deploy
$oc logs -f logging-es-data-master-xy4mebt5-1-deploy
--> Scaling logging-es-data-master-xy4mebt5-1 to 1
error: update acceptor rejected logging-es-data-master-xy4mebt5-1: pods for rc 'logging/logging-es-data-master-xy4mebt5-1' took longer than 600 seconds to become available

resolved : about memory limits