Ask Your Question

How do I find out all images owned by a tenant?

asked 2014-11-06 04:16:30 -0600

Krist gravatar image

I am trying to find out all the images a tenant owns.

I tried to use the following command:

glance image-list --owner <id>

But this gives me a list of all images, not just the one owned by the tenant. This is basically completely opposite to what I expected.

What have I done wrong? Is this a bug?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-06 04:23:24 -0600

dbaxps gravatar image

For each user of tenant

[root@juno1 ~(keystone_admin)]# cat  keystonerc_demo
export OS_USERNAME=demo
export OS_TENANT_NAME=demo
export OS_PASSWORD=bf737b785cfa4398
export OS_AUTH_URL=
export PS1='[\u@\h \W(keystone_demo)]\$ 
[root@juno1 ~(keystone_admin)]# source  keystonerc_demo
[root@juno1 ~(keystone_demo)]# glance image-list
edit flag offensive delete link more


I don't understand what you are trying to explain here. I want to, using admin credentials, see what images a particular tenant owns. Your example does not explain that to me.

Krist gravatar imageKrist ( 2014-11-11 05:12:12 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-11-06 04:16:30 -0600

Seen: 426 times

Last updated: Nov 06 '14