You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
i want to use docker-machine command in the openstack environement, the docker-machine --version give me docker-machine version 0.10.0, build 76ed2a6 , so i run this command : sudo docker-machine --debug create -d openstack --openstack-ssh-user ubuntu --openstack-auth-url http://controller:35357/v3 --openstack-image-name ubuntu --openstack-flavor-name m1.small --openstack-domain-name default --openstack-floatingip-pool public --openstack-net-name provider --openstack-username admin --openstack-password **** --openstack-tenant-name default master1
it give me this errors : Error creating machine: Error in driver during machine creation: Expected HTTP response code [201 202] when accessing [POST http://controller:35357/v3/auth/tokens], but got 401 instead {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
The text was updated successfully, but these errors were encountered:
For anyone else trying to get this working, if you set the --openstack-tenant-id rather than the --openstack-tenant-name it works. This is how I got it working.
I hit this bug, when configuring a node-template in rancher2 for OpenStack Cloud provider. When adding tenant-name, docker-machine falls back to keystone api v2.0, which does not work. When using tenant id, node template is ok and clusters are built.
To be precise:
in container from docker image rancher/rancher:stable 01aed40c0352
we have docker-machine version 0.15.0, build 1507ebc
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
i want to use docker-machine command in the openstack environement, the
docker-machine --version
give medocker-machine version 0.10.0, build 76ed2a6
, so i run this command :sudo docker-machine --debug create -d openstack --openstack-ssh-user ubuntu --openstack-auth-url http://controller:35357/v3 --openstack-image-name ubuntu --openstack-flavor-name m1.small --openstack-domain-name default --openstack-floatingip-pool public --openstack-net-name provider --openstack-username admin --openstack-password **** --openstack-tenant-name default master1
it give me this errors :
Error creating machine: Error in driver during machine creation: Expected HTTP response code [201 202] when accessing [POST http://controller:35357/v3/auth/tokens], but got 401 instead {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
The text was updated successfully, but these errors were encountered: