[Openstack-operators] how to get glance images for a specific tenant with the openstack client ?

Saverio Proto zioproto at gmail.com
Wed Jan 27 10:47:50 UTC 2016


> We have an image promotion process that does this for us.  The command I use
> to get images from a specific tenant is:
>
> glance --os-image-api-version 1 image-list --owner=<uuid>
>
> I'm sure using the v1 API will make some cringe, but I haven't found
> anything similar in the v2 API.
>

I used this solution, and it worked very nice for me.

Also openstack image list --long and then grepping the project ID
makes the work.

I would like in the long term to use only the pythonopenstack-client.
However having to pipe stuff into grep is kind of slow for large
setups. How to properly ask to developers to include something like:

openstack image list --project <uuid>

in the next release cycle ?
should I write a spec for this kind of change ?

Saverio



More information about the OpenStack-operators mailing list