Cannot use cinderclient with keystone v3 and OS_TENANT_NAME unset

Bug #1472636 reported by Ian Cordasco
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
Ian Cordasco
Nominated for Kilo by Ian Cordasco

Bug Description

Cinderclient will error early if no environment variable is set for OS_TENANT_NAME. With it set, you can use Keystone v3 for authentication but the environment variable is meaningless for Keystone v3.

Ian Cordasco (icordasc)
Changed in python-cinderclient:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Ian Cordasco (icordasc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Submitter: Jenkins
Branch: master

commit 8afc06c562ac8c189fae6ded7cc50f1b579f06c4
Author: Ian Cordasco <email address hidden>
Date: Wed Jul 8 09:37:07 2015 -0500

    Remove unnecessary check for tenant information

    Keystone v3 has changed the name of tenants to projects which means that
    OS_TENANT_NAME is meaningless in a cloud where v3 is the default
    authentication version. As such, if a user does not have OS_TENANT_NAME
    enabled, cinderclient will not work even though it has checks for v3
    immediately below this check (and the same check replicated further
    below that). Removing this allows cinderclient to work with Keystone v3
    without setting OS_TENANT_NAME unnecessarily.

    Further, the check for project information was incorrectly referring to
    project_domain_name and project_domain_id instead of
    os_project_domain_name and os_project_domain_id.

    Closes-bug: 1472636
    Change-Id: Ifabb4a2aec070c00349e794364a71394feea99f1

Changed in python-cinderclient:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (stable/kilo)

Fix proposed to branch: stable/kilo

Changed in python-cinderclient:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-cinderclient (stable/kilo)

Change abandoned by Ian Cordasco (<email address hidden>) on branch: stable/kilo
Reason: Kilo is only accepting security fixes at this point.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 1.4.0

This issue was fixed in the openstack/python-cinderclient 1.4.0 release.

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.