mohsen_ | Hello dear friends. I have an issue with utilizing elasticsearch within my openstack environment deployed using kolla-ansible. the problem is that I just wanna enable elasticsearch outside my openstack environment but when I set the variable "elasticsearch_address", it automatically enables opensearch and add its dedicated configuration section to the fluentd config file (td-agent.conf). Since I don't have opensearch | 06:23 |
---|---|---|
mohsen_ | deployed in my environment, fluentd looks for opensearch service in the backend and cannot find anything so get stuck in error state and don't send any logs to elasticsearch as well. | 06:23 |
mohsen_ | I searched a lot to find the root cause and found these variables in the ansible/group_vars/all.yml file: | 06:23 |
mohsen_ | opensearch_address: "{{ elasticsearch_address if elasticsearch_address is defined else kolla_internal_fqdn }}" | 06:23 |
mohsen_ | and respectively found the following lines in the roles/common/tasks/config.yml file: | 06:23 |
mohsen_ | default_output_files: | 06:23 |
mohsen_ | - name: "conf/output/00-local.conf.j2" | 06:23 |
mohsen_ | enabled: true | 06:23 |
mohsen_ | - name: "conf/output/01-es.conf.j2" | 06:23 |
mohsen_ | enabled: "{{ log_direct_to_elasticsearch }}" | 06:23 |
mohsen_ | - name: "conf/output/03-opensearch.conf.j2" | 06:23 |
mohsen_ | enabled: "{{ log_direct_to_opensearch }}" | 06:23 |
mohsen_ | I manually set the enable directive to false but again faced the same issue. tell me what should I do? | 06:23 |
mohsen_ | Thank you in advance | 06:23 |
mohsen | Hello dear friends. I have an issue with utilizing elasticsearch within my openstack environment deployed using kolla-ansible. the problem is that I just wanna enable elasticsearch outside my openstack environment but when I set the variable "elasticsearch_address", it automatically enables opensearch and add its dedicated configuration section to the fluentd config file (td-agent.conf). Since I don't have opensearch | 06:24 |
mohsen | deployed in my environment, fluentd looks for opensearch service in the backend and cannot find anything so get stuck in error state and don't send any logs to elasticsearch as well. | 06:24 |
mohsen | I searched a lot to find the root cause and found these variables in the ansible/group_vars/all.yml file: | 06:24 |
mohsen | opensearch_address: "{{ elasticsearch_address if elasticsearch_address is defined else kolla_internal_fqdn }}" | 06:24 |
mohsen | and respectively found the following lines in the roles/common/tasks/config.yml file: | 06:24 |
mohsen | default_output_files: | 06:24 |
mohsen | - name: "conf/output/00-local.conf.j2" | 06:24 |
mohsen | enabled: true | 06:24 |
mohsen | - name: "conf/output/01-es.conf.j2" | 06:24 |
mohsen | enabled: "{{ log_direct_to_elasticsearch }}" | 06:24 |
mohsen | - name: "conf/output/03-opensearch.conf.j2" | 06:24 |
mohsen | enabled: "{{ log_direct_to_opensearch }}" | 06:24 |
mohsen | I manually set the enable directive to false but again faced the same issue. tell me what should I do? | 06:24 |
mohsen | Thank you in advance | 06:24 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!