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

FIWARE.Request.Tech.Cloud.Docker.I: FIWARE Docker question

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
    • HD-Chapter:
      Cloud
    • HD-Enabler:
      Docker

      Description

      Hi,

      The following is a message received from the Slamby team regarding Docker, to be forwarded to the GE owner.

      Best regards,
      Marco

      Marco Terrinoni
      Consoft Sistemi s.p.a.
      BU Application
      Via Pio VII 127 - 10127 - Torino
      Tel (+39) 011 3161571
      Fax (+39) 011 3161583

      Da: Zsolt Illés zsolt.illes@slamby.com
      Inviato: giovedì 24 marzo 2016 16:02
      A: consoft-fiwarecoach@consoft.it
      Cc: Attila László <laszlo.attila@slamby.com>
      Oggetto: FIWARE Docker question

      Hello Marco,

      My name is Zsolt Illés and I'm a developer at Slamby and I need some help concerning instantiating Docker hosting in FIWARE. I was told that you can help me with that.

      I found a detailed presentation and a video that helped me a lot:
      http://www.slideshare.net/knagin/simple-docker-hosting-on-fiware-lab
      https://www.youtube.com/watch?v=XlNI1YyQ8x8

      I use Docker Toolbox on Windows to run Docker commands with the following environment variables and command:

      export OS_REGION_NAME='Spain2'
      export OS_TENANT_NAME='slamby cloud'
      export OS_USERNAME='it@slamby.com<it@slamby.com>'
      export OS_PASSWORD='********'
      export OS_AUTH_URL='http://cloud.lab.fi-ware.org:4730/v2.0/'
      export OS_AUTH_STRATEGY='keystone'

      docker-machine create -d openstack --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="default" docker-host-test

      And the result was:

      Running pre-create checks...
      Creating machine...
      (docker-host-test) Creating machine...
      Waiting for machine to be running, this may take a few minutes...
      Detecting operating system of created instance...
      Waiting for SSH to be available...
      Detecting the provisioner...
      Warning: got an invalid line error parsing /etc/os-release: Expected Please login as the user "ubuntu" rather than the user "root". to split by '=' char into two strings, instead got 1 strings
      Error creating machine: Error detecting OS: OS type not recognized

      The new virtual machine was created in FIWARE Cloud and running, but due to this error docker-machine could not get and store encryption keys (server-key.pem, server.pem, key.pem, cert.pem, ca.pem).
      Without these keys docker-machine cannot communicate with the host.
      I managed to install Ubuntu with Docker Engine by myself on another VM, but it would be nice if I could manage to create VM with Docker through FIWARE OpenStack.

      Can you help me with that?
      Thanks in advance.

      Best Regards,
      Zsolt Illés

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-ceedtech-coaching@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-ceedtech-coaching mailing list
      Fiware-ceedtech-coaching@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-ceedtech-coaching

        Issue Links

          Activity

          Hide
          consoft_coach Marco Terrinoni added a comment -

          Dear Kenneth,

          This is a request received from a CEED Tech team regarding Docker hosting.
          Are you able to provide a response or a suggestion?

          Thank you very much for your cooperation.

          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Dear Kenneth, This is a request received from a CEED Tech team regarding Docker hosting. Are you able to provide a response or a suggestion? Thank you very much for your cooperation. Best regards, Marco
          Hide
          knagin Kenneth Nagin added a comment -

          The issue has been emailed:

          • Time sent: 27/Mar/16 10:01 AM
          • To: zsolt.illes@slamby.com
          • Cc: nagin@il.ibm.com
          • with subject: *(HELP-6221) [Fiware-ceedtech-coaching] I: FIWARE Docker question *

          Zsolt Illés:
          The vm image that you are using does not support login to root.
          Add --openstack-ssh-user="ubuntu" when you launch docker-machine to create the docker host.

          -Ken

          Show
          knagin Kenneth Nagin added a comment - The issue has been emailed: Time sent: 27/Mar/16 10:01 AM To: zsolt.illes@slamby.com Cc: nagin@il.ibm.com with subject: *( HELP-6221 ) [Fiware-ceedtech-coaching] I: FIWARE Docker question * Zsolt Illés: The vm image that you are using does not support login to root. Add --openstack-ssh-user="ubuntu" when you launch docker-machine to create the docker host. -Ken
          Hide
          consoft_coach Marco Terrinoni added a comment -

          Good afternoon Kenneth,
          Thank you for your answer.
          If no reply is received from the user we can close this ticket.
          Thanks!
          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Good afternoon Kenneth, Thank you for your answer. If no reply is received from the user we can close this ticket. Thanks! Best regards, Marco
          Hide
          knagin Kenneth Nagin added a comment -

          The issue has been emailed:

          • Time sent: 29/Mar/16 8:05 AM
          • To: zsolt.illes@slamby.com
          • Cc: nagin@il.ibm.com
          • with subject: *(HELP-6221) [Fiware-ceedtech-coaching] I: FIWARE Docker question *

          Zsolt Illés:
          Did my suggestion to add --openstack-ssh-user="ubuntu" when you launch docker-machine to create the docker host solve your problem?

          -Ken

          Show
          knagin Kenneth Nagin added a comment - The issue has been emailed: Time sent: 29/Mar/16 8:05 AM To: zsolt.illes@slamby.com Cc: nagin@il.ibm.com with subject: *( HELP-6221 ) [Fiware-ceedtech-coaching] I: FIWARE Docker question * Zsolt Illés: Did my suggestion to add --openstack-ssh-user="ubuntu" when you launch docker-machine to create the docker host solve your problem? -Ken
          Hide
          fw.ext.user FW External User added a comment -

          Hi Ken,

          I'm sorry that I reply just now, we had national holiday yesterday so I
          checked minutes ago.
          Your suggestion worked just fine.
          Thank you for your help.

          Show
          fw.ext.user FW External User added a comment - Hi Ken, I'm sorry that I reply just now, we had national holiday yesterday so I checked minutes ago. Your suggestion worked just fine. Thank you for your help.

            People

            • Assignee:
              knagin Kenneth Nagin
              Reporter:
              consoft_coach Marco Terrinoni
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: