Uploaded image for project: 'FIWARE LAB Support'
  1. FIWARE LAB Support
  2. FIL-59

docker-machine does not work with Ubuntu and CentOS base images

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When trying to use docker-machine to deploy docker containers in FIWARE Labs, with all CentOS and Ubuntu base images I get always the same error (tested with docker-machine 0.3 and 0.5):

      Ubuntu 12.04 (6af1fb50-f06f-4193-aa3c-3bf1b73974cb):
      WARNING >>> 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

      CentOS 7 (d049ae19-0409-4874-85e4-55a2319fbed2):
      Error creating machine: Error parsing /etc/os-release file: Expected Please login as the user "centos" rather than the user "root". to split by '=' char into two strings, instead got 1 strings

      It was working in the past with the now removed image 14.04 ( Ubuntu Server 14.04.1 (x64)) as reported in: https://jira.fiware.org/browse/FIL-54

        Issue Links

          Activity

          Hide
          jicg José Ignacio Carretero Guarde added a comment -

          The issue has been emailed:

          • Time sent: 26/Nov/15 11:02 AM
          • To: *acs@bitergia.com *
          • Cc: *fernando.lopezaguilar@telefonica.com,joseignacio.carreteroguarde@telefonica.com,miguel.carrillopacheco@telefonica.com *
          • with subject: *(FIL-59) docker-machine does not work with Ubuntu and CentOS base images *

          Dear Alvaro,

          The images work perfectly with docker-machines. Please try using the parameter --openstack-ssh-user (ubuntu|centos), depending on the OS you are using.

          root user can't be used anymore as ssh user

          Regards,
          José Ignacio.

          Show
          jicg José Ignacio Carretero Guarde added a comment - The issue has been emailed: Time sent: 26/Nov/15 11:02 AM To: *acs@bitergia.com * Cc: *fernando.lopezaguilar@telefonica.com,joseignacio.carreteroguarde@telefonica.com,miguel.carrillopacheco@telefonica.com * with subject: *( FIL-59 ) docker-machine does not work with Ubuntu and CentOS base images * Dear Alvaro, The images work perfectly with docker-machines. Please try using the parameter --openstack-ssh-user (ubuntu|centos), depending on the OS you are using. root user can't be used anymore as ssh user Regards, José Ignacio.
          Hide
          jicg José Ignacio Carretero Guarde added a comment -

          Documentation on Docker Machine Openstack driver: https://docs.docker.com/machine/drivers/openstack/

          Show
          jicg José Ignacio Carretero Guarde added a comment - Documentation on Docker Machine Openstack driver: https://docs.docker.com/machine/drivers/openstack/
          Hide
          acs Alvaro del Castillo added a comment -

          Thank you! In the past we don't need the --openstack-ssh-user param is this was the issue.

          It is working with the CentOS 7 image. With Ubuntu 12.10 it fails with:

          Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (5) exceeded

          But we can continue using this CentOS 7.

          Thank you!

          Show
          acs Alvaro del Castillo added a comment - Thank you! In the past we don't need the --openstack-ssh-user param is this was the issue. It is working with the CentOS 7 image. With Ubuntu 12.10 it fails with: Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (5) exceeded But we can continue using this CentOS 7. Thank you!

            People

            • Assignee:
              jicg José Ignacio Carretero Guarde
              Reporter:
              acs Alvaro del Castillo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: