[Fiware-lab-help] FIWARE Lab Assistance Tourguide

Kenneth Nagin NAGIN at il.ibm.com
Mon Aug 22 10:56:51 CEST 2016


I tried out the latest tour guide's docker-compose.yml.  It's mongodb 
entry is fiware/tutorials.tourguide-app.restaurant-data:20160608. However, 
it appears that the db is empty or there is an incompatibility with orion. 
 After bringing up the tour guide I tried using curl to get an entity from 
the DB, but returns an error.    I retried with an older version, 
fiware/tutorials.tourguide-app.restaurant-data:20160201, and it works as 
exprected. 

These are the results.


nagin at rcc-hrl-kvg-558:~/tourguide/tutorials.TourGuide-App$ sudo 
docker-compose up -d
Creating mongodb
Creating authzforce
Creating orion
Creating idas
Creating ul20client
Creating mysql
Creating cygnus
Creating keyrock
Creating tourguide
nagin at rcc-hrl-kvg-558:~/tourguide/tutorials.TourGuide-App$ sudo 
docker-compose ps
   Name                 Command               State Ports  
----------------------------------------------------------------------------------------------------
authzforce   catalina.sh run                  Up      8080/tcp    
cygnus       /cygnus-entrypoint.sh            Up      5050/tcp, 8081/tcp   
 
idas         /bin/sh -c bin/iotagent-ul ...   Up 0.0.0.0:4041->4041/tcp, 
0.0.0.0:7896->7896/tcp 
keyrock      /docker-entrypoint.sh            Up      443/tcp, 5000/tcp    
 
mongodb      /entrypoint.sh --smallfiles      Up      27017/tcp    
mysql        docker-entrypoint.sh mysqld      Up      3306/tcp    
orion        /usr/bin/contextBroker -fg ...   Up 0.0.0.0:1026->1026/tcp    
 
tourguide    /docker-entrypoint.sh            Up 0.0.0.0:32777->80/tcp     
 
ul20client   /docker-entrypoint.sh --fa ...   Up  
nagin at rcc-hrl-kvg-558:~/tourguide/tutorials.TourGuide-App$ curl -s -X GET 
-H "Accept: application/json" -H "Fiware-Service: tourguide" -H 
"Content-Type: application/json" 
'http://0.0.0.0:1026/v2/entities/Elizalde' | python -m json.tool
{
    "description": "The requested entity has not been found. Check type 
and id",
    "error": "NotFound"
}

 nagin at rcc-hrl-kvg-558:~/tourguide/tutorials.TourGuide-App$ sudo 
docker-compose logs | grep -i error
tourguide  | ==> /var/log/apache2/error.log <==
tourguide  | ==> /var/log/apache2/tourguide-app-error.log <==
keyrock    | ==> /var/log/apache2/error.log <==
cygnus     | time=2016-08-21T11:41:40.244Z | lvl=WARN | corr= | trans= | 
srv= | subsrv= | comp=cygnus-ngsi | op=<init> | 
msg=com.telefonica.iot.cygnus.interceptors.CygnusGroupingRules[61] : 
Grouping rules syntax has errors. Details: null
cygnus     | time=2016-08-21T11:41:40.279Z | lvl=WARN | corr= | trans= | 
srv= | subsrv= | comp=cygnus-ngsi | op=<init> | 
msg=com.telefonica.iot.cygnus.interceptors.CygnusGroupingRules[61] : 
Grouping rules syntax has errors. Details: null
keyrock    | ==> /var/log/apache2/error.log <==
orion      | ERROR at 11:41:36  mongoConnectionPool.cpp[140]: Database 
Startup Error (cannot connect to mongo - doing 100 retries with a 1000 
microsecond interval)

Best Regards,

Kenneth Nagin
Ph: +972-4-8296227
Cell: 054-6976227
Fx: +972-4- 8296114
http://researcher.ibm.com/view.php?person=il-NAGIN




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160822/01d68360/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy