<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/24/2016 03:16 AM, Soputhi Sea
      wrote:<br>
    </div>
    <blockquote
cite="mid:SN2PR0601MB0944824980FD8C6203666C47D32E0@SN2PR0601MB0944.namprd06.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p><span style="font-family: Calibri, Arial, Helvetica,
            sans-serif; font-size: 12pt;">Hi,</span><br>
        </p>
        <div style="color: rgb(0, 0, 0);">
          <div>
            <div id="divtagdefaultwrapper" style="font-size:12pt;
              color:#000000; background-color:#FFFFFF;
              font-family:Calibri,Arial,Helvetica,sans-serif">
              <p><br>
              </p>
              <p>I'm using Mitaka release (the very latest public
                release one from Jun-02), and i'm having issue with List
                Project in Horizon. In my case i have multiple projects
                created and when i login to Horizon the drop down list
                of project (on the top left corner) doesn't list
                properly, it only list one project only. And as I use
                Apache wsgi as a service instead of keystone python web
                service, i checked apache log and here is what i found</p>
              <p><br>
              </p>
              <div> [23/Jun/2016:17:09:37 +0700] "GET /v3/tenants
                HTTP/1.1" 404 93 "-" "python-keystoneclient"</div>
              <div> [23/Jun/2016:18:47:18 +0700] "POST /v3/tokens
                HTTP/1.1" 404 93 "-" "keystoneauth1/2.4.1
                python-requests/2.10.0 CPython/2.7.5"</div>
              <br>
              <p>You can see here the URI "/v3/tenants" should be
                "/v2.0/tenants" or "/v3/projects" (i think)</p>
              <p>and <span
                  style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple
                  Color Emoji","Segoe UI
                  Emoji",NotoColorEmoji,"Segoe UI
                  Symbol","Android Emoji",EmojiSymbols;
                  font-size:16px">/v3/tokens should be "/v2.0/tokens" or
                  "/v3/auth/tokens"</span></p>
              <p><br>
              </p>
              <p>So i wonder if this is a bug in the
                python-keystoneclient or is there any configuration i
                can do to force the client/keystone/horizon to use a
                proper URI call?</p>
              <p><br>
              </p>
              <p>As a side, i applied a workaround to fix this issue by
                creating a redirect rule in apache as follow</p>
              <div>RewriteEngine on</div>
              <div>Redirect /v3/tenants /v2.0/tenants</div>
              <div>Redirect /v3/tokens /v2.0/tokens</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Set the API version explicitly to 3. It looks like the AuthURL is
    set to /v3 and the API version to 2.0<br>
    <br>
    <blockquote
cite="mid:SN2PR0601MB0944824980FD8C6203666C47D32E0@SN2PR0601MB0944.namprd06.prod.outlook.com"
      type="cite">
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <div style="color: rgb(0, 0, 0);">
          <div>
            <div id="divtagdefaultwrapper" style="font-size:12pt;
              color:#000000; background-color:#FFFFFF;
              font-family:Calibri,Arial,Helvetica,sans-serif">
              <br>
              <p>Thanks in advance for any help.</p>
              <p>Puthi</p>
              <p><br>
              </p>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>