You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "sathyamoorthy (JIRA)" <ji...@apache.org> on 2016/11/22 07:55:59 UTC

[jira] [Created] (LIBCLOUD-877) Unable to access the connectin class object

sathyamoorthy created LIBCLOUD-877:
--------------------------------------

             Summary: Unable to access the connectin class object
                 Key: LIBCLOUD-877
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-877
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
            Reporter: sathyamoorthy
            Priority: Blocker


I am getting following error when i try to access the list_nodes

>>> conn1.list_nodes()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/openstack.py", line 177, in list_nodes
    self.connection.request('/servers/detail', params=params).object)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack.py", line 227, in request
    raw=raw)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 753, in request
    action = self.morph_action_hook(action)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack.py", line 294, in morph_action_hook
    self._populate_hosts_and_request_paths()
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack.py", line 327, in _populate_hosts_and_request_paths
    osa = osa.authenticate(**kwargs)  # may throw InvalidCreds
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack_identity.py", line 852, in authenticate
    return self._authenticate_2_0_with_password()
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack_identity.py", line 877, in _authenticate_2_0_with_password
    return self._authenticate_2_0_with_body(reqbody)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack_identity.py", line 882, in _authenticate_2_0_with_body
    method='POST')
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 862, in request
    response = responseCls(**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 179, in __init__
    headers=self.headers)
libcloud.common.exceptions.BaseHTTPError: {"error": {"message": "get_version_v2() got an unexpected keyword argument 'auth'", "code": 400, "title": "Bad Request"}}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)