<div dir="ltr">I use 'unset OS_AUTH_TYPE' to get it work after sourcing crdentials.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 6:13 AM, lichen.hangzhou <span dir="ltr"><<a href="mailto:lichen.hangzhou@gmail.com" target="_blank">lichen.hangzhou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">http://9.197.45.36:35357</a>/v2.0<br><br>I reported a bug <a href="https://bugs.launchpad.net/python-keystoneclient/+bug/1519624" target="_blank">https://bugs.launchpad.net/python-keystoneclient/+bug/1519624</a> and submitted a fix <a href="https://review.openstack.org/#/c/249578/" target="_blank">https://review.openstack.org/#/c/249578/</a>.<br><br>Because  When I run openstackclient command with --debug, and I get log :   <a href="http://paste.openstack.org/show/479950/" target="_blank">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><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Kind regards,<div>Andrey Pavlov.</div></div></div>
</div>