[openstack-dev] [devstack] let's give a different warning message for different OS_PROJECT_NAME ?

Sean Dague sean at dague.net
Wed May 25 10:05:51 UTC 2016


On 05/25/2016 04:05 AM, li.yuanzhen at zte.com.cn wrote:
> Hi All,
>         A warning message leave me a doubt.
>        
>         After having installed openstack by devstack, when I use the cmd
> "source openrc", a warning message is
>         printed in the terminal that "WARNING: setting legacy
> OS_TENANT_NAME to support cli tools."
>         and then when I execute the cmd "source openrc admin admin", it
> give the same info.
>        
>         at first, I think I make a failure in "source openrc" or
> installing openstack, after read the openrc script,
>         I know this message will be printed no matter what openrc's
> arguments are injected.
> 
>         So I think, this message have an ambiguity for user. could we
> <app:ds:ambiguity>ignore this info 'echo "WARNING: setting legacy
> OS_TENANT_NAME to support cli tools." ' or make some different info
>         for different arguments, such as:
>                 echo "WARNING: setting legacy
> OS_TENANT_NAME=$OS_PROJECT_NAME to support cli tools."
> 
>         what do you think?

I think that's a good suggestion, please propose a patch and we should
be able to get it in pretty quickly.

	-Sean

-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list