libcloud

Mohammed Naser mnaser at vexxhost.com
Fri Jun 4 11:31:53 UTC 2021


I think you’re having problems because libcloud might not support OIDC with
natively.

On Fri, Jun 4, 2021 at 6:54 AM Massimo Canonico <massimo.canonico at uniupo.it>
wrote:

> Hi,
>
> I'm new and I'm not sure if here is the right place to post the
> questions related to OpenStack and Libcloud.
>
> I've used for years OpenStack provided by Chameleon project and recently
> they change the autentication procedure (they use a federate login).
> Since them, I'm having problem to use my script with libcloud.
>
> This script was working with the legacy login:
>
> provider = get_driver(Provider.OPENSTACK)
> conn = provider(auth_username,auth_password,ex_force_auth_url=auth_url,
>
>          ex_force_auth_version='3.x_password',
>
>      ex_tenant_name=project_name,
>
>      ex_force_service_region=region_name,api_version='2.1')
>
>
> Now it is not working. If I take a look at the openrc file I can note this:
>
> export OS_AUTH_TYPE="v3oidcpassword"
>
> Maybe, this is the problem.
>
> Any idea about how can I fix my script?
>
> Thanks,
>
> Massimo
>
>
>
> --
Mohammed Naser
VEXXHOST, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210604/aed02f85/attachment.html>


More information about the openstack-discuss mailing list