<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi guys,<br><br>I re-installed my devstack environment recently on ubuntu 14.04<br><br>I try to use openstackclient command with devstack created user:<br>        source devstack/accrc/admin/admin<br>       
openstack project list<br><br>The command failed with error :  The resource could not be found. (HTTP 404).<br>And, the issue can be solved by change the auth_url with a v2.0 at the end :  export OS_AUTH_URL=<a rel="nofollow" href="http://9.197.45.36:35357">http://<wbr></wbr>9.197.45.<wbr></wbr>36:35357</a>/v2.0<br><br>I reported a bug <a _src="https://bugs.launchpad.net/python-keystoneclient/+bug/1519624" href="https://bugs.launchpad.net/python-keystoneclient/+bug/1519624">https://bugs.launchpad.net/python-keystoneclient/+bug/1519624</a> and submitted a fix <a _src="https://review.openstack.org/#/c/249578/" href="https://review.openstack.org/#/c/249578/">https://review.openstack.org/#/c/249578/</a>.<br><br>Because  When I run openstackclient command with --debug, and I get log :   <a _src="http://paste.openstack.org/show/479950/" href="http://paste.openstack.org/show/479950/">http://paste.openstack.org/show/479950/</a>.<br>From the log, it is easy to see openstackclient already figured out this command should sent to 
keystoneclient v2 even there is no v2.0 in the environment setting.<br>So, I think this is a bug for keystoneclient.<br>But, some other guys do not agree with that, because keystoneclient shouldn't have to check and parse URL bits like that.<br><br>I do not really understand why keystoneclient can not do that.<br><br>And, for openstack users, do they must explicit set the  version of keystone ? <br>While, I tested,  with the same environment settings, novaclient/glanceclient/neutronclient all can work, the issue only happenes when we using openstacklcient.<br><br>So, anyone can explain a little bit more why to me ? <br><br>Thanks.<br>-chen <br> <br><br></div></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span>