<div dir="ltr"><div><div>Hi Sean, <br><br></div>I don't think they're supposed to work with that. Both of those clients have their python API compatible with those variables you've commented. But the CLI should be used through OpenStack client. Just for an example, keystoneclient CLI does not support it, but OpenStack client supports keystone v3 operations. Shouldn't we move towards deprecating the CLI of individual clients in favor of OpenStack Client?<br><br></div>Henrique<br></div><br><div class="gmail_quote"><div dir="ltr">Em qui, 18 de fev de 2016 às 09:05, Sean Dague <<a href="mailto:sean@dague.net">sean@dague.net</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/12/2016 07:01 AM, Sean Dague wrote:<br>
> Ok... this is going to be one of those threads, but I wanted to try to<br>
> get resolution here.<br>
><br>
> OpenStack is wildly inconsistent in it's use of tenant vs. project. As<br>
> someone that wasn't here at the beginning, I'm not even sure which one<br>
> we are supposed to be transitioning from -> to.<br>
><br>
> At a minimum I'd like to make all of devstack use 1 term, which is the<br>
> term we're trying to get to. That will help move the needle.<br>
><br>
> However, again, I'm not sure which one that is supposed to be (comments<br>
> in various places show movement in both directions). So people with<br>
> deeper knowledge here, can you speak up as to which is the deprecated<br>
> term and which is the term moving forward.<br>
><br>
>       -Sean<br>
<br>
So, as expected, there are snags in deleting TENANT variables in<br>
devstack, which is some of the clients.<br>
<br>
It appears that neither glance nor cinder client work with<br>
OS_PROJECT_NAME, even though they say they do:<br>
<br>
<br>
os1:~> set | grep ^OS_<br>
OS_AUTH_URL=<a href="http://10.42.0.50:5000/v2.0" rel="noreferrer" target="_blank">http://10.42.0.50:5000/v2.0</a><br>
OS_CACERT=<br>
OS_IDENTITY_API_VERSION=2.0<br>
OS_NO_CACHE=1<br>
OS_PASSWORD=pass<br>
OS_PROJECT_NAME=demo<br>
OS_REGION_NAME=RegionOne<br>
OS_USERNAME=demo<br>
OS_VOLUME_API_VERSION=2<br>
<br>
os1:~> cinder list<br>
ERROR: You must provide a tenant_name, tenant_id, project_id or<br>
project_name (with project_domain_name or project_domain_id) via<br>
--os-tenant-name (env[OS_TENANT_NAME]),  --os-tenant-id<br>
(env[OS_TENANT_ID]),  --os-project-id (env[OS_PROJECT_ID])<br>
--os-project-name (env[OS_PROJECT_NAME]),  --os-project-domain-id<br>
(env[OS_PROJECT_DOMAIN_ID])  --os-project-domain-name<br>
(env[OS_PROJECT_DOMAIN_NAME])<br>
<br>
os1:~> glance image-list<br>
You must provide a project_id or project_name (with project_domain_name<br>
or project_domain_id) via   --os-project-id (env[OS_PROJECT_ID])<br>
--os-project-name (env[OS_PROJECT_NAME]),  --os-project-domain-id<br>
(env[OS_PROJECT_DOMAIN_ID])  --os-project-domain-name<br>
(env[OS_PROJECT_DOMAIN_NAME])<br>
<br>
<br>
The existence of versions of these tools out there which don't support<br>
OS_PROJECT_NAME will inhibit our attempts to move forward. Thoughts one<br>
ways we can address this?<br>
<br>
--<br>
Sean Dague<br>
<a href="http://dague.net" rel="noreferrer" target="_blank">http://dague.net</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>