cinderclient does not honor --os-region-name or ENV[OS_REGION_NAME]

Bug #1467628 reported by Scott DAngelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
Scott DAngelo

Bug Description

Fix is:
diff --git a/cinderclient/shell.py b/cinderclient/shell.py
index 4041c64..f5b712f 100644
--- a/cinderclient/shell.py
+++ b/cinderclient/shell.py
@@ -705,6 +705,7 @@ class OpenStackCinderShell(object):
                 endpoint = keystone_adapter.get_endpoint(
                     service_type=service_type,
                     version=version,
+ region_name=os_region_name,
                     interface=endpoint_type)

                 # Service was found, but wrong version. Lets try a different

Changed in python-cinderclient:
assignee: nobody → Scott DAngelo (scott-dangelo)
Changed in python-cinderclient:
status: New → In Progress
summary: - cinderclient does not honor --os-region-name
+ cinderclient does not honor --os-region-name or ENV[OS_REGION_NAME]
Revision history for this message
Scott DAngelo (scott-dangelo) wrote :

A patch has been submitted. I'm not sure why launchpad didn't pick it up:
cinderclient does not honor --os-region-name or ENV[OS_REGION_NAME]

When we use version discovery, we must pass in os-region-name for it
to work.

Change-Id: I82765f7a899d84283dd3a3672f6e151805c1c6fa
Fixes: bug 1467628

Changed in python-cinderclient:
status: In Progress → Fix Committed
Mike Perez (thingee)
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.