← Back to team overview

openstack team mailing list archive

Re: Error in Horizon or misconfiguration?

 

Great, Ray! That solved my bug with Quota summary.

As info for other with the same problem, in CentOS deployments, the full
path for these changes would be in:

/usr/lib/python2.6/site-packages/horizon/templates/horizon/common/_quota_summary.html

Thanks so much guys!

Regards,
JuanFra

2013/1/10 Ray Sun <qsun01185@xxxxxxxxxxxxx>

> Maybe this bugs is related with your Quota Summary.
>
> https://bugs.launchpad.net/horizon/+bug/1055929
>
> Just replace 'usage.quota' with 'usage.quotas' in
> horizon/templates/horizon/common/_quota_summary.html.
>
> - Ray
> Yours faithfully, Kind regards.
>
> CIeNET Technologies (Beijing) Co., Ltd
> Email: qsun01185@xxxxxxxxxxxxx
> Office Phone: +86-01081470088-7079
> Mobile Phone: +86-13581988291
>
>
> On Thu, Jan 10, 2013 at 9:09 PM, JuanFra Rodriguez Cardoso <
> juanfra.rodriguez.cardoso@xxxxxxxxx> wrote:
>
>> Thanks for replying quickly!
>>
>> Yes, I knew about this property. By default is 'internalURL', but
>> although it's modified and restarted httpd, errors related to
>> EndpointNotFound continue logging with endpoint_type='adminURL'.
>>
>> On the other hand, in Horizon, the Quota Summary in Project tab, is shown
>> empty. Any idea about that?
>>
>> Thanks a lot!
>> JuanFra
>>
>>
>> 2013/1/10 Diego Parrilla Santamaría <diego.parrilla.santamaria@xxxxxxxxx>
>>
>>> You can change the endpoint type in Horizon:
>>>
>>> Modify this file:
>>> /etc/openstack-dashboard/local_settings.py
>>>
>>> and add (or edit) this property:
>>> OPENSTACK_ENDPOINT_TYPE=endpoint_type
>>>
>>> and endpoint_type can be internalURL, publicURL and adminURL, as usual.
>>>
>>> Cheers
>>> Diego
>>>
>>>  --
>>> Diego Parrilla
>>> <http://www.stackops.com/>*CEO*
>>> *www.stackops.com | * diego.parrilla@xxxxxxxxxxxx** | +34 649 94 43 29|
>>> skype:diegoparrilla*
>>> * <http://www.stackops.com/>
>>> *
>>>
>>> *
>>>
>>>
>>>
>>> On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso <
>>> juanfra.rodriguez.cardoso@xxxxxxxxx> wrote:
>>>
>>>> Hi guys!
>>>>
>>>> Do you know if this Horizon's bug have been solved? In my fresh
>>>> installation (2012.2.1 from EPEL), it keeps crashing.
>>>> However, remaining operations in dashboard work fine!
>>>>
>>>> [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
>>>> [Thu Jan 10 13:20:19 2013] [error]   File
>>>> "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
>>>> in _extract_service_catalog
>>>> [Thu Jan 10 13:20:19 2013] [error]     endpoint_type='adminURL')
>>>> [Thu Jan 10 13:20:19 2013] [error]   File
>>>> "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
>>>> 73, in url_for
>>>> [Thu Jan 10 13:20:19 2013] [error]     raise
>>>> exceptions.EndpointNotFound('Endpoint not found.')
>>>> [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
>>>> [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
>>>> with token
>>>>
>>>>
>>>> It could be a great chance for my first contribution to Horizon code?
>>>> could I assign myself this bug?
>>>>
>>>> Thanks,
>>>> JuanFra.
>>>>
>>>> _______________________________________________
>>>> 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
>>
>>
>

References