-
Notifications
You must be signed in to change notification settings - Fork 183
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
Default Dashboard not showing any data - possible elasticsearch startup problem #697
Comments
In case it helps this is the output from log files - taken as text copy from the terminal: nmohammad@github-dashboard-dev:/home/grimoirelab/docker-compose$ docker-compose logs During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hi @nmohammad, I can't reproduce the error locally, so it's a bit difficult for me to help. However, based on the logs you shared, I can see two errors:
|
Thanks for the reply - really appreciate it! I shall try your suggestions and let you know. |
I think adding to the docker group has resolved the permissions issue. Still no data. |
It is not necessary to add the GitHub and GitLab keys for the default configuration. It takes some time to process the data. I can see when the collection starts:
But I can't see when the collection phase finishes, it takes some minutes to clone the repository. Could you attach the full logs? Please, wait for up to five minutes to see if any data appears. |
Hi Jose, I suspect that there is a problem with the network or firewall settings of the VM I am using. It was setup by my corp IT department. Incase there is a firewall on my vm I looked at the iptables and here is the dump with byte usage after launching docker-compose. There is a strange setting for port 9200 but that rule wasn't invoked - no bytes. Chain INPUT (policy ACCEPT 0 packets, 0 bytes) Chain FORWARD (policy DROP 0 packets, 0 bytes) Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) Chain DOCKER (3 references) Chain DOCKER-ISOLATION-STAGE-1 (1 references) Chain DOCKER-ISOLATION-STAGE-2 (3 references) Chain DOCKER-USER (1 references) |
I incase this helps I was testing if I could access port 9200 from the terminal window so I did some curl tests here is cut and paste of two tests, let me know if there are other curl tests or devtool tests which could help. nmohammad@github-dashboard-dev:/home/grimoirelab/docker-compose$ curl http://localhost:9200 I also was able to successfully access 172.18.0.4:9200 - which is called out as an error in the logs |
Hi @nmohammad, I see the same error in the logs as before:
I’m not very familiar with the firewall settings on the virtual machines. However, I’m wondering if the following line is dropping packets from Docker, as it includes the word "DROP":
You are able to access the repository from the virtual machine, as you can clone it, but there's no access from the Docker container inside the VM. I haven't encountered this issue before, so I’m unsure how to proceed. The output from |
Hi @nmohammad Could you enter into the mordred container
Also, I found this https://stackoverflow.com/questions/20430371/my-docker-container-has-no-internet. I hope it helps you |
Thanks folks. I enabled port forwarding by uncommenting a line #net.ipv4.ip_forward=1 in /etc/sysctl.conf and also executed sudo sysctl -w net.ipv4.ip_forward=1 nmohammad@github-dashboard-dev:/home/grimoirelab/docker-compose$ docker ps |
I tried the tests suggested above: nmohammad@github-dashboard-dev:/home/grimoirelab/docker-compose$ docker exec -it 4be6cc3b9714 bash perceval is still running - but no errors or messages for over 5mins. If it changes I will update this post. |
I did a reboot, and it still didn't improve operations. |
I am currently on Unbuntu 22.04.4 LTS , I can upgrade to 24.04.1 LTS if that would help. |
I found this https://forums.docker.com/t/git-clone-works-from-host-but-not-docker-container/120932 maybe you are using a proxy-server |
I think we are on to something. I did an experiment, I deleted the docker port redirects in iptables, but then when I launched the dashboard again using docker-compose, the same port forwarding entries appeared again. Regarding proxy-server any suggestion on how to check and change? |
Its seems that from inside the containers http: access works but https: does not, for example curl http://google.com works but curl https://google.com It seems that I don't have a /etc/docker/daemon.json but creating one with just the entries they provides results in both http and https to fail with errors saying dns could not resolve. So I have deleted that file and rebooted the VM. |
I have a new Ubuntu VM and I am trying to follow the get started instructions https://chaoss.github.io/grimoirelab-tutorial/docs/getting-started/setup/.
I have set the virtual memory ,and verified it. My machine as 8 CPUS, 16GB of memory.
I am using the default docker-compose method. I see the panels but no data.
When I browse port 9200 I get the following json response:
{
"name": "9PS5HiZ",
"cluster_name": "docker-cluster",
"cluster_uuid": "SOa1jgmoRea1bM0SGsQJ9g",
"version": {
"number": "6.8.6",
"build_flavor": "oss",
"build_type": "docker",
"build_hash": "3d9f765",
"build_date": "2019-12-13T17:11:52.013738Z",
"build_snapshot": false,
"lucene_version": "7.7.2",
"minimum_wire_compatibility_version": "5.6.0",
"minimum_index_compatibility_version": "5.0.0"
},
"tagline": "You Know, for Search"
}
terminalsession.txt
I have attached a copy of my terminal session in which you will see a clean git clone and command sudo docker-compose up , in case that helps.
Any ideas or suggestions to help get the default dashboard up would be appreciated.
I have tried multiple things like adding github and gitlab keys, but I have been informed that should not be necessary to see something. At the moment I only see panels with "no results found"
The text was updated successfully, but these errors were encountered: