Hi,
try that one: openshift_logging_es_nodeselector={‘node-role.kubernetes.io/infra <http://node-role.kubernetes.io/infra=true>’:’true’} alternatively, you might want to create some "group_vars" directory alongside your inventory, and add a file "group_vars/all.yaml", with the following: openshift_logging_es_nodeselector: node-role.kubernetes.io/infra: "true" as ini format can be quite painful, depending on which variables you need to set. Regards. On Sun, Jun 2, 2019 at 1:23 PM Ricardo Mendes <maveric...@outlook.pt> wrote: > Hi all, > > > > I am using a three server Setup as my inventory file below. > > I am facing this issue where I can’t install ELK by setting ` > openshift_logging_install_logging=true` because I always get this error: > > > > TASK [openshift_control_plane : Ensure that Elasticsearch has nodes to run > on] > *************************************************************************************************** > > fatal: [master.domain.com]: FAILED! => { > > "assertion": false, > > "changed": false, > > "evaluated_to": false, > > "msg": "No schedulable nodes found matching node selector for > Elasticsearch - 'infra=true'" > > } > > > > I have tried with the following variables: > > > > openshift_logging_es_nodeselector={"node-type":"infrastructure"} # as > seen somewhere on documentation > > openshift_logging_es_nodeselector={"node-type":"infra"} > > openshift_logging_es_nodeselector={"type":"infra"} > > openshift_logging_es_nodeselector='node-role.kubernetes.io/infra=true' > > openshift_logging_es_nodeselector={‘role’:’infra’} > > openshift_logging_es_nodeselector={‘infra’:’true’} > > > > My inventory file: > > > > [OSEv3:children] > > masters > > etcd > > nodes > > > > [masters] > > master.domain.com openshift_schedulable=True > > > > [etcd] > > master.domain.com openshift_schedulable=True > > > > [nodes] > > master.domain.com openshift_node_group_name='node-config-master' > openshift_schedulable=True > > infra.domain.com openshift_node_group_name='node-config-infra' > openshift_schedulable=True > > node01.domain.com openshift_node_group_name='node-config-compute' > openshift_schedulable=True > > > > > > [OSEv3:vars] > > … > > openshift_logging_install_logging=true > > openshift_logging_es_nodeselector={'infra':'true'} > > > > I am out of ideas and I think my google is broken cause I can’t seem to > find a suitable option that works… and each deploy_cluster takes over half > an hour… > > > > Anyone can point me in the right path? Thank you! > > > > Kind regards, > > Ricardo M > > > _______________________________________________ > users mailing list > users@lists.openshift.redhat.com > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > -- Samuel Martín Moro {EPITECH.} 2011 "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5)
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users