monasca-docker
monasca-docker copied to clipboard
monasca-persistor container is keep restarting
my monasca containers are keep restarting the monasca-persistor containers .
i found the logs which confirms for the connection reset .
in the logs, it said for connection aborted .
ERROR monasca_persister.repositories.persister File "/var/lib/kolla/venv/lib/python3.6/site-packages/influxdb/client.py", line 342, in request ERROR monasca_persister.repositories.persister timeout=self._timeout ERROR monasca_persister.repositories.persister File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 542, in request ERROR monasca_persister.repositories.persister resp = self.send(prep, **send_kwargs) ERROR monasca_persister.repositories.persister File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 655, in send ERROR monasca_persister.repositories.persister r = adapter.send(request, **kwargs) ERROR monasca_persister.repositories.persister File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 498, in send ERROR monasca_persister.repositories.persister raise ConnectionError(err, request=request) ERROR monasca_persister.repositories.persister requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) ERROR monasca_persister.repositories.persister 2021-08-02 13:06:29.309 7 INFO monasca_persister.persister [-] Received signal 17, beginning graceful shutdown.
while i am able to connect with the port 9092 to the kafka db.
telnet 10.243.0.2 9092 Trying 10.243.0.2... Connected to 10.243.0.2. Escape character is '^]'.
Hi Rokko,
The code and docker images in the master branch were quite old, they were Pike/Queens release. All this code now is stored in the branch legacy
.
We are right now in the process to update and maintain the master branch with newest code and docker images.
Please pull again the master branch then:
- Change all entries of the IP address
192.168.188.110
with your current IP Address in the file .env - Execute next command to have Keystone and Horizon services:
$ docker-compose -f docker-compose-dev.yml up -d
- Deploy the metric pipeline and log pipeline
$ docker-compose -f docker-compose-metric.yml -f docker-compose-log.yml up -d
- Login into Horizon with your IP Address and user: mini-mon with password: password
Best regards, Martin