Environment variables not set for Identity V3 on openrc

Bug #1387814 reported by Thiago Paiva Brito
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Daniel Gonzalez Nothnagel

Bug Description

For some operations on openstackclient, some environment variables are needed but not set on openrc, generating some erros on keystone such as:

ERROR: openstack Authentication failure: Expecting to find domain in project - the server could not comply with the requet since it is either malformed or otherwise incorrect. The client is assumed to be in error.

ERROR: openstack Authentication failure: Expecting to find domain in user - the server could not comply with the requet since it is either malformed or otherwise incorrect. The client is assumed to be in error.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/132083

Changed in devstack:
assignee: nobody → Thiago Paiva Brito (thiagop)
status: New → In Progress
Revision history for this message
Yuki Nishiwaki (uckey-1067) wrote :

Still. This problem has occurred.

Changed in devstack:
assignee: Thiago Paiva Brito (thiagop) → Paulo Ewerton (pauloewerton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to devstack (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/271508

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Thiago Paiva Brito (<email address hidden>) on branch: master
Review: https://review.openstack.org/132083
Reason: Abandonig on behalf of Paulo's already merged fix.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/300369

Changed in devstack:
assignee: Paulo Ewerton (pauloewerton) → Daniel Gonzalez Nothnagel (dgonzalez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/300369
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=336390f9b3691914f8aaf7a87867036fae35d8ba
Submitter: Jenkins
Branch: master

commit 336390f9b3691914f8aaf7a87867036fae35d8ba
Author: Daniel Gonzalez <email address hidden>
Date: Fri Apr 1 10:53:13 2016 +0200

    Set user/project domain ID when using keystone v3

    Change I24546f02067ea23d088d383b85e3a78d7b43f165 aimed to use
    keystone v3 as default in devstack. The change was later reverted in
    Ia792b23119c00089542ba08879dca1c29dc80945 because it broke some
    projects.
    This patch contains a small portion of the first change to set the
    environment variables $OS_USER_DOMAIN_ID and $OS_PROJECT_DOMAIN_ID in
    openrc, so that users don't have to set them manually when using
    keystone v3.

    Change-Id: Ie4c316d60590d55830d417f13817298dac70864f
    Partially-Implements: bp keystonev3
    Closes-Bug: 1387814

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.