Hello,
Auth using the admin user then list all instances in all tenants, should be
something like:
client.servers.list(search_opts={'all_tenants': 1})
You should search, there is a lot of resources online that could help you out.
For example if you would have searched:
https://ask.openstack.org
gt;tenant !!
>
>Any idea is welcome.
>
>Thx for help.
>Grazie mille.
>
>J.P.
>
>From: Remo Mattei [mailto:r...@italy1.com]
>Sent: mercredi 8 juin 2016 17:07
>To: Jean-Pierre Ribeauville
>Cc: openstack@lists.openstack.org
>Subject: Re: [Openstack] retrieve all inst
!!
Any idea is welcome.
Thx for help.
Grazie mille.
J.P.
From: Remo Mattei [mailto:r...@italy1.com]
Sent: mercredi 8 juin 2016 17:07
To: Jean-Pierre Ribeauville
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] retrieve all instances whatever tenant/user via python
SDK
Did you try the nova
ean-Pierre Ribeauville
Sent: mercredi 8 juin 2016 17:24
To: 'Remo Mattei'
Cc: openstack@lists.openstack.org
Subject: RE: [Openstack] retrieve all instances whatever tenant/user via python
SDK
Hi,
nova list --all-t works fine ( with “admin” environment variables).
So it means that , wi
Did you try the nova list --all-t
Ciao
Inviato da iPhone
> Il giorno 08 giu 2016, alle ore 06:20, Jean-Pierre Ribeauville
> ha scritto:
>
> Hi all,
>
> By running this piece if code :
>
> ………
> def get_nova_credentials_v2():
> d = {}
> d['version'] = '2'
> d['username'] = os.e
Hi all,
By running this piece if code :
.
def get_nova_credentials_v2():
d = {}
d['version'] = '2'
d['username'] = os.environ['OS_USERNAME']
d['api_key'] = os.environ['OS_PASSWORD']
d['auth_url'] = os.environ['OS_AUTH_URL']
d['project_id'] = os.environ['OS_TENANT_N