Details
- 
        Type:
 extRequest
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:None
 
- 
                        HD-Chapter:Others
 - 
                        HD-Enabler:Unknown
 - 
                        HD-Node:Unknown
 
Description
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@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@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@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@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@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
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-lab-help
Marco, are you fixing this item?