openshift/origin-aggregated-logging

Failed deploy with didn't match node selector

jukito opened this issue · 2 comments

When try to deploy EFK, fail with this message:
2/8 nodes are available: 6 node(s) didn't match node selector

My hosts file look like this:

[OSEv3:children]
masters
nodes
etcd
lb

[etcd]
192.168.1.51 openshift_public_hostname=master1.okd.local
192.168.1.52 openshift_public_hostname=master2.okd.local
192.168.1.53 openshift_public_hostname=master3.okd.local


[masters]
192.168.1.51 openshift_public_hostname=master1.okd.local
192.168.1.52 openshift_public_hostname=master2.okd.local
192.168.1.53 openshift_public_hostname=master3.okd.local


[nodes]
192.168.1.51 openshift_public_hostname=master1.okd.local openshift_node_group_name='node-config-master'
192.168.1.52 openshift_public_hostname=master2.okd.local openshift_node_group_name='node-config-master'
192.168.1.53 openshift_public_hostname=master3.okd.local openshift_node_group_name='node-config-master'
192.168.1.55 openshift_public_hostname=node-infra1.okd.local openshift_node_group_name='node-config-infra'
192.168.1.56 openshift_public_hostname=node-infra2.okd.local openshift_node_group_name='node-config-infra'
192.168.1.57 openshift_public_hostname=node1.okd.local openshift_node_group_name='node-config-compute'
192.168.1.58 openshift_public_hostname=node2.okd.local openshift_node_group_name='node-config-compute'
192.168.1.59 openshift_public_hostname=node3.okd.local openshift_node_group_name='node-config-compute'

[lb]
192.168.1.50 openshift_public_hostname=lb.okd.local


[OSEv3:vars]
ansible_ssh_user=root
ansible_become=false
debug_level=2
openshift_deployment_type=origin
openshift_release=v3.11
os_firewall_use_firewalld=True

openshift_master_cluster_method=native

openshift_master_default_subdomain=apps.okd.local

openshift_console_install=true
openshift_cluster_monitoring_operator_install=true

openshift_logging_install_logging=true
openshift_logging_curator_default_days=100
openshift_logging_curator_run_hour=3
openshift_logging_curator_run_minute=10
openshift_logging_curator_run_timezone=Europe/Madrid
openshift_logging_es_number_of_replicas=1
openshift_logging_es_pvc_dynamic=true
openshift_logging_es_nodeselector={"node-role.kubernetes.io/infra":"true"}
openshift_logging_kibana_hostname=kibana.apps.okd.local

I don't know what label it refer in the node selector.

Any help please?

Solved!

The problem was low memory ¬¬!

Do u mean RAM? How much is enough,?