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

FIWARE.Request.Tech.Cloud.Docker.fiware/cygnus-ngsi with FDCS

    Details

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

      Description

      Good morning,
      we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
      Essentially inside this agent.conf we define :

      cygnus-ngsi.sinks.mysql-sink.mysql_host =
      cygnus-ngsi.sinks.mysql-sink.mysql_port =
      cygnus-ngsi.sinks.mysql-sink.mysql_username =
      cygnus-ngsi.sinks.mysql-sink.mysql_password =
      cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

      For data persistence we are using the container Mysql defined into docker-compose.yml.

      Thnk you
      Best regards

      Nicola

      [Created via e-mail received from: nicola.prunella@terasrl.it]

        Activity

        Hide
        knagin Kenneth Nagin added a comment -

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        Show
        knagin Kenneth Nagin added a comment - Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken
        Hide
        frb Francisco Romero added a comment -

        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Show
        frb Francisco Romero added a comment - The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ).
        Hide
        knagin Kenneth Nagin added a comment -

        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        Show
        knagin Kenneth Nagin added a comment - Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken
        Hide
        knagin Kenneth Nagin added a comment -

        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Show
        knagin Kenneth Nagin added a comment - We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        thank you very much for your support. Next week I will test NFS and I will send you a report about this .

        Best regards

        Nico

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: venerdì 7 ottobre 2016 11:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi ken, thank you very much for your support. Next week I will test NFS and I will send you a report about this . Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: venerdì 7 ottobre 2016 11:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ?

        Moreover i don’t understand:
        1. how I can put on NFS my configuration file of flume Cygnus connector.
        2. tipically the use of fiware/cygns-ngsi image was:

        cygnus:
        image: fiware/cygnus-ngsi

        1. Port mapping: allow only access on local docker host
          ports:
        • "5050:5050"
          expose:
        • "5050"
        1. Use storage on host file system
          volumes:
        • /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf

        With the adption of NFS volume how I can use agent.conf?

        Thank you

        Best regards

        Nico
        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi ken, inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ? Moreover i don’t understand: 1. how I can put on NFS my configuration file of flume Cygnus connector. 2. tipically the use of fiware/cygns-ngsi image was: cygnus: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050:5050" expose: "5050" Use storage on host file system volumes: /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf With the adption of NFS volume how I can use agent.conf? Thank you Best regards Nico ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        knagin Kenneth Nagin added a comment -

        1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e.
        ports:

        • "5050"

        2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus:
        a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub.
        b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive.
        c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.

        Show
        knagin Kenneth Nagin added a comment - 1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e. ports: "5050" 2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus: a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub. b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive. c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :
        Hi Ken,
        i would like to implement point c) and then if can spilt into :

        c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf
        c2: mount to a container : ?
        c3: update the volume with your configuration data : ?
        c4: mount the nfs volume to your cygnus container:

        /orion$ cat docker-compose.yml
        version: '2'
        networks:
        front:
        driver: "overlay"
        volumes:
        cygnusconf:

        1. external: true
          driver: "nfs"
          services:
          image: fiware/cygnus-ngsi
        1. Port mapping: allow only access on local docker host
          ports:
        • "5050"
          expose:
        • "5050"
        1. Use storage volume
          networks:
        • front
          volumes:
        • cygnusconf: /opt/apache-flume/conf/agent.conf

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        Thank you

        Best regards

        Nico
        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: domenica 9 ottobre 2016 08:22
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 8:21 AM
        ------------------
        1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e.
        ports:

        • "5050"

        2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus:
        a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub.
        b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive.
        c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.

        FW External User - Friday 11:50 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ?

        Moreover i don’t understand:
        1. how I can put on NFS my configuration file of flume Cygnus connector.
        2. tipically the use of fiware/cygns-ngsi image was:

        cygnus:
        image: fiware/cygnus-ngsi

        1. Port mapping: allow only access on local docker host
          ports:
        • "5050:5050"
          expose:
        • "5050"
        1. Use storage on host file system
          volumes:
        • /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf

        With the adption of NFS volume how I can use agent.conf?

        Thank you

        Best regards

        Nico
        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        FW External User - Friday 11:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        thank you very much for your support. Next week I will test NFS and I will send you a report about this .

        Best regards

        Nico

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: venerdì 7 ottobre 2016 11:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Friday 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi Ken, i would like to implement point c) and then if can spilt into : c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf c2: mount to a container : ? c3: update the volume with your configuration data : ? c4: mount the nfs volume to your cygnus container: /orion$ cat docker-compose.yml version: '2' networks: front: driver: "overlay" volumes: cygnusconf: external: true driver: "nfs" services: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050" expose: "5050" Use storage volume networks: front volumes: cygnusconf: /opt/apache-flume/conf/agent.conf 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container Thank you Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: domenica 9 ottobre 2016 08:22 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 8:21 AM ------------------ 1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e. ports: "5050" 2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus: a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub. b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive. c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container. FW External User - Friday 11:50 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ? Moreover i don’t understand: 1. how I can put on NFS my configuration file of flume Cygnus connector. 2. tipically the use of fiware/cygns-ngsi image was: cygnus: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050:5050" expose: "5050" Use storage on host file system volumes: /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf With the adption of NFS volume how I can use agent.conf? Thank you Best regards Nico ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. FW External User - Friday 11:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, thank you very much for your support. Next week I will test NFS and I will send you a report about this . Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: venerdì 7 ottobre 2016 11:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Friday 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        knagin Kenneth Nagin added a comment -

        Nico:
        How are you doing with getting Cygnus configured?
        Can we close this issue?

        -Ken

        Show
        knagin Kenneth Nagin added a comment - Nico: How are you doing with getting Cygnus configured? Can we close this issue? -Ken
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :
        No, this issue can't be close, because:

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        i would like to implement point c) and then i can spilt it into :

        c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf
        c2: mount to a container : ?
        c3: update the volume with your configuration data : ?
        c4: mount the nfs volume to your cygnus container:

        /orion$ cat docker-compose.yml
        version: '2'
        networks:
        front:
        driver: "overlay"
        volumes:
        cygnusconf:

        1. external: true
          driver: "nfs"
          services:
          image: fiware/cygnus-ngsi
        1. Port mapping: allow only access on local docker host
          ports:
        • "5050"
          expose:
        • "5050"
        1. Use storage volume
          networks:
        • front
          volumes:
        • cygnusconf: /opt/apache-flume/conf/agent.conf

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        Thank you

        Best regards

        Nico
        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: martedì 11 ottobre 2016 10:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 10:07 AM
        ------------------
        Nico:
        How are you doing with getting Cygnus configured?
        Can we close this issue?

        -Ken

        FW External User - Yesterday 10:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi Ken,
        i would like to implement point c) and then if can spilt into :

        c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf
        c2: mount to a container : ?
        c3: update the volume with your configuration data : ?
        c4: mount the nfs volume to your cygnus container:

        /orion$ cat docker-compose.yml
        version: '2'
        networks:
        front:
        driver: "overlay"
        volumes:
        cygnusconf:

        1. external: true
          driver: "nfs"
          services:
          image: fiware/cygnus-ngsi
        1. Port mapping: allow only access on local docker host
          ports:
        • "5050"
          expose:
        • "5050"
        1. Use storage volume
          networks:
        • front
          volumes:
        • cygnusconf: /opt/apache-flume/conf/agent.conf

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        Thank you

        Best regards

        Nico
        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: domenica 9 ottobre 2016 08:22
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 8:21 AM
        ------------------
        1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e.
        ports:

        • "5050"

        2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus:
        a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub.
        b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive.
        c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.

        FW External User - Friday 11:50 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ?

        Moreover i don’t understand:
        1. how I can put on NFS my configuration file of flume Cygnus connector.
        2. tipically the use of fiware/cygns-ngsi image was:

        cygnus:
        image: fiware/cygnus-ngsi

        1. Port mapping: allow only access on local docker host
          ports:
        • "5050:5050"
          expose:
        • "5050"
        1. Use storage on host file system
          volumes:
        • /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf

        With the adption of NFS volume how I can use agent.conf?

        Thank you

        Best regards

        Nico
        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        FW External User - Friday 11:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        thank you very much for your support. Next week I will test NFS and I will send you a report about this .

        Best regards

        Nico

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: venerdì 7 ottobre 2016 11:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Friday 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Sunday 8:21 AM
        ------------------
        1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e.
        ports:

        • "5050"

        2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus:
        a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub.
        b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive.
        c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.

        FW External User - Friday 11:50 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ?

        Moreover i don’t understand:
        1. how I can put on NFS my configuration file of flume Cygnus connector.
        2. tipically the use of fiware/cygns-ngsi image was:

        cygnus:
        image: fiware/cygnus-ngsi

        1. Port mapping: allow only access on local docker host
          ports:
        • "5050:5050"
          expose:
        • "5050"
        1. Use storage on host file system
          volumes:
        • /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf

        With the adption of NFS volume how I can use agent.conf?

        Thank you

        Best regards

        Nico
        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        FW External User - Friday 11:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        thank you very much for your support. Next week I will test NFS and I will send you a report about this .

        Best regards

        Nico

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: venerdì 7 ottobre 2016 11:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Friday 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : No, this issue can't be close, because: 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container i would like to implement point c) and then i can spilt it into : c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf c2: mount to a container : ? c3: update the volume with your configuration data : ? c4: mount the nfs volume to your cygnus container: /orion$ cat docker-compose.yml version: '2' networks: front: driver: "overlay" volumes: cygnusconf: external: true driver: "nfs" services: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050" expose: "5050" Use storage volume networks: front volumes: cygnusconf: /opt/apache-flume/conf/agent.conf 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container Thank you Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: martedì 11 ottobre 2016 10:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 10:07 AM ------------------ Nico: How are you doing with getting Cygnus configured? Can we close this issue? -Ken FW External User - Yesterday 10:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi Ken, i would like to implement point c) and then if can spilt into : c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf c2: mount to a container : ? c3: update the volume with your configuration data : ? c4: mount the nfs volume to your cygnus container: /orion$ cat docker-compose.yml version: '2' networks: front: driver: "overlay" volumes: cygnusconf: external: true driver: "nfs" services: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050" expose: "5050" Use storage volume networks: front volumes: cygnusconf: /opt/apache-flume/conf/agent.conf 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container Thank you Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: domenica 9 ottobre 2016 08:22 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 8:21 AM ------------------ 1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e. ports: "5050" 2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus: a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub. b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive. c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container. FW External User - Friday 11:50 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ? Moreover i don’t understand: 1. how I can put on NFS my configuration file of flume Cygnus connector. 2. tipically the use of fiware/cygns-ngsi image was: cygnus: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050:5050" expose: "5050" Use storage on host file system volumes: /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf With the adption of NFS volume how I can use agent.conf? Thank you Best regards Nico ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. FW External User - Friday 11:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, thank you very much for your support. Next week I will test NFS and I will send you a report about this . Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: venerdì 7 ottobre 2016 11:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Friday 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Sunday 8:21 AM ------------------ 1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e. ports: "5050" 2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus: a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub. b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive. c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container. FW External User - Friday 11:50 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ? Moreover i don’t understand: 1. how I can put on NFS my configuration file of flume Cygnus connector. 2. tipically the use of fiware/cygns-ngsi image was: cygnus: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050:5050" expose: "5050" Use storage on host file system volumes: /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf With the adption of NFS volume how I can use agent.conf? Thank you Best regards Nico ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. FW External User - Friday 11:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, thank you very much for your support. Next week I will test NFS and I will send you a report about this . Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: venerdì 7 ottobre 2016 11:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Friday 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :

        In the meantime is from last week that i cannot login to fiware because my server certificate is expired and I haven't any response from help-desk about this new issue

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: martedì 11 ottobre 2016 10:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 10:07 AM
        ------------------
        Nico:
        How are you doing with getting Cygnus configured?
        Can we close this issue?

        -Ken

        FW External User - Yesterday 10:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi Ken,
        i would like to implement point c) and then if can spilt into :

        c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf
        c2: mount to a container : ?
        c3: update the volume with your configuration data : ?
        c4: mount the nfs volume to your cygnus container:

        /orion$ cat docker-compose.yml
        version: '2'
        networks:
        front:
        driver: "overlay"
        volumes:
        cygnusconf:

        1. external: true
          driver: "nfs"
          services:
          image: fiware/cygnus-ngsi
        1. Port mapping: allow only access on local docker host
          ports:
        • "5050"
          expose:
        • "5050"
        1. Use storage volume
          networks:
        • front
          volumes:
        • cygnusconf: /opt/apache-flume/conf/agent.conf

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        Thank you

        Best regards

        Nico
        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: domenica 9 ottobre 2016 08:22
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 8:21 AM
        ------------------
        1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e.
        ports:

        • "5050"

        2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus:
        a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub.
        b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive.
        c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.

        FW External User - Friday 11:50 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ?

        Moreover i don’t understand:
        1. how I can put on NFS my configuration file of flume Cygnus connector.
        2. tipically the use of fiware/cygns-ngsi image was:

        cygnus:
        image: fiware/cygnus-ngsi

        1. Port mapping: allow only access on local docker host
          ports:
        • "5050:5050"
          expose:
        • "5050"
        1. Use storage on host file system
          volumes:
        • /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf

        With the adption of NFS volume how I can use agent.conf?

        Thank you

        Best regards

        Nico
        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        FW External User - Friday 11:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        thank you very much for your support. Next week I will test NFS and I will send you a report about this .

        Best regards

        Nico

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: venerdì 7 ottobre 2016 11:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Friday 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Sunday 8:21 AM
        ------------------
        1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e.
        ports:

        • "5050"

        2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus:
        a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub.
        b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive.
        c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container.

        FW External User - Friday 11:50 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ?

        Moreover i don’t understand:
        1. how I can put on NFS my configuration file of flume Cygnus connector.
        2. tipically the use of fiware/cygns-ngsi image was:

        cygnus:
        image: fiware/cygnus-ngsi

        1. Port mapping: allow only access on local docker host
          ports:
        • "5050:5050"
          expose:
        • "5050"
        1. Use storage on host file system
          volumes:
        • /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf

        With the adption of NFS volume how I can use agent.conf?

        Thank you

        Best regards

        Nico
        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        FW External User - Friday 11:20 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        thank you very much for your support. Next week I will test NFS and I will send you a report about this .

        Best regards

        Nico

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@jira.fiware.org
        Inviato: venerdì 7 ottobre 2016 11:08
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Kenneth Nagin - Friday 11:07 AM
        ------------------
        We finally completed the upgrade. We now support user defined overlay networks and nfs volumes.
        Please see the docker-compose section of the user guide (http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html). Hopefully, the example is clear enough so that you can modify your docker-compose.yml.

        I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete.

        Kenneth Nagin - 29/Sep/16 4:20 PM
        ------------------
        Nico:
        We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed.

        As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you.

        Sorry about the inconvenience.

        --Ken

        FW External User - 29/Sep/16 9:37 AM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi,
        as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that:

        "
        host volume mounts

        The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected.

        Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled.
        "

        I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function.

        Thank you
        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 13:02
        A: nagin@il.ibm.com; nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        -------------------------------------------------------------------------------
        Francisco Romero created HELP-7360:
        --------------------------------------

        Summary: fiware/cygnus-ngsi with FDCS
        Key: HELP-7360
        URL: https://jira.fiware.org/browse/HELP-7360
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-TECH-HELP
        Reporter: FW External User
        Assignee: Francisco Romero

        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM

        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken
        ------------------

        This email was generated by the JIRA Email This Issue plugin (https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue) from www.meta-inf.hu (http://www.meta-inf.hu).

        FW External User - 28/Sep/16 1:15 PM
        ------------------
        Comment by nicola.prunella@terasrl.it :
        Hi ken,
        Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well.

        Thank you

        Best regards

        Nicola

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: mercoledì 28 settembre 2016 12:53
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-7360) fiware/cygnus-ngsi with FDCS

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Kenneth Nagin - Today 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: In Progress

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Francisco Romero - 28/Sep/16 1:01 PM
        ------------------
        The issue has been emailed:

        • Time sent: 28/Sep/16 1:01 PM
        • To: nagin@il.ibm.com,nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi,

        as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well:

        https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration

        Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose.

        Regards,
        Francisco

        Kenneth Nagin - 28/Sep/16 12:52 PM
        ------------------
        Nico:
        Please attach (or send me) your docker- compose.yml .
        I will take a look and see what needs to be done.

        --Ken

        ------------------------
        Issue id: HELP-7360
        Description:
        Good morning,
        we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf.
        Essentially inside this agent.conf we define :

        cygnus-ngsi.sinks.mysql-sink.mysql_host =
        cygnus-ngsi.sinks.mysql-sink.mysql_port =
        cygnus-ngsi.sinks.mysql-sink.mysql_username =
        cygnus-ngsi.sinks.mysql-sink.mysql_password =
        cygnus-ngsi.sinks.mysql-sink.attr_persistence = column

        For data persistence we are using the container Mysql defined into docker-compose.yml.

        Thnk you
        Best regards

        Nicola

        [Created via e-mail received from: nicola.prunella@terasrl.it]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Answered

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : In the meantime is from last week that i cannot login to fiware because my server certificate is expired and I haven't any response from help-desk about this new issue ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: martedì 11 ottobre 2016 10:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 10:07 AM ------------------ Nico: How are you doing with getting Cygnus configured? Can we close this issue? -Ken FW External User - Yesterday 10:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi Ken, i would like to implement point c) and then if can spilt into : c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf c2: mount to a container : ? c3: update the volume with your configuration data : ? c4: mount the nfs volume to your cygnus container: /orion$ cat docker-compose.yml version: '2' networks: front: driver: "overlay" volumes: cygnusconf: external: true driver: "nfs" services: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050" expose: "5050" Use storage volume networks: front volumes: cygnusconf: /opt/apache-flume/conf/agent.conf 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container Thank you Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: domenica 9 ottobre 2016 08:22 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 8:21 AM ------------------ 1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e. ports: "5050" 2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus: a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub. b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive. c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container. FW External User - Friday 11:50 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ? Moreover i don’t understand: 1. how I can put on NFS my configuration file of flume Cygnus connector. 2. tipically the use of fiware/cygns-ngsi image was: cygnus: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050:5050" expose: "5050" Use storage on host file system volumes: /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf With the adption of NFS volume how I can use agent.conf? Thank you Best regards Nico ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. FW External User - Friday 11:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, thank you very much for your support. Next week I will test NFS and I will send you a report about this . Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: venerdì 7 ottobre 2016 11:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Friday 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Sunday 8:21 AM ------------------ 1) FDCS does not support specify the host port (5050) rather you should use automatic host port mapping, i.e. ports: "5050" 2) FDCS does not support mounting of a docker host to your container. You have a few options to configure cygnus: a) Use a pre-configured cygnus image that is published on docker hub. I none exists create your own locally and then push to docker hub. b) In your cygnus container command tag: fetch the required configuration files from the internet, e.g. google drive. c) create a user defined nfs volume. mount to a container. update the volume with your configuration data. mount the nfs volume to your cygnus container. FW External User - Friday 11:50 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, inside http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html maybe the "port 1026 is mapped to the docoker-host-3's port 32768" is "port 1026 is mapped to the docoker-host-3's port 32769" ? Moreover i don’t understand: 1. how I can put on NFS my configuration file of flume Cygnus connector. 2. tipically the use of fiware/cygns-ngsi image was: cygnus: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050:5050" expose: "5050" Use storage on host file system volumes: /home/lprunella/fiware-cygnus/agent.conf:/opt/apache-flume/conf/agent.conf With the adption of NFS volume how I can use agent.conf? Thank you Best regards Nico ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. FW External User - Friday 11:20 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, thank you very much for your support. Next week I will test NFS and I will send you a report about this . Best regards Nico ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@jira.fiware.org Inviato: venerdì 7 ottobre 2016 11:08 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Kenneth Nagin - Friday 11:07 AM ------------------ We finally completed the upgrade. We now support user defined overlay networks and nfs volumes. Please see the docker-compose section of the user guide ( http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/docker-compose/index.html ). Hopefully, the example is clear enough so that you can modify your docker-compose.yml. I will update the rest of the user guide to reflect the overlay and nfs support and notify you when it is complete. Kenneth Nagin - 29/Sep/16 4:20 PM ------------------ Nico: We discovered a problem in our nfs volume support. Since your yml is using the user defined volumes I think it is best to wait until this is fixed. As part of our verification process I will use your yml. If any changes are required in the yml I will share it with you. Sorry about the inconvenience. --Ken FW External User - 29/Sep/16 9:37 AM ------------------ Comment by nicola.prunella@terasrl.it : Hi, as regards to http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/user-guide/index.html i have read that: " host volume mounts The docker create container command may mount a host volume with it's -v or --volume flags. However, FDCS does not allow this, since the user can not have direct access to FDCS's docker hosts. Thus a command that attempts to mount a host volume in the -v or --volume flags is rejected. Typically host volume mounts are used to configure a container from files in the host file system. We have seen that most container configurations can be resolved with environment variables and/or using commands, like wget, to fetch the configuration data from an internet repository. Another solution is to create a custom image locally and push it to docker hub from where it can be pulled. " I think that the best solution would be using "wget" inside Cygnus-entrypoint, infact I have rebuilded fiware/Cygnus-ngsi including wget but this project rebuilded doesn't function. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 13:02 A: nagin@il.ibm.com; nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco ------------------------------------------------------------------------------- Francisco Romero created HELP-7360 : -------------------------------------- Summary: fiware/cygnus-ngsi with FDCS Key: HELP-7360 URL: https://jira.fiware.org/browse/HELP-7360 Project: Help-Desk Issue Type: extRequest Components: FIWARE-TECH-HELP Reporter: FW External User Assignee: Francisco Romero Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------ – This email was generated by the JIRA Email This Issue plugin ( https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue ) from www.meta-inf.hu ( http://www.meta-inf.hu ). FW External User - 28/Sep/16 1:15 PM ------------------ Comment by nicola.prunella@terasrl.it : Hi ken, Just for your knowledge i have also tested docker-compose.yml without cygnus-ngsi and all is going very well. Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: mercoledì 28 settembre 2016 12:53 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-7360 ) fiware/cygnus-ngsi with FDCS From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Kenneth Nagin - Today 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: In Progress --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk. Francisco Romero - 28/Sep/16 1:01 PM ------------------ The issue has been emailed: Time sent: 28/Sep/16 1:01 PM To: nagin@il.ibm.com,nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi, as said in the Docker documentation regarding cygnus-ngsi, the default configuration of the image is tied to certain values that must be changed. The documentation propose several ways of changing those values as well: https://github.com/telefonicaid/fiware-cygnus/tree/master/docker/cygnus-ngsi#using-a-specific-configuration Of course, you'll need to put the host, port, username and password regarding the MySQL docker you are using in your compose. Regards, Francisco Kenneth Nagin - 28/Sep/16 12:52 PM ------------------ Nico: Please attach (or send me) your docker- compose.yml . I will take a look and see what needs to be done. --Ken ------------------------ Issue id: HELP-7360 Description: Good morning, we would like to include fiware/cgnus-ngsi into our FDCS infrastructure ( this include Orion, Mysql,Mongodb,Iotagents) with our agent.conf. Essentially inside this agent.conf we define : cygnus-ngsi.sinks.mysql-sink.mysql_host = cygnus-ngsi.sinks.mysql-sink.mysql_port = cygnus-ngsi.sinks.mysql-sink.mysql_username = cygnus-ngsi.sinks.mysql-sink.mysql_password = cygnus-ngsi.sinks.mysql-sink.attr_persistence = column For data persistence we are using the container Mysql defined into docker-compose.yml. Thnk you Best regards Nicola [Created via e-mail received from: nicola.prunella@terasrl.it] FIWARE Chapter: FIWARE GEri: Status: Answered --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        frb Francisco Romero added a comment -

        The issue has been emailed:

        • Time sent: 13/Oct/16 8:30 AM
        • To: nicola.prunella@terasrl.it
        • with subject: *(HELP-7360) fiware/cygnus-ngsi with FDCS *

        Hi Nicola,

        I've developed the Cygnus component and I only know about the Cygnus (NGSI)'s Dockerfile. I don't know nothing about the Docker compose you are talking about, I think it is something specific from "FDCS" (which, again, I don't really know what it is ).

        Being said that, one of the ways you can use a local version of the configuration is through volumes. Using a single container (not a compose), this is done this way:

        $ docker run -v /absolute/path/to/local/agent.conf:/opt/apache-flume/conf/agent.conf cygnus-ngsi

        Using a compose is quite similar; under the Cygnus component you should have some like:

        cygnus:
        volumes:

        • /absolute/path/to/local/agent.conf:/opt/apache-flume/conf/agent.conf cygnus-ngsi

        Hope this can help you.

        Regards,
        Francisco

        FW External User added a comment - 2 days ago

        Comment by nicola.prunella@terasrl.it :
        No, this issue can't be close, because:

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        i would like to implement point c) and then i can spilt it into :

        c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf
        c2: mount to a container : ?
        c3: update the volume with your configuration data : ?
        c4: mount the nfs volume to your cygnus container:

        /orion$ cat docker-compose.yml
        version: '2'
        networks:
        front:
        driver: "overlay"
        volumes:
        cygnusconf:

        external: true
        driver: "nfs"
        services:
        image: fiware/cygnus-ngsi

        Port mapping: allow only access on local docker host
        ports:

        "5050"
        expose:
        "5050"

        Use storage volume
        networks:

        front
        volumes:
        cygnusconf: /opt/apache-flume/conf/agent.conf

        1. I don't know how I can update the volume with my configuration file agent.conf
        2. I don't know how I can reference the data inside the volume from the container

        Thank you

        Best regards

        Nico

        Show
        frb Francisco Romero added a comment - The issue has been emailed: Time sent: 13/Oct/16 8:30 AM To: nicola.prunella@terasrl.it with subject: *( HELP-7360 ) fiware/cygnus-ngsi with FDCS * Hi Nicola, I've developed the Cygnus component and I only know about the Cygnus (NGSI)'s Dockerfile. I don't know nothing about the Docker compose you are talking about, I think it is something specific from "FDCS" (which, again, I don't really know what it is ). Being said that, one of the ways you can use a local version of the configuration is through volumes. Using a single container (not a compose), this is done this way: $ docker run -v /absolute/path/to/local/agent.conf:/opt/apache-flume/conf/agent.conf cygnus-ngsi Using a compose is quite similar; under the Cygnus component you should have some like: cygnus: volumes: /absolute/path/to/local/agent.conf:/opt/apache-flume/conf/agent.conf cygnus-ngsi Hope this can help you. Regards, Francisco FW External User added a comment - 2 days ago Comment by nicola.prunella@terasrl.it : No, this issue can't be close, because: 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container i would like to implement point c) and then i can spilt it into : c1:create a user defined nfs volume : docker volume create -d nfs --name cygnusconf c2: mount to a container : ? c3: update the volume with your configuration data : ? c4: mount the nfs volume to your cygnus container: /orion$ cat docker-compose.yml version: '2' networks: front: driver: "overlay" volumes: cygnusconf: external: true driver: "nfs" services: image: fiware/cygnus-ngsi Port mapping: allow only access on local docker host ports: "5050" expose: "5050" Use storage volume networks: front volumes: cygnusconf: /opt/apache-flume/conf/agent.conf 1. I don't know how I can update the volume with my configuration file agent.conf 2. I don't know how I can reference the data inside the volume from the container Thank you Best regards Nico
        Hide
        knagin Kenneth Nagin added a comment -

        Yes, cygnus-ngsi docker can be configured through environment variables. This is something you’ll have to do within your docker compose. For instance, this has been taken from a docker compose used at Telefónica:

        cygnus:
        container_name: iot-cygnus
        hostname: iot-cygnus
        image: telefonicaiot/fiware-cygnus:latest
        links:

        • iot-mysql
        • iot-mongo
          ports:
        • "127.0.0.1:5050:5050"
        • "127.0.0.1:5051:8081"
          environment:
          CYGNUS_LOG_APPENDER: LOGFILE
          CYGNUS_MYSQL_USER: root
          CYGNUS_MYSQL_PASS: iotonpremise
          CYGNUS_MONGO_USER:
          CYGNUS_MONGO_PASS:
          log_opt:
          max-size: "250m"

        As you can see, there are several environment variables that can be configured. You have the full list of variables at the documentation:
        http://fiware-cygnus.readthedocs.io/en/latest/cygnus-ngsi/installation_and_administration_guide/install_with_docker/index.html#section3.2

        Alternatively, you can use volumes, i.e. mapping a local configuration file and the container configuration file. Volumes can be specified within a compose as well. Something like:

        Cygnus:
        Volumnes:

        • /absolute/path/to/local/agent.conf:/opt/apache-flume/conf/agent.conf cygnus-ngsi

        Hope this helps.

        Best regards,
        Francisco

        Show
        knagin Kenneth Nagin added a comment - Yes, cygnus-ngsi docker can be configured through environment variables. This is something you’ll have to do within your docker compose. For instance, this has been taken from a docker compose used at Telefónica: cygnus: container_name: iot-cygnus hostname: iot-cygnus image: telefonicaiot/fiware-cygnus:latest links: iot-mysql iot-mongo ports: "127.0.0.1:5050:5050" "127.0.0.1:5051:8081" environment: CYGNUS_LOG_APPENDER: LOGFILE CYGNUS_MYSQL_USER: root CYGNUS_MYSQL_PASS: iotonpremise CYGNUS_MONGO_USER: CYGNUS_MONGO_PASS: log_opt: max-size: "250m" As you can see, there are several environment variables that can be configured. You have the full list of variables at the documentation: http://fiware-cygnus.readthedocs.io/en/latest/cygnus-ngsi/installation_and_administration_guide/install_with_docker/index.html#section3.2 Alternatively, you can use volumes, i.e. mapping a local configuration file and the container configuration file. Volumes can be specified within a compose as well. Something like: Cygnus: Volumnes: /absolute/path/to/local/agent.conf:/opt/apache-flume/conf/agent.conf cygnus-ngsi Hope this helps. Best regards, Francisco
        Hide
        knagin Kenneth Nagin added a comment - - edited

        Nico:
        Please try configuring the cynus using environment variables.

        Ken

        Show
        knagin Kenneth Nagin added a comment - - edited Nico: Please try configuring the cynus using environment variables. Ken

          People

          • Assignee:
            knagin Kenneth Nagin
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: