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

FIWARE.Request.Tech.Cloud.Docker.Docker.Error creating machine: Error detecting OS: OS type not recognized

    Details

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

      Description

      Docker on the FIWARE cloud
      Nikolas (Layered Prints)
      to:
      Kenneth Nagin
      18/03/2016 10:16 AM
      Hide Details
      From: "Nikolas (Layered Prints)" <nikolas@layeredprints.com>
      To: Kenneth Nagin/Haifa/IBM@IBMIL
      Security:
      To ensure privacy, images from remote sites were prevented from downloading. Show Images

      Hi Kenneth,

      I got your contact information from Pasquale Vitale. He said we can contact you with questions regarding docker on the FIWARE cloud. When we follow the instructions powerpoint we run into the following error when executing the docker-machine create ... command:

      Error creating machine: Error detecting OS: OS type not recognized

      Bellow are the exact commands we executed on our local environment and their corresponding output.

      export OS_REGION_NAME='Lannion2'
      export OS_TENANT_NAME='layered-prints cloud'
      export OS_USERNAME='info@layeredprints.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="docker" FIWARE-LANNION2
      > Running pre-create checks...
      > Creating machine...
      > (FIWARE-LANNION2) 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

      Note that we were not able to use the "Ubuntu Server 14.04.1 (x64)" image since this image is not (or not anymore) available in our region (Lannion2). Can you help us to resolve this issue? Thanks on advance.

      Kind regards,
      Nikolas

      Nikolas Taillieu
      Founder, 3D Printing Afficionado & Software Developer

      Mobile: +32 496 04 51 08

      Skype: nikolas.taillieu

      @LayeredPrints
      www.layeredprints.com
      www.makerbee.buzz

        Activity

        Hide
        knagin Kenneth Nagin added a comment -

        The issue has been emailed:

        • Time sent: 21/Mar/16 11:22 AM
        • To: nikolas@layeredprints.com
        • Cc: nagin@il.ibm.com
        • with subject: *(HELP-6186) FIWARE.Request.Tech.Docker.Error creating machine: Error detecting OS: OS type not recognized *

        Nikolas

        The image that you are using does not allow ssh to root.
        Try adding --openstack-ssh-user="ubuntu"

        --Ken

        Show
        knagin Kenneth Nagin added a comment - The issue has been emailed: Time sent: 21/Mar/16 11:22 AM To: nikolas@layeredprints.com Cc: nagin@il.ibm.com with subject: *( HELP-6186 ) FIWARE.Request.Tech.Docker.Error creating machine: Error detecting OS: OS type not recognized * Nikolas The image that you are using does not allow ssh to root. Try adding --openstack-ssh-user="ubuntu" --Ken
        Hide
        knagin Kenneth Nagin added a comment -

        The issue has been emailed:

        • Time sent: 28/Mar/16 10:22 AM
        • To: nikolas@layeredprints.com
        • Cc: nagin@il.ibm.com
        • with subject: *IWARE.Request.Tech.Docker.Error creating machine: Error detecting OS: OS type not recognized *

        Nikolas:

        Did my suggestion to add --openstack-ssh-user="ubuntu"
        fix your problem

        --Ken

        Show
        knagin Kenneth Nagin added a comment - The issue has been emailed: Time sent: 28/Mar/16 10:22 AM To: nikolas@layeredprints.com Cc: nagin@il.ibm.com with subject: *IWARE.Request.Tech.Docker.Error creating machine: Error detecting OS: OS type not recognized * Nikolas: Did my suggestion to add --openstack-ssh-user="ubuntu" fix your problem --Ken
        Hide
        fw.ext.user FW External User added a comment -

        Yes, it did! Thank you very much for you assistance.

        Nikolas Taillieu
        Founder, 3D Printing Afficionado & Software Developer

        Mobile: +32 496 04 51 08
        Skype: nikolas.taillieu

        @LayeredPrints
        www.layeredprints.com
        www.makerbee.buzz

        Show
        fw.ext.user FW External User added a comment - Yes, it did! Thank you very much for you assistance. ᐧ – Nikolas Taillieu Founder, 3D Printing Afficionado & Software Developer Mobile: +32 496 04 51 08 Skype: nikolas.taillieu @LayeredPrints www.layeredprints.com www.makerbee.buzz

          People

          • Assignee:
            knagin Kenneth Nagin
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: