Yoga monasca_log_persister elasticsearch version container crash problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
New
|
Undecided
|
Unassigned |
Bug Description
Freshly installed Yoga (installed this afternoon) with monasca and elasticsearch enabled using source type and Ubuntu.
docker container monasca_
docker logs monasca_
{"level"
There is a line in the docker container logs about:
echo 'Running command: '\''/usr/
Based on about two days of experience so far with Kolla-ansible, I think the config being passed to the container is located in /etc/kolla/
output {
elasticsearch {
index => "monasca-
hosts => ['http://
template => "/etc/logstash/
}
}
If I connect to the docker container:
docker exec -i monasca_
and look at the file inside the container at /etc/logstash/
I believe that is correct. From a desktop I can connect to 10.10.20.56:9200 and see
{
"name" : "10.10.20.56",
"cluster_name" : "kolla_logging",
"cluster_uuid" : "kCOHJolvT8yija
"version" : {
"number" : "7.10.2",
"build_flavor" : "oss",
"build_type" : "deb",
"build_hash" : "747e1cc71def07
"build_date" : "2021-01-
"build_
"lucene_
"minimum_
"minimum_
},
"tagline" : "You Know, for Search"
}
I can connect to the monasca_
docker exec -i monasca_
From that docker bash shell I can run "curl 10.10.20.56:9200" and curl responds with exactly the same elasticsearch message I see above from the desktop aka version 7.10.2 and so forth.
Also the kibana installation for central logging on port 5601 connects to elasticsearch just fine although there is no data to look at.
So, I am pretty confident elasticsearch is running and accessible. There is network connectivity between the monasca_
I found a working (well, I assume so, anyway) dockerfile for monasca at
https:/
and that Dockerfile specifies using a REALLY old version of elasticsearch 7.3.0
As I understand https:/
that would seem to imply Elasticsearch from July 30 2019 worked with monasca but the version from January 14 2021 is too new to work with monasca_
At this point, if I knew how, I could pursue this bug two different ways:
If I could figure out how to do this, I would reconfigure kolla-ansible to install ancient elasticsearch 7.3.0 and see if that old version of elasticsearch makes monasca_
Or alternately, if I could find the source for monasca_
I went to https:/ /www.elastic. co/support/ matrix and click on Product Compatibility
The Kolla-Ansible installed Elasticsearch 7.10.2 is claimed to be compatible with LogStash 6.8.x-7.17.x
The git repo example using Elasticsearch 7.3.0 is claimed to be compatible with the same range of LogStash version 6.8.x-7.17.x
I ran "docker exec -it monasca_ log_persister /bin/bash" and then inside persister I ran /usr/share/ logstash/ bin/logstash --version and the container has logstash version 7.17.5 installed, which is technically just at the very edge of supported version for that old elasticsearch.
I looked thru the release notes and was unsuccessful at immediately finding anything that would explain why 7.17.5 cannot connect to 7.10.2
I see the behavior WRT version checking changed in version 7.16.0 of logstash, but I don't know if its relevant. /www.elastic. co/guide/ en/logstash/ 7.17/logstash- 7-16-0. html
https:/