<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I checked /etc/nova/api-paste.ini.
      Here's the relevant section in it:<br>
      <br>
      [filter:authtoken]<br>
      paste.filter_factory =
      keystone.middleware.auth_token:filter_factory<br>
      auth_host = 192.168.203.103<br>
      auth_port = 35357<br>
      auth_protocol = http<br>
      admin_tenant_name = service<br>
      admin_user = nova<br>
      admin_password = openstack<br>
      signing_dir = /tmp/keystone-signing-nova<br>
      <br>
      I played with the tenant name (admin, service), the port (35357,
      5000) and the user (nova, admin) and various combination of all
      those. I also changed keystone by keystoneclient in the
      'paste.filter_factory' line (as I saw both in doc)<br>
      <br>
      still no luck.<br>
      <br>
      any clue?<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      Le 19/02/2013 17:40, Michaël Van de Borne a écrit :<br>
    </div>
    <blockquote cite="mid:5123AAF3.3020802@cetic.be" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Same problem here. Running Grizzly.
        Dashboard keeps prompting me for my credentials. Pretty sure
        dashboard sends wrong tenant name to keystone. Here is the
        keystone.log entry:<br>
        2013-02-19 16:55:06  WARNING [keystone.common.wsgi]
        Authorization failed. The request you have made requires
        authentication. from 192.168.203.103<br>
        <br>
        here are the endpoints:<br>
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
          href="mailto:grizzly@leonard:/etc/init.d$">grizzly@leonard:/etc/init.d$</a>
        keystone endpoint-list<br>
        WARNING: Bypassing authentication using a token & endpoint
        (authentication credentials are being ignored).<br>
+----------------------------------+----------+---------------------------------------------------+---------------------------------------------------+----------------------------------------------+----------------------------------+<br>
        |                id                |  region 
        |                     publicurl                    
        |                    internalurl                   
        |                   adminurl                   |           
        service_id            |<br>
+----------------------------------+----------+---------------------------------------------------+---------------------------------------------------+----------------------------------------------+----------------------------------+<br>
        | 0f9dbbb5ac764e0794464abcb46047a2 | myregion |            <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:9292">http://192.168.203.103:9292</a>           
        |            <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://192.168.203.103:9292">http://192.168.203.103:9292</a>           
        |         <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://192.168.203.103:9292">http://192.168.203.103:9292</a>         
        | 0ad102dc14eb4866af351358e372cb23 |<br>
        | 1c45042b6bb64fd7b6f56d7348e86103 | myregion |          <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:5000/v2.0">http://192.168.202.103:5000/v2.0</a>        
        |          <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://192.168.203.103:5000/v2.0">http://192.168.203.103:5000/v2.0</a>        
        |      <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:35357/v2.0">http://192.168.203.103:35357/v2.0</a>      
        | 37059fcb24d345f293d4add7202504bb |<br>
        | 61c1c0305ffa4254b8271a2045489d9a | myregion |    <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:8774/v2/%%28tenant_id%29s">http://192.168.202.103:8774/v2/%(tenant_id)s</a>  
        |    <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8774/v2/%%28tenant_id%29s">http://192.168.203.103:8774/v2/%(tenant_id)s</a>  
        | <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8774/v2/%%28tenant_id%29s">http://192.168.203.103:8774/v2/%(tenant_id)s</a>
        | 99f1d14e769046099e85d010ed4c29da |<br>
        | 9248f20cf38b4dbaa3f85abc1ee1f94d | myregion |     <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:8773/services/Cloud">http://192.168.202.103:8773/services/Cloud</a>   
        |     <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8773/services/Cloud">http://192.168.203.103:8773/services/Cloud</a>   
        |  <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8773/services/Admin">http://192.168.203.103:8773/services/Admin</a> 
        | c22a33b56e67445a9550643a276a2f87 |<br>
        | bdb68ba018c34cad95acb24f3ad92645 | myregion |           <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:9696/v2">http://192.168.202.103:9696/v2</a>         
        |           <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://192.168.203.103:9696/v2">http://192.168.203.103:9696/v2</a>         
        |        <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://192.168.203.103:9696/v2">http://192.168.203.103:9696/v2</a>       
        | d21a72e559934837901574dfb3bc6a6c |<br>
        | beaf4c028cc24068a2068ea16489eb94 | myregion | <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:8080/v1/AUTH_%%28tenant_id%29s">http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s</a>
        | <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8080/v1/AUTH_%%28tenant_id%29s">http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s</a>
        |        <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://192.168.203.103:8080/v1">http://192.168.203.103:8080/v1</a>       
        | 7fc69365d1b64eb58e7ac6fcf8369ff2 |<br>
        | c4f3ea0477ac428b958f5bcee2fb14e1 | myregion |    <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:8776/v1/%%28tenant_id%29s">http://192.168.202.103:8776/v1/%(tenant_id)s</a>  
        |    <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8776/v1/%%28tenant_id%29s">http://192.168.203.103:8776/v1/%(tenant_id)s</a>  
        |    192.168.203.103:8776/v1/%(tenant_id)s     |
        19b1f3c4fa5843a295e538aab1f4cd40 |<br>
        | fe82e5a1b6344c5784eb89be0d04b10b | myregion |    <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.202.103:8776/v1/%%28tenant_id%29s">http://192.168.202.103:8776/v1/%(tenant_id)s</a>  
        |    <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8776/v1/%%28tenant_id%29s">http://192.168.203.103:8776/v1/%(tenant_id)s</a>  
        | <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://192.168.203.103:8776/v1/%%28tenant_id%29s">http://192.168.203.103:8776/v1/%(tenant_id)s</a>
        | ef7714abcdc04c06aa9f1ef2bdc29a3a |<br>
+----------------------------------+----------+---------------------------------------------------+---------------------------------------------------+----------------------------------------------+----------------------------------+<br>
        <br>
        <br>
        (by the way, I cannot get rid of the WARNING, but that's not the
        point here)<br>
        <br>
        Here's the relevant section in
        /etc/openstack-dashboard/local-settings.py:<br>
        OPENSTACK_HOST = "192.168.202.103"<br>
        OPENSTACK_KEYSTONE_URL = <a moz-do-not-send="true"
          class="moz-txt-link-rfc2396E" href="http://%s:5000/v2.0">"http://%s:5000/v2.0"</a>
        % OPENSTACK_HOST<br>
        #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"<br>
        OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"<br>
        <br>
        I tried switching from Member to admin role, but still no luck.<br>
        <br>
        Nova seems properly configured:<br>
        grizzly@leonard:~$ nova list<br>
        <br>
        grizzly@leonard:~$ echo $?<br>
        0<br>
        <br>
        Any idea how to make horizon and keystone talking together?<br>
        <br>
        <br>
        <br>
        michaël<br>
        <br>
        <br>
        <br>
        <br>
        Le 13/02/2013 16:13, Razique Mahroua a écrit :<br>
      </div>
      <blockquote
        cite="mid:98F3331C-DABB-4AAF-817D-5B71FB549110@gmail.com"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        Is the dash configured to talk with the Keystone backend?
        <div>can you run something like $ keystone endoint-list </div>
        <div>thanks </div>
        <div><br>
          <div apple-content-edited="true"> <span
              class="Apple-style-span" style="color: rgb(0, 0, 0);
              font-size: medium; font-style: normal; font-variant:
              normal; font-weight: normal; letter-spacing: normal;
              line-height: normal; orphans: 2; text-align: -webkit-auto;
              text-indent: 0px; text-transform: none; white-space:
              normal; widows: 2; word-spacing: 0px;
              -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
              0px; border-collapse: separate; font-family: 'Lucida
              Grande'; border-spacing: 0px;
              -webkit-text-decorations-in-effect: none; "><span
                class="Apple-style-span" style="font-weight: normal;
                font-family: Helvetica; "><b style="color: rgb(19, 112,
                  138); ">Razique Mahroua</b></span><span
                class="Apple-style-span" style="font-weight: normal;
                font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span
                class="Apple-style-span" style="font-family: Helvetica;
                "><span class="Apple-style-span" style="font-weight:
                  normal; font-family: Helvetica; "><b style="color:
                    rgb(19, 112, 138); ">Nuage & Co</b></span><span
                  class="Apple-style-span" style="border-collapse:
                  separate; font-family: Helvetica; font-style: normal;
                  font-variant: normal; letter-spacing: normal;
                  line-height: normal; orphans: 2; text-align:
                  -webkit-auto; text-indent: 0px; text-transform: none;
                  white-space: normal; widows: 2; word-spacing: 0px;
                  border-spacing: 0px;
                  -webkit-text-decorations-in-effect: none;
                  -webkit-text-size-adjust: auto;
                  -webkit-text-stroke-width: 0px; font-size: medium; "><span
                    class="Apple-style-span" style="color: rgb(0, 0, 0);
                    font-family: Helvetica; font-size: medium;
                    font-style: normal; font-variant: normal;
                    font-weight: normal; letter-spacing: normal;
                    line-height: normal; orphans: 2; text-align:
                    -webkit-auto; text-indent: 0px; text-transform:
                    none; white-space: normal; widows: 2; word-spacing:
                    0px; -webkit-text-size-adjust: auto;
                    -webkit-text-stroke-width: 0px; border-collapse:
                    separate; border-spacing: 0px;
                    -webkit-text-decorations-in-effect: none; "><span
                      class="Apple-style-span" style="border-collapse:
                      separate; font-variant: normal; letter-spacing:
                      normal; line-height: normal; orphans: 2;
                      text-align: -webkit-auto; text-indent: 0px;
                      text-transform: none; white-space: normal; widows:
                      2; word-spacing: 0px; border-spacing: 0px;
                      -webkit-text-decorations-in-effect: none;
                      -webkit-text-size-adjust: auto;
                      -webkit-text-stroke-width: 0px; ">
                      <div style="font-weight: normal; color: rgb(0, 0,
                        0); font-family: Helvetica; font-size: medium;
                        font-style: normal; "><font
                          class="Apple-style-span" color="#13708a"><a
                            moz-do-not-send="true"
                            href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div>
                      <div style="color: rgb(0, 0, 0); font-family:
                        Helvetica; font-size: medium; font-style:
                        normal; "><font class="Apple-style-span"
                          color="#13708a">Tel : +33 9 72 37 94 15</font></div>
                    </span></span></span></span></span><br
              class="Apple-interchange-newline" style="color: rgb(0, 0,
              0); font-family: Arial; font-size: medium; font-style:
              normal; font-variant: normal; font-weight: normal;
              letter-spacing: normal; line-height: normal; orphans: 2;
              text-align: -webkit-auto; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-text-size-adjust: auto;
              -webkit-text-stroke-width: 0px; ">
            <span><img id="301fe0c9-e8ab-43d3-9f07-80e92382cca2"
                apple-width="yes" apple-height="yes"
                src="cid:part27.09070706.01070408@cetic.be" height="125"
                width="125"></span> </div>
          <br>
          <div>
            <div>Le 12 févr. 2013 à 16:54, Logan McNaughton <<a
                moz-do-not-send="true" href="mailto:logan@bacoosta.com">logan@bacoosta.com</a>>

              a écrit :</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <div dir="ltr">I've had this problem before, in my
                experience it's not a problem with keystone, it's a
                problem with nova (by the looks of the traceback). I
                believe it's a bug in Horizon because you'll find a lot
                of people with this issue if you Google it. I don't have
                an answer on how to fix it, other than don't fixate on
                the "EndpointNotFound", look to your nova configs for a
                solution.</div>
              <div class="gmail_extra"><br>
                <br>
                <div class="gmail_quote">On Tue, Feb 12, 2013 at 5:03
                  AM, Trinath Somanchi <span dir="ltr"><<a
                      moz-do-not-send="true"
                      href="mailto:trinath.somanchi@gmail.com"
                      target="_blank">trinath.somanchi@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 dir="ltr">Hi Stackers-
                      <div><br>
                      </div>
                      <div>I have successfully installed folsom in my
                        test setup. </div>
                      <div>But when I browse Horison, with
                        admin/password as credentials, I get this error.</div>
                      <div><br>
                      </div>
                      <div>
                        <div>[Tue Feb 12 10:03:16 2013] [error] unable
                          to retrieve service catalog with token</div>
                        <div>[Tue Feb 12 10:03:16 2013] [error]
                          Traceback (most recent call last):</div>
                        <div>[Tue Feb 12 10:03:16 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py",
                          line 132, in _extract_service_catalog</div>
                        <div>[Tue Feb 12 10:03:16 2013] [error]    
                          endpoint_type='adminURL')</div>
                        <div>[Tue Feb 12 10:03:16 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py",
                          line 62, in url_for</div>
                        <div>[Tue Feb 12 10:03:16 2013] [error]    
                          raise exceptions.EndpointNotFound('Endpoint
                          not found.')</div>
                        <div>[Tue Feb 12 10:03:16 2013] [error]
                          EndpointNotFound: Endpoint not found.</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]
                          \x1b[31;1mUnauthorized: n/a (HTTP 401)\x1b[0m</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]
                          Traceback (most recent call last):</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/horizon/usage/base.py",
                          line 93, in summarize</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          self.usage_list = self.get_usage_list(start,
                          end)</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/horizon/usage/base.py",
                          line 128, in get_usage_list</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          return api.usage_list(self.request, start,
                          end)</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/horizon/api/nova.py",
                          line 418, in usage_list</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          return [Usage(u) for u in
                          novaclient(request).usage.list(start, end,
                          True)]</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py",
                          line 35, in list</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          "tenant_usages")</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/novaclient/base.py",
                          line 62, in _list</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          _resp, body = self.api.client.get(url)</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/novaclient/client.py",
                          line 239, in get</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          return self._cs_request(url, 'GET', **kwargs)</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]   File
                          "/usr/lib/python2.7/dist-packages/novaclient/client.py",
                          line 236, in _cs_request</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]    
                          raise ex</div>
                        <div>[Tue Feb 12 10:03:17 2013] [error]
                          Unauthorized: n/a (HTTP 401)</div>
                        <div><br>
                        </div>
                        <div>It says , I missed some End point
                          Configuration.</div>
                        <div><br>
                        </div>
                        <div>But then, I have configured it correctly. </div>
                        <div><br>
                        </div>
                        <div>Can any one guide me resolving this issue.</div>
                        <div><br>
                        </div>
                        <div>Thanks in advance.</div>
                      </div>
                      <span class="HOEnZb"><font color="#888888">
                          <div><br>
                          </div>
                          -- <br>
                          Regards,<br>
                          ----------------------------------------------<br>
                          Trinath Somanchi,
                          <div>+91 9866 235 130</div>
                        </font></span></div>
                    <br>
                    _______________________________________________<br>
                    Mailing list: <a moz-do-not-send="true"
                      href="https://launchpad.net/%7Eopenstack"
                      target="_blank">https://launchpad.net/~openstack</a><br>
                    Post to     : <a moz-do-not-send="true"
                      href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                    Unsubscribe : <a moz-do-not-send="true"
                      href="https://launchpad.net/%7Eopenstack"
                      target="_blank">https://launchpad.net/~openstack</a><br>
                    More help   : <a moz-do-not-send="true"
                      href="https://help.launchpad.net/ListHelp"
                      target="_blank">https://help.launchpad.net/ListHelp</a><br>
                    <br>
                  </blockquote>
                </div>
                <br>
              </div>
              _______________________________________________<br>
              Mailing list: <a moz-do-not-send="true"
                href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
              Post to     : <a moz-do-not-send="true"
                href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
              Unsubscribe : <a moz-do-not-send="true"
                href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
              More help   : <a moz-do-not-send="true"
                href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Mailing list: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a>
Post to     : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a>
More help   : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>