[openstack-dev] Get Tenant Details in novaclient
sachi.gupta at tcs.com
Wed Aug 13 06:01:29 UTC 2014
nova --os-tenant-name admin list --tenant c40ad5830e194f2296ad11a96cefc487
--all-tenants 1 - Works Fine and returns all the servers available where
"c40ad5830e194f2296ad11a96cefc487 " is the id of the demo tenant whereas
nova --os-tenant-name admin list --tenant demo --all-tenants 1 - Returns
nothing when tenant-name "demo" is passed in place of its id.
For the above bug, need to get the tenant details in novaclient on the
basis of tenant-name being passed to nova api so that the list of servers
can be shown up by both tenant_name or tenant_id.
Also, to interact between Openstaack components we can use the rest calls.
Can anyone suggest how to get the keystone tenant-details in novaclient to
make the above functionality work.
Thanks in advance
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev