-
Notifications
You must be signed in to change notification settings - Fork 2k
possible bug in docker-machine openstack: calls v2 of API for tenants when given v3 auth? #3774
Comments
What is OS_AUTH_URL and/or OS_IDENTITY_API_VERSION here? |
Thanks. The OS_IDENTITY_API_VERSION is set to 3, and is specified in the openrc.sh file I linked in the above, |
Were you able to resolve this issue? I am having the same issue trying to create to a devstack installation. |
Having the same issue here. Any resolution?
Seems this issue has been Open for two years? Would love to use docker-machine with OS. |
It seems that several of the imports are for v2 support only machine/drivers/openstack/client.go Lines 16 to 25 in 61ef47d
v3 would be an awesome feature! |
I also have this issue. Moreover identity / keystone API v2 is now deprecated and no longuer available in rocky release and more. So since we upgraded docker-machine is no longuer usable. |
It would be great if someone can take a look on the #4755, which has to resolve this issue. |
Is there anybody who can look at kayrus's PR? This issue is preventing my team from giving rancher a real evaluation. |
When calling
docker-machine
using theopenstack
interface with V3 of the API, I get an unexpected error which seems to suggest thatdocker-machine
is callingv2
of the API for the tenants. Perhaps I'm doing something wrong in my call here, but given that thev2
appears to come out of nowhere I wonder if this is a bug?I'm calling against the openstack setup of the NSF Jetstream system; trying to debug with the devs there but think it might be a docker-machine issue?
After sourcing in my openrc.sh env vars appropriately, here's the
docker-machine
command I am using (with secure/personal variables replaced):docker-machine --debug create --driver openstack --openstack-flavor-id m1.tiny --openstack-image-id IMAGEIDHASH --openstack-keypair-name KEYPAIR --openstack-sec-groups default --openstack-tenant-name TENANTNAME --openstack-domain-name DOMAIN --openstack-private-key-file ~/.ssh/id_rsa --openstack-auth-url https://jblb.jetstream-cloud.org:XXXX/v3 testbed
Which gives the following:
I find it strange that the error message occurs on a call to
GET https://jblb.jetstream-cloud.org:XXXXX/v2.0/tenants
, surely this should be v3.0 instead? (Also confusing that it says earlier in the debug traceUsing API Version 1
, though perhaps that refers to something else?)The text was updated successfully, but these errors were encountered: