Kami commented on issue #1659:
URL: https://github.com/apache/libcloud/issues/1659#issuecomment-1059768215


   I tried to look into a quick fix, but it looks like it may be involved since 
it appears #1557 introduced another inadvertent regression related to 
``tenant_domain_id``:
   
   ```bash
   ======================================================================
   ERROR: test_ex_force_auth_version_all_possible_values 
(libcloud.test.compute.test_openstack.OpenStack_1_1_Auth_2_0_Tests)
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File 
"/home/kami/w/libcloud/libcloud/libcloud/test/compute/test_openstack.py", line 
3997, in test_ex_force_auth_version_all_possible_values
       list_images = driver.list_images()
     File 
"/home/kami/w/libcloud/libcloud/libcloud/compute/drivers/openstack.py", line 
457, in list_images
       self.connection.request("/images/detail").object, ex_only_active
     File "/home/kami/w/libcloud/libcloud/libcloud/common/openstack.py", line 
276, in request
       raw=raw,
     File "/home/kami/w/libcloud/libcloud/libcloud/common/base.py", line 603, 
in request
       action = self.morph_action_hook(action)
     File "/home/kami/w/libcloud/libcloud/libcloud/common/openstack.py", line 
353, in morph_action_hook
       self._populate_hosts_and_request_paths()
     File "/home/kami/w/libcloud/libcloud/libcloud/common/openstack.py", line 
366, in _populate_hosts_and_request_paths
       osa = self.get_auth_class()
     File "/home/kami/w/libcloud/libcloud/libcloud/common/openstack.py", line 
253, in get_auth_class
       auth_cache=self._ex_auth_cache,
   TypeError: __init__() got an unexpected keyword argument 'tenant_domain_id'
   ```
   
   Having said that, we should still start with (failing) unit tests - I will 
try to push those a bit later.


-- 
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