Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-20216

FIWARE.Request.Lab.FIWARE Lab not working.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Dear all,

      I cannot start Orion LD with the Ubuntu VM in FIWARE Lab. I have created an Ubuntu 22.04 VM, associated the default Security Group + an "All TCP Ports" one, installed docker with "sudo snap install docker", created the following docker compose file (taken from https://github.com/FIWARE/context.Orion-LD/blob/develop/doc/manuals-ld/installation-guide-docker.md):

      version: "3"
      version: "3.5"
      services:

      1. Orion is the context broker
        orion:
        image: fiware/orion-ld
        hostname: orion
        container_name: fiware-orion
        depends_on:
      • mongo-db
        expose:
      • "1026"
        ports:
      • "1026:1026"
        command: -dbhost mongo-db -logLevel DEBUG
        healthcheck:
        test: curl --fail -s http://orion:1026/version || exit 1
      1. Databases
        mongo-db:
        image: mongo:3.6
        hostname: mongo-db
        container_name: db-mongo
        expose:
      • "27017"
        ports:
      • "27017:27017"
        command: --nojournal
        volumes:
      • mongo-db:/data

      volumes:
      mongo-db: ~

      But, unfortunately, when I start "sudo docker-compose up", Orion LD connects to MongoDB but then failed some internal CURL and exits:

      db-mongo | 2022-11-18T18:04:13.960+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=mongo-db
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] db version v3.6.23
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] allocator: tcmalloc
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] modules: none
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] build environment:
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] distmod: ubuntu1604
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] distarch: x86_64
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] target_arch: x86_64
      db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] options: { net:

      { bindIpAll: true }

      , storage: { journal:

      { enabled: false }

      } }
      db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten]
      db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1449M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),,log=(enabled=false),
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=INFO | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1052]:main | msg=Orion Context Broker is running
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[752]:versionInfo | msg=Version Info:
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[753]:versionInfo | msg=-----------------------------------------
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[754]:versionInfo | msg=orionld version: post-v1.1.0
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[755]:versionInfo | msg=based on orion: 1.15.0-next
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[756]:versionInfo | msg=git hash: nogitversion
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[757]:versionInfo | msg=build branch:
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[758]:versionInfo | msg=compiled by: root
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.627Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[759]:versionInfo | msg=compiled in:
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.627Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[760]:versionInfo | msg=-----------------------------------------
      fiware-orion | time=Friday 18 Nov 18:04:14 2022.633Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongocInit.cpp[290]:mongocInit | msg=Connecting to mongo for the C driver
      db-mongo | 2022-11-18T18:04:14.757+0000 I STORAGE [initandlisten] WiredTiger message [1668794654:757161][1:0x7f04f016fa40], txn-recover: Set global recovery timestamp: 0
      db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten]
      db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
      db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
      db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten]
      db-mongo | 2022-11-18T18:04:14.888+0000 I STORAGE [initandlisten] createCollection: admin.system.version with provided UUID: 38f8d2f4-c8f1-4fb9-a5ca-6fed8aef4a4a
      db-mongo | 2022-11-18T18:04:14.950+0000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 3.6
      db-mongo | 2022-11-18T18:04:14.952+0000 I STORAGE [initandlisten] createCollection: local.startup_log with generated UUID: 20a37a62-aff5-4eea-9063-c5c310e864ba
      db-mongo | 2022-11-18T18:04:15.014+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
      db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] listening via socket bound to 0.0.0.0
      db-mongo | 2022-11-18T18:04:15.015+0000 I STORAGE [LogicalSessionCacheRefresh] createCollection: config.system.sessions with generated UUID: 4892aceb-5a92-4719-a4f7-8eab7766f385
      db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] listening via socket bound to /tmp/mongodb-27017.sock
      db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] waiting for connections on port 27017
      db-mongo | 2022-11-18T18:04:15.103+0000 I INDEX [LogicalSessionCacheRefresh] build index on: config.system.sessions properties: { v: 2, key:

      { lastUse: 1 }

      , name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 }
      db-mongo | 2022-11-18T18:04:15.103+0000 I INDEX [LogicalSessionCacheRefresh] building index using bulk method; build may temporarily use up to 500 megabytes of RAM
      db-mongo | 2022-11-18T18:04:15.105+0000 I INDEX [LogicalSessionCacheRefresh] build index done. scanned 0 total records. 0 secs
      db-mongo | 2022-11-18T18:04:15.137+0000 I NETWORK [listener] connection accepted from 172.19.0.3:42052 #1 (1 connection now open)
      db-mongo | 2022-11-18T18:04:15.138+0000 I NETWORK [conn1] received client metadata from 172.19.0.3:42052 conn1: { application:

      { name: "orionld" }

      , driver:

      { name: "mongoc", version: "1.22.0" }

      , os:

      { type: "Linux", name: "Red Hat Enterprise Linux", version: "8.6", architecture: "x86_64" }

      , platform: "cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS="" LDFLAGS=""" }
      db-mongo | 2022-11-18T18:04:15.140+0000 I NETWORK [listener] connection accepted from 172.19.0.3:42054 #2 (2 connections now open)
      db-mongo | 2022-11-18T18:04:15.140+0000 I NETWORK [conn2] received client metadata from 172.19.0.3:42054 conn2: { application:

      { name: "orionld" }

      , driver:

      { name: "mongoc", version: "1.22.0" }

      , os:

      { type: "Linux", name: "Red Hat Enterprise Linux", version: "8.6", architecture: "x86_64" }

      , platform: "cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS="" LDFLAGS=""" }
      db-mongo | 2022-11-18T18:04:15.143+0000 I STORAGE [conn2] createCollection: orion.entities with generated UUID: 61d24e90-d293-479d-a6c0-a951777af163
      db-mongo | 2022-11-18T18:04:15.234+0000 I INDEX [conn2] build index on: orion.entities properties: { v: 2, key:

      { _id.id: 1 }

      , name: "_id.id_1", ns: "orion.entities" }
      db-mongo | 2022-11-18T18:04:15.234+0000 I INDEX [conn2] building index using bulk method; build may temporarily use up to 500 megabytes of RAM
      db-mongo | 2022-11-18T18:04:15.236+0000 I INDEX [conn2] build index done. scanned 0 total records. 0 secs
      fiware-orion | time=Friday 18 Nov 18:04:20 2022.243Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[321]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28)
      fiware-orion | time=Friday 18 Nov 18:04:20 2022.244Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[329]:orionldRequestSend | msg=curl_easy_perform error 28
      fiware-orion | time=Friday 18 Nov 18:04:20 2022.244Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 1 out of 3. Timeout is: 5000ms): Internal CURL Error
      fiware-orion | time=Friday 18 Nov 18:04:25 2022.247Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[321]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28)
      fiware-orion | time=Friday 18 Nov 18:04:25 2022.248Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[329]:orionldRequestSend | msg=curl_easy_perform error 28
      fiware-orion | time=Friday 18 Nov 18:04:25 2022.249Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 2 out of 3. Timeout is: 5000ms): Internal CURL Error
      fiware-orion | time=Friday 18 Nov 18:04:30 2022.252Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[321]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28)
      fiware-orion | time=Friday 18 Nov 18:04:30 2022.253Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[329]:orionldRequestSend | msg=curl_easy_perform error 28
      fiware-orion | time=Friday 18 Nov 18:04:30 2022.253Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 3 out of 3. Timeout is: 5000ms): Internal CURL Error
      fiware-orion | time=Friday 18 Nov 18:04:30 2022.254Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextCacheInit.cpp[159]:orionldContextCacheInit | msg=Unable to download the core context (Unable to download context: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld)
      db-mongo | 2022-11-18T18:04:30.259+0000 I NETWORK [conn2] end connection 172.19.0.3:42054 (1 connection now open)
      db-mongo | 2022-11-18T18:04:30.259+0000 I NETWORK [conn1] end connection 172.19.0.3:42052 (0 connections now open)
      fiware-orion exited with code 1

      Since it is a basic FIWARE application, directly taken from the GitHub example, in a FIWARE Lab VM, I supposed I should work. Can you please check if something changed in Vicenza, because all the ports I could open are opened from my side.

      [cid:image001.png@01D8FB81.78212260]

      Thanks in advance.
      Best,
      Alessandro

      Alessandro Rossi
      Senior Researcher and Project Manager
      Engineering Ingegneria Informatica spa
      Research and Development Laboratory
      Viale della Regione Siciliana N.O., 7275- 90146 Palermo
      Mob. +39-348.2954839
      Tel. +39-091.7511735
      www.eng.it<http://www.eng.it/>

      __________________________________________________________________________________________

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

      fiware-lab-help mailing list
      fiware-lab-help@lists.fiware.org

      To unsubscribe from fiware-lab-help mailing list, go to the information page of the list at:
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Alessandro Rossi <alessandro.rossi@eng.it>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Dear José Ignacio,

        thank you so much for your kind and precious investigation, it worked like a charm! Also, in the meanwhile, I had installed Docker in a more canonical way, avoiding snap (that has many limitations as you perfectly observed) and adopting the longer but official method reported in the Docker website. Moreover, I have fixed Orion-LD to v1.1.1. (the latest stable, instead of a nightly build) and upgraded MongoDB to v4.4. No error any more, thanks to your MTU patch. I only noticed Orion-LD is in any case less robust than Orion v2, which is normal I think, considering its younger age. In particular, if some stack trace is fired (e.g., for an error in the format given for a subscription) it crashes at all, instead of skipping the operation and continuing working, as Orion v2 does. This is just a feedback I anticipated to Alberto (Abella) during a meeting, and promised to share with the technical team.

        On a total different topic, speaking about the projects we are carrying out together, Alberto suggested me also to investigate the possibility of upgrading the (now basic and limited) resources allocated to the VMs the Foundation kindly provided. I don’t know if I can take advantage of this email and your kindness to ask you who I can talk with for that, or if you can establish a communication channel with Vicenza2 responsible to see if there is room for an upgrade and is possible for the projects we are following.

        Thanks again for your support, and for any info you would share for my upgrade request.
        Best,
        Ale

        Da: Help-Desk <jira-help-desk@jira.fiware.org>
        Inviato: giovedì 15 dicembre 2022 13:37
        A: Alessandro Rossi <alessandro.rossi@eng.it>
        Oggetto: [FIWARE-JIRA] (HELP-20216) [Fiware-lab-help] FIWARE Lab not working

        Dear Alessandro, After testing I've realised that that's a problem with MTU – This is not a problem of docker or the underlying network configuration in the Virtual Server nor with the docker file in the example. Anyway, the solution is setting
        ZjQcmQRYFpfptBannerStart
        CAUTION: This email might originate from outside the organization.
        ZjQcmQRYFpfptBannerEnd

        Dear Alessandro,

        After testing I've realised that that's a problem with MTU – This is not a problem of docker or the underlying network configuration in the Virtual Server nor with the docker file in the example.

        Anyway, the solution is setting the MTU of your dockers to 1450 (the same that the network interface ens3). This can't be done modifying the /etc/docker/daemon.json because i) docker containers started with docker-compose doesn't inherit this network configuration and ii) I don't not sure that docker installed with snap uses this file since the installation with snap doesn't create /etc/docker.

        The solution which worked for me is adding a few lines to the docker-compose.yaml file to properly configure networking for Vicenza2 in the following way:

        ...

        networks:

        default:

        driver: bridge

        driver_opts:

        com.docker.network.driver.mtu: 1450

        Regards,

        José Ignacio

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------

        Comments:

        ------------------------

        Issue id: HELP-20216

        Description:

        Dear all,

        I cannot start Orion LD with the Ubuntu VM in FIWARE Lab. I have created an Ubuntu 22.04 VM, associated the default Security Group + an "All TCP Ports" one, installed docker with "sudo snap install docker", created the following docker compose file (taken from https://urldefense.com/v3/__https://github.com/FIWARE/context.Orion-LD/blob/develop/doc/manuals-ld/installation-guide-docker.md__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNgF6dn5Q$<https://urldefense.com/v3/__https:/github.com/FIWARE/context.Orion-LD/blob/develop/doc/manuals-ld/installation-guide-docker.md__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNgF6dn5Q$>):

        version: "3"

        version: "3.5"

        services:

        1. Orion is the context broker

        orion:

        image: fiware/orion-ld

        hostname: orion

        container_name: fiware-orion

        depends_on:

        • mongo-db

        expose:

        • "1026"

        ports:

        • "1026:1026"

        command: -dbhost mongo-db -logLevel DEBUG

        healthcheck:

        test: curl --fail -s https://urldefense.com/v3/__http://orion:1026/version__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNLL3lO3A$<https://urldefense.com/v3/__http:/orion:1026/version__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNLL3lO3A$> || exit 1

        1. Databases

        mongo-db:

        image: mongo:3.6

        hostname: mongo-db

        container_name: db-mongo

        expose:

        • "27017"

        ports:

        • "27017:27017"

        command: --nojournal

        volumes:

        • mongo-db:/data

        volumes:

        mongo-db: ~

        But, unfortunately, when I start "sudo docker-compose up", Orion LD connects to MongoDB but then failed some internal CURL and exits:

        db-mongo | 2022-11-18T18:04:13.960+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=mongo-db

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] db version v3.6.23

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] allocator: tcmalloc

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] modules: none

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] build environment:

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] distmod: ubuntu1604

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] distarch: x86_64

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] target_arch: x86_64

        db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] options: { net:

        { bindIpAll: true }

        , storage: { journal:

        { enabled: false }

        } }

        db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten]

        db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine

        db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] ** See https://urldefense.com/v3/__http://dochub.mongodb.org/core/prodnotes-filesystem__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LMxYf_USw$<https://urldefense.com/v3/__http:/dochub.mongodb.org/core/prodnotes-filesystem__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LMxYf_USw$>

        db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1449M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),,log=(enabled=false),

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=INFO | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1052]:main | msg=Orion Context Broker is running

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[752]:versionInfo | msg=Version Info:

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[753]:versionInfo | msg=-----------------------------------------

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[754]:versionInfo | msg=orionld version: post-v1.1.0

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[755]:versionInfo | msg=based on orion: 1.15.0-next

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[756]:versionInfo | msg=git hash: nogitversion

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[757]:versionInfo | msg=build branch:

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[758]:versionInfo | msg=compiled by: root

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.627Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[759]:versionInfo | msg=compiled in:

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.627Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[760]:versionInfo | msg=-----------------------------------------

        fiware-orion | time=Friday 18 Nov 18:04:14 2022.633Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongocInit.cpp[290]:mongocInit | msg=Connecting to mongo for the C driver

        db-mongo | 2022-11-18T18:04:14.757+0000 I STORAGE [initandlisten] WiredTiger message [1668794654:757161][1:0x7f04f016fa40], txn-recover: Set global recovery timestamp: 0

        db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten]

        db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.

        db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.

        db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten]

        db-mongo | 2022-11-18T18:04:14.888+0000 I STORAGE [initandlisten] createCollection: admin.system.version with provided UUID: 38f8d2f4-c8f1-4fb9-a5ca-6fed8aef4a4a

        db-mongo | 2022-11-18T18:04:14.950+0000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 3.6

        db-mongo | 2022-11-18T18:04:14.952+0000 I STORAGE [initandlisten] createCollection: local.startup_log with generated UUID: 20a37a62-aff5-4eea-9063-c5c310e864ba

        db-mongo | 2022-11-18T18:04:15.014+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/https://urldefense.com/v3/__http://diagnostic.data__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LOd6wkSpQ$<https://urldefense.com/v3/__http:/diagnostic.data__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LOd6wkSpQ$>'

        db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] listening via socket bound to https://urldefense.com/v3/__http://0.0.0.0__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLLPbO5Q$<https://urldefense.com/v3/__http:/0.0.0.0__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLLPbO5Q$>

        db-mongo | 2022-11-18T18:04:15.015+0000 I STORAGE [LogicalSessionCacheRefresh] createCollection: config.system.sessions with generated UUID: 4892aceb-5a92-4719-a4f7-8eab7766f385

        db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] listening via socket bound to /tmp/mongodb-27017.sock

        db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] waiting for connections on port 27017

        db-mongo | 2022-11-18T18:04:15.103+0000 I INDEX [LogicalSessionCacheRefresh] build index on: config.system.sessions properties: { v: 2, key:

        { lastUse: 1 }

        , name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 }

        db-mongo | 2022-11-18T18:04:15.103+0000 I INDEX [LogicalSessionCacheRefresh] building index using bulk method; build may temporarily use up to 500 megabytes of RAM

        db-mongo | 2022-11-18T18:04:15.105+0000 I INDEX [LogicalSessionCacheRefresh] build index done. scanned 0 total records. 0 secs

        db-mongo | 2022-11-18T18:04:15.137+0000 I NETWORK [listener] connection accepted from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$<https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$>:42052 #1 (1 connection now open)

        db-mongo | 2022-11-18T18:04:15.138+0000 I NETWORK [conn1] received client metadata from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$<https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$>:42052 conn1: { application:

        { name: "orionld" }

        , driver:

        { name: "mongoc", version: "1.22.0" }

        , os:

        { type: "Linux", name: "Red Hat Enterprise Linux", version: "8.6", architecture: "x86_64" }

        , platform: "cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS="" LDFLAGS=""" }

        db-mongo | 2022-11-18T18:04:15.140+0000 I NETWORK [listener] connection accepted from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$<https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$>:42054 #2 (2 connections now open)

        db-mongo | 2022-11-18T18:04:15.140+0000 I NETWORK [conn2] received client metadata from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$<https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$>:42054 conn2: { application:

        { name: "orionld" }

        , driver:

        { name: "mongoc", version: "1.22.0" }

        , os:

        { type: "Linux", name: "Red Hat Enterprise Linux", version: "8.6", architecture: "x86_64" }

        , platform: "cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS="" LDFLAGS=""" }

        db-mongo | 2022-11-18T18:04:15.143+0000 I STORAGE [conn2] createCollection: orion.entities with generated UUID: 61d24e90-d293-479d-a6c0-a951777af163

        db-mongo | 2022-11-18T18:04:15.234+0000 I INDEX [conn2] build index on: orion.entities properties: { v: 2, key:

        { https://urldefense.com/v3/__http://_id.id__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLQCxwCQ$<https://urldefense.com/v3/__http:/_id.id__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLQCxwCQ$>: 1 }

        , name: "_id.id_1", ns: "orion.entities" }

        db-mongo | 2022-11-18T18:04:15.234+0000 I INDEX [conn2] building index using bulk method; build may temporarily use up to 500 megabytes of RAM

        db-mongo | 2022-11-18T18:04:15.236+0000 I INDEX [conn2] build index done. scanned 0 total records. 0 secs

        fiware-orion | time=Friday 18 Nov 18:04:20 2022.243Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[321]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28)

        fiware-orion | time=Friday 18 Nov 18:04:20 2022.244Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[329]:orionldRequestSend | msg=curl_easy_perform error 28

        fiware-orion | time=Friday 18 Nov 18:04:20 2022.244Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 1 out of 3. Timeout is: 5000ms): Internal CURL Error

        fiware-orion | time=Friday 18 Nov 18:04:25 2022.247Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[321]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28)

        fiware-orion | time=Friday 18 Nov 18:04:25 2022.248Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[329]:orionldRequestSend | msg=curl_easy_perform error 28

        fiware-orion | time=Friday 18 Nov 18:04:25 2022.249Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 2 out of 3. Timeout is: 5000ms): Internal CURL Error

        fiware-orion | time=Friday 18 Nov 18:04:30 2022.252Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[321]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28)

        fiware-orion | time=Friday 18 Nov 18:04:30 2022.253Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[329]:orionldRequestSend | msg=curl_easy_perform error 28

        fiware-orion | time=Friday 18 Nov 18:04:30 2022.253Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 3 out of 3. Timeout is: 5000ms): Internal CURL Error

        fiware-orion | time=Friday 18 Nov 18:04:30 2022.254Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextCacheInit.cpp[159]:orionldContextCacheInit | msg=Unable to download the core context (Unable to download context: https://urldefense.com/v3/__https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LN7GR-OYQ$<https://urldefense.com/v3/__https:/uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LN7GR-OYQ$>)

        db-mongo | 2022-11-18T18:04:30.259+0000 I NETWORK [conn2] end connection https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$<https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$>:42054 (1 connection now open)

        db-mongo | 2022-11-18T18:04:30.259+0000 I NETWORK [conn1] end connection https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$<https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$>:42052 (0 connections now open)

        fiware-orion exited with code 1

        Since it is a basic FIWARE application, directly taken from the GitHub example, in a FIWARE Lab VM, I supposed I should work. Can you please check if something changed in Vicenza, because all the ports I could open are opened from my side.

        [cid:image001.png@01D8FB81.78212260]

        Thanks in advance.

        Best,

        Alessandro

        Alessandro Rossi

        Senior Researcher and Project Manager

        Engineering Ingegneria Informatica spa

        Research and Development Laboratory

        Viale della Regione Siciliana N.O., 7275- 90146 Palermo

        Mob. +39-348.2954839

        Tel. +39-091.7511735

        http://www.eng.it<http://www.eng.it/<http://www.eng.it%3chttp:/www.eng.it/>>

        Show
        fw.ext.user FW External User added a comment - Dear José Ignacio, thank you so much for your kind and precious investigation, it worked like a charm! Also, in the meanwhile, I had installed Docker in a more canonical way, avoiding snap (that has many limitations as you perfectly observed) and adopting the longer but official method reported in the Docker website. Moreover, I have fixed Orion-LD to v1.1.1. (the latest stable, instead of a nightly build) and upgraded MongoDB to v4.4. No error any more, thanks to your MTU patch. I only noticed Orion-LD is in any case less robust than Orion v2, which is normal I think, considering its younger age. In particular, if some stack trace is fired (e.g., for an error in the format given for a subscription) it crashes at all, instead of skipping the operation and continuing working, as Orion v2 does. This is just a feedback I anticipated to Alberto (Abella) during a meeting, and promised to share with the technical team. On a total different topic, speaking about the projects we are carrying out together, Alberto suggested me also to investigate the possibility of upgrading the (now basic and limited) resources allocated to the VMs the Foundation kindly provided. I don’t know if I can take advantage of this email and your kindness to ask you who I can talk with for that, or if you can establish a communication channel with Vicenza2 responsible to see if there is room for an upgrade and is possible for the projects we are following. Thanks again for your support, and for any info you would share for my upgrade request. Best, Ale Da: Help-Desk <jira-help-desk@jira.fiware.org> Inviato: giovedì 15 dicembre 2022 13:37 A: Alessandro Rossi <alessandro.rossi@eng.it> Oggetto: [FIWARE-JIRA] ( HELP-20216 ) [Fiware-lab-help] FIWARE Lab not working Dear Alessandro, After testing I've realised that that's a problem with MTU – This is not a problem of docker or the underlying network configuration in the Virtual Server nor with the docker file in the example. Anyway, the solution is setting ZjQcmQRYFpfptBannerStart CAUTION: This email might originate from outside the organization. ZjQcmQRYFpfptBannerEnd Dear Alessandro, After testing I've realised that that's a problem with MTU – This is not a problem of docker or the underlying network configuration in the Virtual Server nor with the docker file in the example. Anyway, the solution is setting the MTU of your dockers to 1450 (the same that the network interface ens3). This can't be done modifying the /etc/docker/daemon.json because i) docker containers started with docker-compose doesn't inherit this network configuration and ii) I don't not sure that docker installed with snap uses this file since the installation with snap doesn't create /etc/docker. The solution which worked for me is adding a few lines to the docker-compose.yaml file to properly configure networking for Vicenza2 in the following way: ... networks: default: driver: bridge driver_opts: com.docker.network.driver.mtu: 1450 Regards, José Ignacio From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: ------------------------ Issue id: HELP-20216 Description: Dear all, I cannot start Orion LD with the Ubuntu VM in FIWARE Lab. I have created an Ubuntu 22.04 VM, associated the default Security Group + an "All TCP Ports" one, installed docker with "sudo snap install docker", created the following docker compose file (taken from https://urldefense.com/v3/__https://github.com/FIWARE/context.Orion-LD/blob/develop/doc/manuals-ld/installation-guide-docker.md__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNgF6dn5Q$ < https://urldefense.com/v3/__https:/github.com/FIWARE/context.Orion-LD/blob/develop/doc/manuals-ld/installation-guide-docker.md__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNgF6dn5Q$ >): version: "3" version: "3.5" services: Orion is the context broker orion: image: fiware/orion-ld hostname: orion container_name: fiware-orion depends_on: mongo-db expose: "1026" ports: "1026:1026" command: -dbhost mongo-db -logLevel DEBUG healthcheck: test: curl --fail -s https://urldefense.com/v3/__http://orion:1026/version__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNLL3lO3A$ < https://urldefense.com/v3/__http:/orion:1026/version__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LNLL3lO3A$ > || exit 1 Databases mongo-db: image: mongo:3.6 hostname: mongo-db container_name: db-mongo expose: "27017" ports: "27017:27017" command: --nojournal volumes: mongo-db:/data volumes: mongo-db: ~ But, unfortunately, when I start "sudo docker-compose up", Orion LD connects to MongoDB but then failed some internal CURL and exits: db-mongo | 2022-11-18T18:04:13.960+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=mongo-db db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] db version v3.6.23 db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] allocator: tcmalloc db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] modules: none db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] build environment: db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] distmod: ubuntu1604 db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] distarch: x86_64 db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] target_arch: x86_64 db-mongo | 2022-11-18T18:04:13.961+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true } , storage: { journal: { enabled: false } } } db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] ** See https://urldefense.com/v3/__http://dochub.mongodb.org/core/prodnotes-filesystem__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LMxYf_USw$ < https://urldefense.com/v3/__http:/dochub.mongodb.org/core/prodnotes-filesystem__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LMxYf_USw$ > db-mongo | 2022-11-18T18:04:13.961+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1449M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),,log=(enabled=false), fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=INFO | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [1052] :main | msg=Orion Context Broker is running fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [752] :versionInfo | msg=Version Info: fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [753] :versionInfo | msg=----------------------------------------- fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [754] :versionInfo | msg=orionld version: post-v1.1.0 fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [755] :versionInfo | msg=based on orion: 1.15.0-next fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [756] :versionInfo | msg=git hash: nogitversion fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [757] :versionInfo | msg=build branch: fiware-orion | time=Friday 18 Nov 18:04:14 2022.626Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [758] :versionInfo | msg=compiled by: root fiware-orion | time=Friday 18 Nov 18:04:14 2022.627Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [759] :versionInfo | msg=compiled in: fiware-orion | time=Friday 18 Nov 18:04:14 2022.627Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp [760] :versionInfo | msg=----------------------------------------- fiware-orion | time=Friday 18 Nov 18:04:14 2022.633Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongocInit.cpp [290] :mongocInit | msg=Connecting to mongo for the C driver db-mongo | 2022-11-18T18:04:14.757+0000 I STORAGE [initandlisten] WiredTiger message [1668794654:757161] [1:0x7f04f016fa40] , txn-recover: Set global recovery timestamp: 0 db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. db-mongo | 2022-11-18T18:04:14.886+0000 I CONTROL [initandlisten] db-mongo | 2022-11-18T18:04:14.888+0000 I STORAGE [initandlisten] createCollection: admin.system.version with provided UUID: 38f8d2f4-c8f1-4fb9-a5ca-6fed8aef4a4a db-mongo | 2022-11-18T18:04:14.950+0000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 3.6 db-mongo | 2022-11-18T18:04:14.952+0000 I STORAGE [initandlisten] createCollection: local.startup_log with generated UUID: 20a37a62-aff5-4eea-9063-c5c310e864ba db-mongo | 2022-11-18T18:04:15.014+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/ https://urldefense.com/v3/__http://diagnostic.data__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LOd6wkSpQ$ < https://urldefense.com/v3/__http:/diagnostic.data__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LOd6wkSpQ$ >' db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] listening via socket bound to https://urldefense.com/v3/__http://0.0.0.0__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLLPbO5Q$ < https://urldefense.com/v3/__http:/0.0.0.0__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLLPbO5Q$ > db-mongo | 2022-11-18T18:04:15.015+0000 I STORAGE [LogicalSessionCacheRefresh] createCollection: config.system.sessions with generated UUID: 4892aceb-5a92-4719-a4f7-8eab7766f385 db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] listening via socket bound to /tmp/mongodb-27017.sock db-mongo | 2022-11-18T18:04:15.015+0000 I NETWORK [initandlisten] waiting for connections on port 27017 db-mongo | 2022-11-18T18:04:15.103+0000 I INDEX [LogicalSessionCacheRefresh] build index on: config.system.sessions properties: { v: 2, key: { lastUse: 1 } , name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 } db-mongo | 2022-11-18T18:04:15.103+0000 I INDEX [LogicalSessionCacheRefresh] building index using bulk method; build may temporarily use up to 500 megabytes of RAM db-mongo | 2022-11-18T18:04:15.105+0000 I INDEX [LogicalSessionCacheRefresh] build index done. scanned 0 total records. 0 secs db-mongo | 2022-11-18T18:04:15.137+0000 I NETWORK [listener] connection accepted from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ < https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ >:42052 #1 (1 connection now open) db-mongo | 2022-11-18T18:04:15.138+0000 I NETWORK [conn1] received client metadata from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ < https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ >:42052 conn1: { application: { name: "orionld" } , driver: { name: "mongoc", version: "1.22.0" } , os: { type: "Linux", name: "Red Hat Enterprise Linux", version: "8.6", architecture: "x86_64" } , platform: "cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS="" LDFLAGS=""" } db-mongo | 2022-11-18T18:04:15.140+0000 I NETWORK [listener] connection accepted from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ < https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ >:42054 #2 (2 connections now open) db-mongo | 2022-11-18T18:04:15.140+0000 I NETWORK [conn2] received client metadata from https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ < https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ >:42054 conn2: { application: { name: "orionld" } , driver: { name: "mongoc", version: "1.22.0" } , os: { type: "Linux", name: "Red Hat Enterprise Linux", version: "8.6", architecture: "x86_64" } , platform: "cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS="" LDFLAGS=""" } db-mongo | 2022-11-18T18:04:15.143+0000 I STORAGE [conn2] createCollection: orion.entities with generated UUID: 61d24e90-d293-479d-a6c0-a951777af163 db-mongo | 2022-11-18T18:04:15.234+0000 I INDEX [conn2] build index on: orion.entities properties: { v: 2, key: { https://urldefense.com/v3/__http://_id.id__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLQCxwCQ$<https://urldefense.com/v3/__http:/_id.id__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPLQCxwCQ$>: 1 } , name: "_id.id_1", ns: "orion.entities" } db-mongo | 2022-11-18T18:04:15.234+0000 I INDEX [conn2] building index using bulk method; build may temporarily use up to 500 megabytes of RAM db-mongo | 2022-11-18T18:04:15.236+0000 I INDEX [conn2] build index done. scanned 0 total records. 0 secs fiware-orion | time=Friday 18 Nov 18:04:20 2022.243Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp [321] :orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28) fiware-orion | time=Friday 18 Nov 18:04:20 2022.244Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp [329] :orionldRequestSend | msg=curl_easy_perform error 28 fiware-orion | time=Friday 18 Nov 18:04:20 2022.244Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp [115] :orionldContextDownload | msg=orionldRequestSend failed (try number 1 out of 3. Timeout is: 5000ms): Internal CURL Error fiware-orion | time=Friday 18 Nov 18:04:25 2022.247Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp [321] :orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28) fiware-orion | time=Friday 18 Nov 18:04:25 2022.248Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp [329] :orionldRequestSend | msg=curl_easy_perform error 28 fiware-orion | time=Friday 18 Nov 18:04:25 2022.249Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp [115] :orionldContextDownload | msg=orionldRequestSend failed (try number 2 out of 3. Timeout is: 5000ms): Internal CURL Error fiware-orion | time=Friday 18 Nov 18:04:30 2022.252Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp [321] :orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 28) fiware-orion | time=Friday 18 Nov 18:04:30 2022.253Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp [329] :orionldRequestSend | msg=curl_easy_perform error 28 fiware-orion | time=Friday 18 Nov 18:04:30 2022.253Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp [115] :orionldContextDownload | msg=orionldRequestSend failed (try number 3 out of 3. Timeout is: 5000ms): Internal CURL Error fiware-orion | time=Friday 18 Nov 18:04:30 2022.254Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextCacheInit.cpp [159] :orionldContextCacheInit | msg=Unable to download the core context (Unable to download context: https://urldefense.com/v3/__https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LN7GR-OYQ$ < https://urldefense.com/v3/__https:/uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LN7GR-OYQ$ >) db-mongo | 2022-11-18T18:04:30.259+0000 I NETWORK [conn2] end connection https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ < https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ >:42054 (1 connection now open) db-mongo | 2022-11-18T18:04:30.259+0000 I NETWORK [conn1] end connection https://urldefense.com/v3/__http://172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ < https://urldefense.com/v3/__http:/172.19.0.3__;!!LQkDIss!VZk5hJyyQQGjNp5wnF-dMR2ahsiq8SXqxQznv6J1ZeZxsnxXMvW-zJybro2yQ-qVAhYQD3CiJBzCB5JOTwEDdSoi-LPHka8YkA$ >:42052 (0 connections now open) fiware-orion exited with code 1 Since it is a basic FIWARE application, directly taken from the GitHub example, in a FIWARE Lab VM, I supposed I should work. Can you please check if something changed in Vicenza, because all the ports I could open are opened from my side. [cid:image001.png@01D8FB81.78212260] Thanks in advance. Best, Alessandro Alessandro Rossi Senior Researcher and Project Manager Engineering Ingegneria Informatica spa Research and Development Laboratory Viale della Regione Siciliana N.O., 7275- 90146 Palermo Mob. +39-348.2954839 Tel. +39-091.7511735 http://www.eng.it < http://www.eng.it/ < http://www.eng.it%3chttp:/www.eng.it/ >>
        Hide
        jicg José Ignacio Carretero Guarde added a comment - - edited

        The solution which worked for me is adding a few lines to the docker-compose.yaml file to properly configure networking for Vicenza2 in the following way (sorry about changing "dots" for "blank spaces", I can't format this as it should be in a yaml file):

        [...]
        networks:
        ..default:
        ....driver: bridge
        ....driver_opts:
        ......com.docker.network.driver.mtu: 1450

        Show
        jicg José Ignacio Carretero Guarde added a comment - - edited The solution which worked for me is adding a few lines to the docker-compose.yaml file to properly configure networking for Vicenza2 in the following way (sorry about changing "dots" for "blank spaces", I can't format this as it should be in a yaml file): [...] networks: ..default: ....driver: bridge ....driver_opts: ......com.docker.network.driver.mtu: 1450

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: