[Openstack] Tenant List

Mārtiņš Jakubovičs martins at vertigs.lv
Fri Jun 20 09:30:31 UTC 2014


Look command as "nova help list", there is such option --tenant and I
can confirm, it didn't work for me either.

On 2014.06.20. 12:16, Deepak Shetty wrote:
> I think --tenant is not a supported option for nova
> I don't see it under nova -h
> 
> What i see is this...
> --os-tenant-name <auth-tenant-name>
> 
> So maybe --tenant is just being ignored and hence the cmd reduces to `nova
> list` hence it shows only admin instance as u r logged in as admin
> 
> 
> On Fri, Jun 13, 2014 at 6:40 PM, Georgios Dimitrakakis <giorgis at acmac.uoc.gr
>> wrote:
> 
>> I am in IceHouse and as an ADMIN I am trying to list the instances on a
>> specific tenant.
>>
>> I have the following tenants:
>>
>> # keystone tenant-list
>> +----------------------------------+---------+---------+
>> |                id                |   name  | enabled |
>> +----------------------------------+---------+---------+
>> | 4746936e9e4b49e382ad41d0b98f3644 |  admin  |   True  |
>> | 965bd35fbef24133951a6bee429cd5be |   demo  |   True  |
>> | ad1473de92c1496fa4dea3fb93101b8b | service |   True  |
>> +----------------------------------+---------+---------+
>>
>> Both the commands
>>
>> # nova list --tenant demo
>> # nova list --tenant 965bd35fbef24133951a6bee429cd5be
>>
>>
>> produce the wrong output since they list the instances for the admin
>> tenant.
>>
>> Using
>>
>> # nova list --all-tenants
>>
>> shows everything but why the specific tenants cannot be shown?
>>
>> Does anyone else have seen this??
>>
>>
>> Best,
>>
>>
>> G.
>> --
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
>> openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
>> openstack
>>
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 





More information about the Openstack mailing list