<div dir="ltr"><span style="font-size:12.8px">I'm using vmware integrated openstack and I am trying to connect using python.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>from libcloud.compute.types import Provider</div><div>from libcloud.compute.providers import get_driver</div><div><br></div><div>import libcloud.security</div><div><br></div><div>def main():</div><div>    auth_usr   = '<a href="mailto:ryan@example.com" target="_blank">ryan@example.com</a>'</div><div>    auth_pass  = 'mypass'</div><div>    auth_url   = '<a href="https://vio-cloud.example.com:5000/v2.0" target="_blank">https://vio-cloud.example.com:5000/v2.0</a>'</div><div>    project_name = 'POC'</div><div><br></div><div>    libcloud.security.VERIFY_SSL_CERT = False</div><div><br></div><div>    provider = get_driver(Provider.OPENSTACK)</div><div>    conn = provider(auth_usr,</div><div>                    auth_pass,</div><div>                    ex_force_auth_url=auth_url,</div><div>                    ex_force_auth_version='2.0_password',</div><div>                    ex_tenant_name=project_name)</div><div><br></div><div>    images = conn.list_images()</div><div><br></div><div>    for image in images:</div><div>        print(image)</div><div><br></div><div>main()</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">however I keep getting the error:<br>libcloud.common.exceptions.BaseHTTPError: {"error": {"message": "get_version_v2() got an unexpected keyword argument 'auth'", "code": 400, "title": "Bad Request"}}<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Does anyone know why?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">if I strip the /v2.0 or add /tokens to the end of the python code then I get no endpoint found as an error.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">using curl in windows:<br>curl -X POST -i -k -H "Content-Type: application/json" -d "{\"auth\": { \"passwordCredentials\": { \"password\": \"mypass\", \"username\": \"<a href="mailto:ryan@example.com" target="_blank">ryan@example.com</a>\" }, \"tenantName\": \"POC\" } }" <a href="https://vio-cloud.example.com:5000/v2.0/tokens" target="_blank">https://vio-cloud.example.com:5000/v2.0/tokens</a> <br><br>works fine.<br><br></div><div style="font-size:12.8px">any help would be appreciated</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ryan</div></div>