[Openstack] Tenant List

Deepak Shetty dpkshetty at gmail.com
Fri Jun 20 11:14:30 UTC 2014


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 <auth-tenant-name>]
            [--os-tenant-id <auth-tenant-id>] [--os-auth-url <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 <auth-tenant-name>
  --os-tenant-id <auth-tenant-id>

As you can see ^^ there is no --tenant available.


On Fri, Jun 20, 2014 at 3:23 PM, Georgios Dimitrakakis <giorgis at acmac.uoc.gr
> wrote:

> Indeed there is available and in principle it should work as an
> admin...but it doesn't.
>
>
> 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 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140620/7d6a232c/attachment.html>


More information about the Openstack mailing list