<div dir="ltr">Hi-<div><br></div><div>Can you test the keystone with this command.</div><div><br></div><div><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
curl http://<--controller-ip-->:35357/v2.0/endpoints -H 'x-auth-token: <--your-auth-token-->'</pre><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
Also, check the nova logs when you access horizon. " tail -f /var/log/nova/*.log"</pre><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
Can you update me on how did you get to work with Grizzly is it RC-1 or RC-2. Can you share me the installation document for grizzly which you have followed.</pre><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
<br></pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 10:56 PM, Michaël Van de Borne <span dir="ltr"><<a href="mailto:michael.vandeborne@cetic.be" target="_blank">michael.vandeborne@cetic.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Moreover (sorry for spamming), this
      command works fine:<br>
      <br>
      <a href="mailto:root@leonard:/etc/init.d#" target="_blank">root@leonard:/etc/init.d#</a> keystone --os-username nova
      --os-password openstack --os-tenant-name service --os-auth-url
      <a href="http://192.168.203.103:5000/v2.0/" target="_blank">http://192.168.203.103:5000/v2.0/</a> token-get<br>
      <tt>+-----------+----------------------------------+</tt><tt><br>
      </tt><tt>|  Property |              Value               |</tt><tt><br>
      </tt><tt>+-----------+----------------------------------+</tt><tt><br>
      </tt><tt>|  expires  |       2013-02-20T17:19:25Z       |</tt><tt><br>
      </tt><tt>|     id    | 0eb9d38144604ced8e9fc5def623f9ca |</tt><tt><br>
      </tt><tt>| tenant_id | a9f86bcd83e94fbdba61862bce42e717 |</tt><tt><br>
      </tt><tt>|  user_id  | a933854b05e04921a78684368e89c47d |</tt><tt><br>
      </tt><tt>+-----------+----------------------------------+</tt><br>
      <br>
      this works as well:<br>
      nova --os-username nova --os-password openstack --os-tenant-name
      service --os-auth-url <a href="http://192.168.203.103:5000/v2.0/" target="_blank">http://192.168.203.103:5000/v2.0/</a> list<br>
      <br>
      <br>
      So this makes me think that users, roles, services, tenants and
      endpoints are configured properly in keystone. But I can be
      wrong...<br>
      <br>
      <br>
      <br>
      <br>
      Le 19/02/2013 18:09, Michaël Van de Borne a écrit :<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      
      <div>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 type="cite">
        
        <div>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 href="mailto:grizzly@leonard:/etc/init.d$" target="_blank">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 href="http://192.168.203.103:9292" target="_blank">http://192.168.203.103:9292</a>           

          |            <a href="http://192.168.203.103:9292" target="_blank">http://192.168.203.103:9292</a>           

          |         <a href="http://192.168.203.103:9292" target="_blank">http://192.168.203.103:9292</a>         

          | 0ad102dc14eb4866af351358e372cb23 |<br>
          | 1c45042b6bb64fd7b6f56d7348e86103 | myregion |          <a href="http://192.168.202.103:5000/v2.0" target="_blank">http://192.168.202.103:5000/v2.0</a>        

          |          <a href="http://192.168.203.103:5000/v2.0" target="_blank">http://192.168.203.103:5000/v2.0</a>        

          |      <a href="http://192.168.203.103:35357/v2.0" target="_blank">http://192.168.203.103:35357/v2.0</a>      

          | 37059fcb24d345f293d4add7202504bb |<br>
          | 61c1c0305ffa4254b8271a2045489d9a | myregion |    <a href="http://192.168.202.103:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.202.103:8774/v2/%(tenant_id)s</a>  

          |    <a href="http://192.168.203.103:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.203.103:8774/v2/%(tenant_id)s</a>  

          | <a href="http://192.168.203.103:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.203.103:8774/v2/%(tenant_id)s</a>
          | 99f1d14e769046099e85d010ed4c29da |<br>
          | 9248f20cf38b4dbaa3f85abc1ee1f94d | myregion |     <a href="http://192.168.202.103:8773/services/Cloud" target="_blank">http://192.168.202.103:8773/services/Cloud</a>   

          |     <a href="http://192.168.203.103:8773/services/Cloud" target="_blank">http://192.168.203.103:8773/services/Cloud</a>   

          |  <a href="http://192.168.203.103:8773/services/Admin" target="_blank">http://192.168.203.103:8773/services/Admin</a> 
          | c22a33b56e67445a9550643a276a2f87 |<br>
          | bdb68ba018c34cad95acb24f3ad92645 | myregion |           <a href="http://192.168.202.103:9696/v2" target="_blank">http://192.168.202.103:9696/v2</a>         

          |           <a href="http://192.168.203.103:9696/v2" target="_blank">http://192.168.203.103:9696/v2</a>         

          |        <a href="http://192.168.203.103:9696/v2" target="_blank">http://192.168.203.103:9696/v2</a>       

          | d21a72e559934837901574dfb3bc6a6c |<br>
          | beaf4c028cc24068a2068ea16489eb94 | myregion | <a href="http://192.168.202.103:8080/v1/AUTH_%%28tenant_id%29s" target="_blank">http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s</a>
          | <a href="http://192.168.203.103:8080/v1/AUTH_%%28tenant_id%29s" target="_blank">http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s</a>
          |        <a href="http://192.168.203.103:8080/v1" target="_blank">http://192.168.203.103:8080/v1</a>       

          | 7fc69365d1b64eb58e7ac6fcf8369ff2 |<br>
          | c4f3ea0477ac428b958f5bcee2fb14e1 | myregion |    <a href="http://192.168.202.103:8776/v1/%%28tenant_id%29s" target="_blank">http://192.168.202.103:8776/v1/%(tenant_id)s</a>  

          |    <a href="http://192.168.203.103:8776/v1/%%28tenant_id%29s" target="_blank">http://192.168.203.103:8776/v1/%(tenant_id)s</a>  

          |    <a href="http://192.168.203.103:8776/v1/%(tenant_id)s" target="_blank">192.168.203.103:8776/v1/%(tenant_id)s</a>     |
          19b1f3c4fa5843a295e538aab1f4cd40 |<br>
          | fe82e5a1b6344c5784eb89be0d04b10b | myregion |    <a href="http://192.168.202.103:8776/v1/%%28tenant_id%29s" target="_blank">http://192.168.202.103:8776/v1/%(tenant_id)s</a>  

          |    <a href="http://192.168.203.103:8776/v1/%%28tenant_id%29s" target="_blank">http://192.168.203.103:8776/v1/%(tenant_id)s</a>  

          | <a href="http://192.168.203.103:8776/v1/%%28tenant_id%29s" target="_blank">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 href="http://%s:5000/v2.0" target="_blank">"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 type="cite">
          
          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> <span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage &
                      Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
                        <div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"><font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div>

                        <div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>

                      </span></span></span></span></span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px">

              <span><img src="cid:part27.00060205.02070009@cetic.be" height="125" width="125"></span> </div>
            <br>
            <div>
              <div>Le 12 févr. 2013 à 16:54, Logan McNaughton <<a href="mailto:logan@bacoosta.com" target="_blank">logan@bacoosta.com</a>>


                a écrit :</div>
              <br>
              <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 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><font color="#888888">
                            <div><br>
                            </div>
                            -- <br>
                            Regards,<br>
----------------------------------------------<br>
                            Trinath Somanchi,
                            <div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
                          </font></span></div>
                      <br>
                      _______________________________________________<br>
                      Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                      Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
                      Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                      More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
                _______________________________________________<br>
                Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
                Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
              </blockquote>
            </div>
            <br>
          </div>
          <br>
          <fieldset></fieldset>
          <br>
          <pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset></fieldset>
        <br>
        <pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div>+91 9866 235 130</div>
</div>