[Fiware-creatifi-coaching] [CreatiFi Brussels Hub] General Support #434: Docker hosting access

Marc Palau marc.palau at i2cat.net
Fri Mar 4 09:20:22 CET 2016


Hi,

an applicant is trying to use Docker GE in Filab but he is facing many
problems. I told them to follow this guide
<http://www.slideshare.net/knagin/docker-hosting-on-fiware-lab>. Here is
his report:

We have a running docker with digital ocean, but when we tried to use
Fiware lab by follow the video with that slidedeck we run into error. Can
you help us out with the right approach to get a docker instance up and
running?

When using the following as per the slide:

$ docker-machine create -d openstack --openstack-flavor-id="2"
--openstack-image-id="3a39252a-ec91-4b7e-a33c-a49f9791712c"
--openstack-net-name="node-int-net-01"
--openstack-floatingip-pool="federation-ext-net-01"
--openstack-sec-groups="dd" backoffice-fiware
Running pre-create checks...
Creating machine...
Error creating machine: Error in driver during machine creation: You must
provide exactly one of DomainID or DomainName to authenticate by Username

When changing a random entry for DomainID like

export OS_DOMAIN_ID=admin_domain_id

We get:

$ docker-machine create -d openstack --openstack-flavor-id="2"
--openstack-image-id="3a39252a-ec91-4b7e-a33c-a49f9791712c"
--openstack-net-name="node-int-net-01"
--openstack-floatingip-pool="federation-ext-net-01"
--openstack-sec-groups="dd" backoffice-fiware
Running pre-create checks...
Creating machine...
Error creating machine: Error in driver during machine creation: Expected
HTTP response code [201 202] when accessing [POST
http://130.206.84.8:4730/v3/auth/tokens], but got 401 instead {"error":
{"message": "The request you have made requires authentication.", "code":
401, "title": "Unauthorized"}}

We used these ENV variables:

export OS_USERNAME=sander at display.direct
export OS_PASSWORD=fiware21
export OS_TENANT_NAME=displaydirect cloud
export OS_REGION_NAME=Spain2
export OS_AUTH_URL=http://130.206.84.8:4730/v3/

The .pem file is in ~/.docker/machine/certs/

OS_DOMAIN_ID on 'default' gives us:

Running pre-create checks...
Creating machine...
(backoffice-fiware) Creating machine...
Error creating machine: Error in driver during machine creation: Expected
HTTP response code [201 202] when accessing [POST
http://130.206.112.3:8774/v2/01a4e5ba6dab42278078b555791a4aa5/servers], but
got 400 instead {"badRequest": {"message": "Unable to find security_group
with name 'dd'", "code": 400}}
----
Marc Palau
i2CAT - Software Engineering Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-creatifi-coaching/attachments/20160304/a88a3c4c/attachment.html>


More information about the Fiware-creatifi-coaching mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy