Edge Software Catalog
Support for issues related to Edge Software Catalog
471 Discussions

Intelligent Traffic Management Grafana container not running

YY4
Employee
4,540 Views

when following the steps at:

https://software.intel.com/content/www/us/en/develop/articles/intelligent-traffic-management.html

to run the demo, i can see that grafana actually not running with a error message when checking the log:

itm_smartcity | 2021-08-15 :: Connecting grafana: Grafana container not up yet, retrying...

 

seems the grafana container never started, i try to restart it manually buy failed...  

 

attached the log

Labels (1)
0 Kudos
1 Solution
7 Replies
Murni_J_Intel
Moderator
4,515 Views

Hi @YY4 

 

Can you please share your $ docker ps and $ docker logs -f itm_smarticty output?

please ensure to run the below to set the host IP before you run the $ docker-compose up -d command 

export HOST_IP=$(hostname -I | cut -d' ' -f1)

 

0 Kudos
YY4
Employee
4,502 Views

please see attached log, thanks so much!

0 Kudos
YY4
Employee
4,480 Views

refreshed the whole SW but still not be able to bring up.

0 Kudos
Xiang_Intel
Moderator
4,451 Views

Hi @YY4 ,

 

I am able to reproduce your issue stated above. It is found that when the HOST_IP env variable is set not correctly, then will see this issue.

Based on the log you have provided, the host ip is set to 172.17.0.1.

Can I request your help to verify again?

Steps:

1. In a new terminal, go to Intelligent_Traffic_Management_<version>/Intelligent_Traffic_Management/intelligent-traffic-management

2. export your current machine IP address. (You can look up your system IP address via ip a or ifconfig).

    export HOST_IP=<System-IP-address>

3. Verify that HOST_IP is correctly sourced into the environment.

     export | grep HOST_IP

4. Then run docker-compose up.

     sudo -E docker-compose up

     

0 Kudos
YY4
Employee
4,446 Views

sorry not updated the latest status in time, i have fixed the issue, really appreciate for the supports. 

0 Kudos
Xiang_Intel
Moderator
4,445 Views

Great to hear this from you. 

JesusE_Intel
Moderator
4,413 Views

If you need any additional information, please submit a new question as this thread will no longer be monitored.

0 Kudos
Reply