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 was archived by the owner on Jul 18, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Gophercloud supports the Openstack Identity v3 API, wich brings in a lot of new features. It has been the preferred API since Openstack Havana (2013), and the v2 API is somewhat deprecated.
In order to implement it correctly, there were some work to do in gophercloud to fix things in keystone v3 implementation. I have just submit this pull request rackspace/gophercloud#408
Then, the work in docker-machine is pretty easy, i'm on it.
@stenstad Can you test the PR #955 against your OpenStack domains ? It would be great in order to validate this work. From my part, i have tested it against a devstack installation.
@ggiamarchi Hi, sorry for answering so late. Identity seems to work now! I am still not able to actually launch a working VM yet, but I assume that is not related to the identity part.
A few things I have noticed:
There should be a check for more environment variables. Some of them are new and/or have changed names.
OS_TENANT_ID is now OS_PROJECT_ID.
OS_TENANT_NAME is now OS_PROJECT_NAME
OS_DOMAIN_NAME is not necesarily set, OS_PROJECT_DOMAIN_NAME and/or OS_USER_DOMAIN_NAME might be set instead.
@ggiamarchi Seems like Openstack Client has upgraded their docs regarding auth, explaining what is needed and used for v3 auth with regards to scoping:
@stenstad the current authentication method only supports domain scope authentication rather than project scope authentication. Is there a workaround about this, cause our platform only supports project scope authentication. thanks
@zhoutiekui Hi, I don't understand your problem. You scope to a project, not a domain. If you have not implemented domains in your Keystone setup, i.e. you basically use a Keystone v2 setup, just use the domain "default". Read the original blueprint here: https://blueprints.launchpad.net/keystone/+spec/default-domain
Activity
ggiamarchi commentedon Mar 2, 2015
+1
I can work on this one. I'll do a PR in a few days.
stenstad commentedon Mar 6, 2015
@ggiamarchi That's awesome, it's hard for us that use V3 domains. :-)
ggiamarchi commentedon Mar 31, 2015
In order to implement it correctly, there were some work to do in gophercloud to fix things in keystone v3 implementation. I have just submit this pull request rackspace/gophercloud#408
Then, the work in docker-machine is pretty easy, i'm on it.
Support Keystone v3 domains
Support Keystone v3 domains
ggiamarchi commentedon Apr 9, 2015
@stenstad Can you test the PR #955 against your OpenStack domains ? It would be great in order to validate this work. From my part, i have tested it against a devstack installation.
stenstad commentedon Apr 16, 2015
@ggiamarchi Hi, sorry for answering so late. Identity seems to work now! I am still not able to actually launch a working VM yet, but I assume that is not related to the identity part.
A few things I have noticed:
There should be a check for more environment variables. Some of them are new and/or have changed names.
OS_TENANT_ID is now OS_PROJECT_ID.
OS_TENANT_NAME is now OS_PROJECT_NAME
OS_DOMAIN_NAME is not necesarily set, OS_PROJECT_DOMAIN_NAME and/or OS_USER_DOMAIN_NAME might be set instead.
stenstad commentedon Apr 16, 2015
@ggiamarchi It works now! Awesome.
stenstad commentedon Apr 16, 2015
@ggiamarchi Actually, OS_DOMAIN_NAME is used for scoping to a domain and not a project/tenant. If it is defined python-openstackclient complains.
stenstad commentedon Apr 17, 2015
@ggiamarchi Seems like Openstack Client has upgraded their docs regarding auth, explaining what is needed and used for v3 auth with regards to scoping:
https://github.com/openstack/python-openstackclient/blob/master/doc/source/authentication.rst
Support Keystone v3 domains
zhoutiekui commentedon Apr 28, 2017
@stenstad the current authentication method only supports domain scope authentication rather than project scope authentication. Is there a workaround about this, cause our platform only supports project scope authentication. thanks
stenstad commentedon May 3, 2017
@zhoutiekui Hi, I don't understand your problem. You scope to a project, not a domain. If you have not implemented domains in your Keystone setup, i.e. you basically use a Keystone v2 setup, just use the domain "default". Read the original blueprint here: https://blueprints.launchpad.net/keystone/+spec/default-domain