Hi,
I'm using the openstack cloud provided by chameleon project and they use
the v3oidcpassword.
After my signature, I paste the script that I'm trying to use but it
does not work.
Do you have any suggestion in order to have libcloud working? I read
something related to "openstack token issue" trick but I'm not sure how
to use id and user_id provided by the previous command inside my script.
Thank in advance,
Massimo
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
auth_username = 'mcanonic'
auth_password = '<MY_PASSOWORD>'
project_name = 'CCC-19/20'
auth_url = 'https://kvm.tacc.chameleoncloud.org:5000'
region_name = 'KVM@TACC'
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')
instances = conn.list_nodes()
i = 1
for instance in instances:
print(i,"):",instance.name)
i += 1