changing client_manager.region_name has no affect

Bug #1669615 reported by Adrian Turjak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

Because of how openstackclient caches the various service clients, once a client is created for a given region, changing the region_name in the client manager does nothing if you want to ask for a new client for a different region.

As such the caching is silly for commands which may want to use the client_manager but need to switch regions in the course of the command operations.

With how keystoneauth1 handles sessions there is no longer any point in caching the clients. It is better to simply remove the cache, and just rebuild the clients fresh each time around the existing session.

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

Change abandoned by Adrian Turjak (<email address hidden>) on branch: master
Review: https://review.openstack.org/388232

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.