Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monasca-persistor container is keep restarting #535

Open
shail8989 opened this issue Aug 2, 2021 · 1 comment
Open

monasca-persistor container is keep restarting #535

shail8989 opened this issue Aug 2, 2021 · 1 comment
Assignees

Comments

@shail8989
Copy link

shail8989 commented Aug 2, 2021

my monasca containers are keep restarting the monasca-persistor containers .

i found the logs which confirms for the connection reset .
image

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 '^]'.

@chaconpiza chaconpiza self-assigned this Sep 6, 2021
@chaconpiza
Copy link
Member

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:

  1. Change all entries of the IP address 192.168.188.110 with your current IP Address in the file .env
  2. Execute next command to have Keystone and Horizon services:
$ docker-compose -f docker-compose-dev.yml up -d
  1. Deploy the metric pipeline and log pipeline
$ docker-compose -f docker-compose-metric.yml -f docker-compose-log.yml up -d
  1. Login into Horizon with your IP Address and user: mini-mon with password: password

Best regards,
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants