← Back to team overview

openstack team mailing list archive

Re: Horizon Keystone Endpoint Issue

 

Also, on quick think to look is the apache error log while you access the
horizon.

look at the log as, tail -f  /var/log/apache/error.log.



On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne <
michael.vandeborne@xxxxxxxx> wrote:

>  192.168.202.103 = public controller iface
> 192.168.203.103 = private controller iface
>
> anyway, I still get the login problem using any of those values
>
>
> Le 20/02/2013 06:59, Kieran Spear a écrit :
>
>
>
> On 20 February 2013 03:40, Michaël Van de Borne <
> michael.vandeborne@xxxxxxxx> wrote:
>
>>  Same problem here. Running Grizzly. Dashboard keeps prompting me for my
>> credentials. Pretty sure dashboard sends wrong tenant name to keystone.
>> Here's the relevant section in /etc/openstack-dashboard/local-settings.py:
>> OPENSTACK_HOST = "192.168.202.103"
>> OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0"; % OPENSTACK_HOST
>> #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
>> OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"
>>
>
> Is that 202 a typo? You used 192.168.203.103 later.
>
> Cheers,
> Kieran
>
>
>>
>> michaël
>>
>>
>>
>>
>> Le 13/02/2013 16:13, Razique Mahroua a écrit :
>>
>> Is the dash configured to talk with the Keystone backend?
>> can you run something like $ keystone endoint-list
>> thanks
>>
>>  *Razique Mahroua** - **Nuage & Co*
>> razique.mahroua@xxxxxxxxx
>> Tel : +33 9 72 37 94 15
>>
>>
>>  Le 12 févr. 2013 à 16:54, Logan McNaughton <logan@xxxxxxxxxxxx> a écrit
>> :
>>
>>  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.
>>
>>
>> On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi <
>> trinath.somanchi@xxxxxxxxx> wrote:
>>
>>> Hi Stackers-
>>>
>>>  I have successfully installed folsom in my test setup.
>>> But when I browse Horison, with admin/password as credentials, I get
>>> this error.
>>>
>>>  [Tue Feb 12 10:03:16 2013 <16%202013>] [error] unable to retrieve
>>> service catalog with token
>>> [Tue Feb 12 10:03:16 2013 <16%202013>] [error] Traceback (most recent
>>> call last):
>>> [Tue Feb 12 10:03:16 2013 <16%202013>] [error]   File
>>> "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 132,
>>> in _extract_service_catalog
>>> [Tue Feb 12 10:03:16 2013 <16%202013>] [error]
>>> endpoint_type='adminURL')
>>> [Tue Feb 12 10:03:16 2013 <16%202013>] [error]   File
>>> "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line
>>> 62, in url_for
>>> [Tue Feb 12 10:03:16 2013 <16%202013>] [error]     raise
>>> exceptions.EndpointNotFound('Endpoint not found.')
>>> [Tue Feb 12 10:03:16 2013 <16%202013>] [error] EndpointNotFound:
>>> Endpoint not found.
>>> [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
>>> 401)\x1b[0m
>>> [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
>>> [Tue Feb 12 10:03:17 2013] [error]   File
>>> "/usr/lib/python2.7/dist-packages/horizon/usage/base.py", line 93, in
>>> summarize
>>> [Tue Feb 12 10:03:17 2013] [error]     self.usage_list =
>>> self.get_usage_list(start, end)
>>> [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
>>> [Tue Feb 12 10:03:17 2013] [error]     return
>>> api.usage_list(self.request, start, end)
>>> [Tue Feb 12 10:03:17 2013] [error]   File
>>> "/usr/lib/python2.7/dist-packages/horizon/api/nova.py", line 418, in
>>> usage_list
>>> [Tue Feb 12 10:03:17 2013] [error]     return [Usage(u) for u in
>>> novaclient(request).usage.list(start, end, True)]
>>> [Tue Feb 12 10:03:17 2013] [error]   File
>>> "/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py", line 35, in
>>> list
>>> [Tue Feb 12 10:03:17 2013] [error]     "tenant_usages")
>>> [Tue Feb 12 10:03:17 2013] [error]   File
>>> "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 62, in _list
>>> [Tue Feb 12 10:03:17 2013] [error]     _resp, body =
>>> self.api.client.get(url)
>>> [Tue Feb 12 10:03:17 2013] [error]   File
>>> "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 239, in get
>>> [Tue Feb 12 10:03:17 2013] [error]     return self._cs_request(url,
>>> 'GET', **kwargs)
>>> [Tue Feb 12 10:03:17 2013] [error]   File
>>> "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 236, in
>>> _cs_request
>>> [Tue Feb 12 10:03:17 2013] [error]     raise ex
>>> [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)
>>>
>>>  It says , I missed some End point Configuration.
>>>
>>>  But then, I have configured it correctly.
>>>
>>>  Can any one guide me resolving this issue.
>>>
>>>  Thanks in advance.
>>>
>>>  --
>>> Regards,
>>> ----------------------------------------------
>>> Trinath Somanchi,
>>> +91 9866 235 130
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>  _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130

Follow ups

References