[Openstack] Tenant List

Georgios Dimitrakakis giorgis at acmac.uoc.gr
Fri Jun 20 11:19:52 UTC 2014


 I 've just send the output of "nova help list"

 I will submit a bug report!

 Thx,

 G.


 On Fri, 20 Jun 2014 16:47:13 +0530, Deepak Shetty wrote:
> Sorry! My bad.. i was wrong :)
> nova help list does show the option.... Maybe you can raise a bug in
> LP if its not working. My 2 cents
>
>  On Fri, Jun 20, 2014 at 4:44 PM, Deepak Shetty  wrote:
>
>> GEORGIOS,
>>
>>    Why do you think its present ? Can you justify your claim pls ?
>>
>> This is what I see...
>>
>> [stack at devstack-large-vm ~]$ [admin] nova -h| grep tenant
>>             [--os-tenant-name ]
>>             [--os-tenant-id ] [--os-auth-url ]
>>     flavor-access-add   Add flavor access for the given tenant.
>>                         Remove flavor access
>> for the given tenant.
>>     floating-ip-create  Allocate a floating IP for the current
>> tenant.
>>     quota-defaults      List the default quotas for a
>> tenant.
>>     quota-delete        Delete quota for a tenant/user so
>> their quota will
>>     quota-show          List the quotas for a
>> tenant/user.
>>     quota-update        Update the quotas for a
>> tenant/user.
>>     secgroup-list       List security groups for the
>> current tenant.
>>     usage               Show usage data for a
>> single tenant.
>>     usage-list          List usage data for all tenants.
>>     x509-create-cert    Create x509 cert for a user in
>> tenant.
>>   --os-tenant-name
>>   --os-tenant-id
>>
>> As you can see ^^ there is no --tenant available.
>>
>> On Fri, Jun 20, 2014 at 3:23 PM, Georgios Dimitrakakis wrote:
>>
>>> Indeed there is available and in principle it should work as an
>>> admin...but it doesnt.
>>>
>>> Best,
>>>
>>> G.
>>>
>>> On Fri, 20 Jun 2014 12:30:31 +0300, Mārtiņš Jakubovičs wrote:
>>>
>>>> Look command as "nova help list", there is such option --tenant
>>>> and I
>>>> can confirm, it didnt work for me either.
>>>>
>>>> On 2014.06.20. 12:16, Deepak Shetty wrote:
>>>>
>>>>> I think --tenant is not a supported option for nova
>>>>> I dont see it under nova -h
>>>>>
>>>>> What i see is this...
>>>>> --os-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
>>>>> 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/ [1]
>>>>>> openstack
>>>>>> Post to     : openstack at lists.openstack.org [2]
>>>>>> Unsubscribe :
>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/ [3]
>>>>>> openstack
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list:
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>> [5]
>>>>> Post to     : openstack at lists.openstack.org [6]
>>>>> Unsubscribe :
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>> [7]
>>>>
>>>> _______________________________________________
>>>> Mailing list:
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> [8]
>>>> Post to     : openstack at lists.openstack.org [9]
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> [10]
>>>
>>> --
>>>
>>> _______________________________________________
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [11]
>>> Post to     : openstack at lists.openstack.org [12]
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [13]
>
>
>
> Links:
> ------
> [1] http://lists.openstack.org/cgi-bin/mailman/listinfo/
> [2] mailto:openstack at lists.openstack.org
> [3] http://lists.openstack.org/cgi-bin/mailman/listinfo/
> [4] mailto:giorgis at acmac.uoc.gr
> [5] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [6] mailto:openstack at lists.openstack.org
> [7] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [8] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [9] mailto:openstack at lists.openstack.org
> [10] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [11] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [12] mailto:openstack at lists.openstack.org
> [13] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [14] mailto:giorgis at acmac.uoc.gr
> [15] mailto:dpkshetty at gmail.com

-- 




More information about the Openstack mailing list