We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Problem with Docker and Openstack

asked 2016-03-04 14:47:29 +0100

Eddy gravatar image

Hi All,

I'd like to create a Docker machine on the Fiware Lab openstack. I'm following the steps presented in Simple docker hosting on fiware lab and in Installing Docker on FIWARE Cloud but all I get is:

$ docker-machine create -d openstack --openstack-flavor-id="2" --openstack-image-id="6af1fb50-f06f-4193-aa3c-3bf1b73974cb" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-sg" fiware-host
Running pre-create checks...
Creating machine...
Error creating machine: Error in driver during machine creation: Expected HTTP response code [200 203] when accessing [POST http://cloud.lab.fiware.org:4730/v2.0/tokens], but got 500 instead
{"error": {"message": "An unexpected error prevented the server from fulfilling your request.", "code": 500, "title": "Internal Server Error"}}

Has anyone had the same issues?

Best, Edoardo

edit retag flag offensive close merge delete


I noticed that the "Authentication URL" in the "Project Info" tab reads Is the documentation outdated? Do I need to configure docker-machine to use v3 authentication and pass a DomainID or DomainName parameter? (In which case, what are they?)

Eddy gravatar imageEddy ( 2016-03-04 15:08:21 +0100 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-03-04 16:30:19 +0100

Eddy gravatar image

Hi, I (we) figured out how to successfully use docker-macine with the Cloud Lab.

export OS_REGION_NAME='Spain2'
export OS_TENANT_NAME='your tenant name (see Project Info popup in Cloud dashboard)'
export OS_TENANT_ID='your tenant ID (see Project Info popup in Cloud dashboard)' 
export OS_USERNAME='your openstack username'
export OS_PASSWORD='your openstack password'
export OS_DOMAIN_NAME='default'
export OS_AUTH_URL='http://cloud.lab.fiware.org:4730/v2.0/'
export OS_AUTH_STRATEGY='keystone'

with the following command-line:

$ 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-sg" \
--openstack-ssh-user="ubuntu" \

Don't forget to configure the security group with all necessary ports.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2016-03-04 13:55:56 +0100

Seen: 3,640 times

Last updated: Mar 04 '16