LanderOtto opened a new issue #1659:
URL: https://github.com/apache/libcloud/issues/1659


   
   I am using Openstack with Application Credential. 
   Running a simple code like this
   
   ```python
   Driver = get_driver(Provider.OPENSTACK)
   conn = Driver(ID, SECRET, ex_force_auth_url=ADDRESS, ex_force_auth_version= 
'3.x_appcred')
   print(conn.list_images())
   ```
   
   libcloud throws this exception
   ```
   Traceback (most recent call last):
     File "test.py", line 17, in <module>
       list_images = conn.list_images()
     File 
"/usr/local/lib/python3.8/dist-packages/libcloud/compute/drivers/openstack.py", 
line 438, in list_images
       self.connection.request('/images/detail').object, ex_only_active)
     File 
"/usr/local/lib/python3.8/dist-packages/libcloud/common/openstack.py", line 
245, in request
       return super().request(action=action, params=params, data=data,
     File "/usr/local/lib/python3.8/dist-packages/libcloud/common/base.py", 
line 567, in request
       action = self.morph_action_hook(action)
     File 
"/usr/local/lib/python3.8/dist-packages/libcloud/common/openstack.py", line 
319, in morph_action_hook
       self._populate_hosts_and_request_paths()
     File 
"/usr/local/lib/python3.8/dist-packages/libcloud/common/openstack.py", line 
332, in _populate_hosts_and_request_paths
       osa = self.get_auth_class()
     File 
"/usr/local/lib/python3.8/dist-packages/libcloud/common/openstack.py", line 
220, in get_auth_class
       self._osa = cls(auth_url=auth_url,
   TypeError: __init__() got an unexpected keyword argument 'auth_cache'
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to