Ask Your Question
0

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

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

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
0

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

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=http://192.168.1.127:5000/v2.0/
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

Comments

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 237 times

Last updated: Nov 06 '14