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.
Reviewed: https:/ /review. openstack. org/199595 /git.openstack. org/cgit/ openstack/ python- cinderclient/ commit/ ?id=8afc06c562a c8c189fae6ded7c c50f1b579f06c4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8afc06c562ac8c1 89fae6ded7cc50f 1b579f06c4
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 domain_ name and project_domain_id instead of project_ domain_ name and os_project_ domain_ id.
project_
os_
Closes-bug: 1472636 00349e794364a71 394feea99f1
Change-Id: Ifabb4a2aec070c