cinderclient ignores CINDER_SERVICE_NAME

Bug #1486256 reported by Derrick Wippler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
Derrick Wippler

Bug Description

When CINDER_SERVICE_NAME is set in the environment cinderclient ignores the service name when choosing an endpoint. The Code reveals cinderclient is not passing self.service_name to self.service_catalog.url_for() near line 334 in client.py

I'll submit a patch for review shortly.

Revision history for this message
Cory Stone (corystone) wrote :

This was introduced when switching to the keystoneclient service_catalog code. For some reason they stopped passing in all the necessary arguments.

See commit: 1b0ea876 which was trying to fix bug #1263876

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

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

Changed in python-cinderclient:
assignee: nobody → Derrick Wippler (thrawn01)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/214802
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=e8274fa57df3a833f8e46be2e9a6feff366e4b5c
Submitter: Jenkins
Branch: master

commit e8274fa57df3a833f8e46be2e9a6feff366e4b5c
Author: Derrick J. Wippler <email address hidden>
Date: Wed Aug 19 15:48:27 2015 -0500

    No longer ignores CINDER_SERVICE_NAME

    Cinderclient now utilizes the CINDER_SERVICE_NAME when deciding what
    endpoint to choose.

    Closes-Bug: #1486256
    Change-Id: I494a34afe5799e7832b1359b9c24c31ead68b6d1
    UpgradeImpact: Existing configurations may select a different endpoint
    after this patch.

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.5.0
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-cinderclient 1.5.0

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

Changed in python-cinderclient:
status: Fix Committed → 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.