[Fiware-lab-help] Error 400 trying to create docker instance

Matteo Gavagnin matteo.gavagnin at dimension.it
Thu May 26 15:14:32 CEST 2016


Hello,
I’m using this command to setup a docker instance, but it fails:

docker-machine -D create -d openstack --openstack-flavor-id="2" --openstack-image-id="394fa439-3332-4cdc-ab11-9fa2af32510b" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="default" --openstack-ssh-user="ubuntu" FIWARE-TRENTO7

Those are the environment variables

export OS_REGION_NAME='Trento2'
export OS_TENANT_NAME='macteo cloud'
export OS_USERNAME='matteo.gavagnin at dimension.it'
export OS_PASSWORD='XXXXXX'
export OS_AUTH_URL='http://cloud.lab.fi-ware.org:4730/v2.0/'
export OS_AUTH_STRATEGY='keystone'

This the docker-machine log

Docker Machine Version:  0.7.0, build a650a40
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver openstack
Plugin server listening at address 127.0.0.1:54754
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver openstack
Plugin server listening at address 127.0.0.1:54758
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(FIWARE-TRENTO7) Calling .GetMachineName
(FIWARE-TRENTO7) Calling .DriverName
(FIWARE-TRENTO7) Calling .GetCreateFlags
(FIWARE-TRENTO7) Calling .SetConfigFromFlags
Running pre-create checks...
(FIWARE-TRENTO7) Calling .PreCreateCheck
(FIWARE-TRENTO7) Calling .GetConfigRaw
Creating machine...
(FIWARE-TRENTO7) Calling .Create
(FIWARE-TRENTO7) DBG | Authenticating... map[Insecure:false DomainID: DomainName: Username:matteo.gavagnin at dimension.it TenantName:macteo cloud TenantID: AuthUrl:http://cloud.lab.fi-ware.org:4730/v2.0/]
(FIWARE-TRENTO7) DBG | Found network id using its name map[Name:node-int-net-01 ID:6a58aba8-d643-46e8-9ca7-12e1bbaaa24b]
(FIWARE-TRENTO7) DBG | Found floating IP pool id using its name map[Name:public-ext-net-01 ID:0caba5e4-ce3e-4920-ba91-e832122be65a]
(FIWARE-TRENTO7) DBG | Found tenant id using its name map[Name:macteo cloud ID:0e57ccffe8b44e7faf0c401681c71845]
(FIWARE-TRENTO7) DBG | Creating Key Pair... map[Name:FIWARE-TRENTO7-539851fbad1006f16d5854d2c95fe22e165ff1660edf0875d4fdf75a660e1951]
(FIWARE-TRENTO7) DBG | Creating OpenStack instance... map[FlavorId:2 ImageId:394fa439-3332-4cdc-ab11-9fa2af32510b]
(FIWARE-TRENTO7) Creating machine...
Error creating machine: Error in driver during machine creation: Expected HTTP response code [201 202] when accessing [POST http://185.38.252.8:8774/v2/0e57ccffe8b44e7faf0c401681c71845/servers], but got 400 instead
{"badRequest": {"message": "Can not find requested image", "code": 400}}
Opting out of crash reporting.

Can you help me solve the issue?

Best regards,
Matteo Gavagnin
DIMENSION S.r.l.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160526/f3ed9024/attachment.html>


More information about the Fiware-lab-help mailing list

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