Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Openstack Identity v3 support #679

Closed

Description

@stenstad

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.

http://gophercloud.io/docs/identity/v3/

Could you look into supporting the new auth mechanisms?

If you need access to an Openstack cloud with V3 API for testing I can arrange that.

We only support the v3 API since we are using domains and other related features.

For the Docker Machine use case, the v3 API is mostly used for acquiring a project scoped authtoken to talk to the nova, neutron etc. APIs.

Activity

  1. ggiamarchi commented on Mar 2, 2015

    @ggiamarchi
    Contributor

    +1

    I can work on this one. I'll do a PR in a few days.

  2. stenstad commented on Mar 6, 2015

    @stenstad
    Author

    @ggiamarchi That's awesome, it's hard for us that use V3 domains. :-)

  3. ggiamarchi commented on Mar 31, 2015

    @ggiamarchi
    Contributor

    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.

  4. added 2 commits that reference this issue on Apr 3, 2015
    4f6feb2
    edbdbd7
  5. ggiamarchi commented on Apr 9, 2015

    @ggiamarchi
    Contributor

    @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.

  6. stenstad commented on Apr 16, 2015

    @stenstad
    Author

    @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.

  7. stenstad commented on Apr 16, 2015

    @stenstad
    Author

    @ggiamarchi It works now! Awesome.

  8. stenstad commented on Apr 16, 2015

    @stenstad
    Author

    @ggiamarchi Actually, OS_DOMAIN_NAME is used for scoping to a domain and not a project/tenant. If it is defined python-openstackclient complains.

  9. stenstad commented on Apr 17, 2015

    @stenstad
    Author

    @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

  10. added a commit that references this issue on May 10, 2015
    e3e1d65
  11. zhoutiekui commented on Apr 28, 2017

    @zhoutiekui

    @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

  12. stenstad commented on May 3, 2017

    @stenstad
    Author

    @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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions