Open stefanandres opened 4 years ago
I've found the rancher/machine/drivers to be up to date (unlike these) https://github.com/rancher/machine/tree/master/drivers/openstack
You can build it with this gist. https://gist.github.com/dhrp/0d5ff87c71b01231f6009d2293e95121
Hopefully we can also merge the improvements back upstream.
When using a OpenStack Cloud that only supports the /v3 keystone identity endpoint, docker-machine will fail with
client.go uses https://github.com/gophercloud/gophercloud/tree/master/openstack/identity/v2/tenants, but https://github.com/gophercloud/gophercloud/tree/master/openstack/identity/v3/projects should be used to get the project id.
See also https://specs.openstack.org/openstack/neutron-specs/specs/newton/moving-to-keystone-v3.html.
This happens even though I've set
openstack-auth-url
to the /v3 url, but this just isn't used for the code above.As a workaround, you can pass
--openstack-tenant-id
instead of--openstack-tenant-name
to docker-machine.