Mailing List Archive

horizon error
Hi everybody, when I'm authenticate with horizon I have this message "Error: Unauthorized: Unable to retrieve usage information." And "Error: Unauthorized: Unable to retrieve quota information."

How can I fix this issue?



Thanks you for your help!



Sheriff!
Re: horizon error [ In reply to ]
Hiho,

this occurs if an service not running or not reachable. In your case
mostly api or compute.
Check if each service are running and reachable from your Horizon host.

Check if all endpoints in keystone are configured correctly.

Greetings
Heiko


On 23.04.2013 17:25, Mballo Cherif wrote:
>
> Hi everybody, when I'm authenticate with horizon I have this message
> "*Error: *Unauthorized: Unable to retrieve usage information." And
> "*Error: *Unauthorized: Unable to retrieve quota information."
>
> How can I fix this issue?
>
>
>
> Thanks you for your help!
>
>
>
> Sheriff!
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
Re: horizon error [ In reply to ]
Hi Hiho,

Thanks you for your answers. In fact when I lauch "nova-manage service list" I get this:



nova-cert openstack-grizzly.linux.gem internal enabled :-) 2013-04-23 16:05:03

nova-conductor openstack-grizzly.linux.gem internal enabled :-) 2013-04-23 16:05:03

nova-consoleauth openstack-grizzly.linux.gem internal enabled :-) 2013-04-23 16:05:03

nova-scheduler openstack-grizzly.linux.gem internal enabled :-) 2013-04-23 16:05:03

nova-compute openstack-grizzly.linux.gem nova enabled :-) 2013-04-23 16:05:04





is it normal not having nova-api in the list ?. Otherwise when I check "service nova-api status" the service is running well (nova-api start/running, process 13421)







From: Openstack [mailto:openstack-bounces+cherif.mballo=gemalto.com@lists.launchpad.net] On Behalf Of Heiko Krämer
Sent: mardi 23 avril 2013 17:30
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] horizon error



Hiho,

this occurs if an service not running or not reachable. In your case mostly api or compute.
Check if each service are running and reachable from your Horizon host.

Check if all endpoints in keystone are configured correctly.

Greetings
Heiko


On 23.04.2013 17:25, Mballo Cherif wrote:

Hi everybody, when I'm authenticate with horizon I have this message "Error: Unauthorized: Unable to retrieve usage information." And "Error: Unauthorized: Unable to retrieve quota information."

How can I fix this issue?



Thanks you for your help!



Sheriff!








_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
Re: horizon error [ In reply to ]
Hi Mballo,

looks good to me. Please check your keystone endpoints too. You need to
check the other service parts too if all endpoints are correct.
Do you see on your project page your images, networks and volumes? It's
mostly a good indicator if your horizon can communicate with these API's.



Greetings
Heiko

Am 23.04.2013 18:12, schrieb Mballo Cherif:
>
> Hi Hiho,
>
> Thanks you for your answers. In fact when I lauch "nova-manage service
> list" I get this:
>
>
>
> /nova-cert openstack-grizzly.linux.gem
> internal enabled :-) 2013-04-23 16:05:03/
>
> /nova-conductor openstack-grizzly.linux.gem
> internal enabled :-) 2013-04-23 16:05:03/
>
> /nova-consoleauth openstack-grizzly.linux.gem
> internal enabled :-) 2013-04-23 16:05:03/
>
> /nova-scheduler openstack-grizzly.linux.gem
> internal enabled :-) 2013-04-23 16:05:03/
>
> /nova-compute openstack-grizzly.linux.gem
> nova enabled :-) 2013-04-23 16:05:04/
>
>
>
>
>
> is it normal not having nova-api in the list ?. Otherwise when I check
> "service nova-api status" the service is running well (/nova-api
> start/running, process 13421/)
>
>
>
>
>
>
>
> *From:*Openstack
> [mailto:openstack-bounces+cherif.mballo=gemalto.com@lists.launchpad.net]
> *On Behalf Of *Heiko Krämer
> *Sent:* mardi 23 avril 2013 17:30
> *To:* openstack@lists.launchpad.net
> *Subject:* Re: [Openstack] horizon error
>
>
>
> Hiho,
>
> this occurs if an service not running or not reachable. In your case
> mostly api or compute.
> Check if each service are running and reachable from your Horizon host.
>
> Check if all endpoints in keystone are configured correctly.
>
> Greetings
> Heiko
>
>
> On 23.04.2013 17:25, Mballo Cherif wrote:
>
> Hi everybody, when I'm authenticate with horizon I have this
> message "*Error: *Unauthorized: Unable to retrieve usage
> information." And "*Error: *Unauthorized: Unable to retrieve quota
> information."
>
> How can I fix this issue?
>
>
>
> Thanks you for your help!
>
>
>
> Sheriff!
>
>
>
>
>
>
> _______________________________________________
>
> Mailing list: https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
>
> Post to : openstack@lists.launchpad.net <mailto:openstack@lists.launchpad.net>
>
> Unsubscribe : https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
>
> More help : https://help.launchpad.net/ListHelp
>
>
>
Re: Horizon Error [ In reply to ]
On 11/08/2013 09:25 AM, Stephane EVEILLARD wrote:
> Hi
>
> when trying to connect to my dashboard (havanna on centos 6.4), I got an
> 500 internal server error
> with the following message in /var/log/httpd/error_log

> (self.SETTINGS_MODULE, e))
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] ImportError:
> Could not import settings 'openstack_dashboard.settings' (Is it on
> sys.path?): No module named pbr.version
>
OK,
I assume you're using a self provided package.

yum install python-pbr

from EPEL will provide this dependency.

Matthias

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Horizon Error [ In reply to ]
Looks like you're missing pbr. How did you install horizon? Doing pip
install pbr though should resolve your issue.

Aaron


On Fri, Nov 8, 2013 at 12:25 AM, Stephane EVEILLARD <
stephane.eveillard@gmail.com> wrote:

> Hi
>
> when trying to connect to my dashboard (havanna on centos 6.4), I got an
> 500 internal server error
> with the following message in /var/log/httpd/error_log
>
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] mod_wsgi
> (pid=2414): Exception occurred processing WSGI script
> '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] Traceback (most
> recent call last):
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] File
> "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 219,
> in __call__
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200]
> self.load_middleware()
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] File
> "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 39,
> in load_middleware
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] for
> middleware_path in settings.MIDDLEWARE_CLASSES:
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] File
> "/usr/lib/python2.6/site-packages/django/utils/functional.py", line 184, in
> inner
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] self._setup()
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] File
> "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 42, in
> _setup
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200]
> self._wrapped = Settings(settings_module)
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] File
> "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 95, in
> __init__
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] raise
> ImportError("Could not import settings '%s' (Is it on sys.path?): %s" %
> (self.SETTINGS_MODULE, e))
> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] ImportError:
> Could not import settings 'openstack_dashboard.settings' (Is it on
> sys.path?): No module named pbr.version
>
>
> can anybody help me ?
> --
> Stéphane EVEILLARD
> Responsable Système et Développement IBS NETWORK
> Coordinateur Version Française Openstack
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
Re: Horizon Error [ In reply to ]
I had the same error after doing a yum update last week (also Havana on CentOS 6.4). My Horizon package came from the RDO Havana repo and stopped working following this set of updates:

Nov 07 14:41:18 Updated: libudev-147-2.46.el6_4.2.x86_64
Nov 07 14:41:19 Updated: libcom_err-1.41.12-14.el6_4.4.x86_64
Nov 07 14:41:20 Updated: udev-147-2.46.el6_4.2.x86_64
Nov 07 14:41:20 Updated: device-mapper-1.02.77-9.el6_4.3.x86_64
Nov 07 14:41:21 Updated: device-mapper-libs-1.02.77-9.el6_4.3.x86_64
Nov 07 14:41:21 Updated: device-mapper-event-libs-1.02.77-9.el6_4.3.x86_64
Nov 07 14:41:21 Updated: python-six-1.4.1-1.el6.noarch
Nov 07 14:41:22 Updated: 1:python-keystoneclient-0.4.1-3.el6.noarch
Nov 07 14:41:23 Updated: device-mapper-event-1.02.77-9.el6_4.3.x86_64
Nov 07 14:41:23 Updated: lvm2-libs-2.02.98-9.el6_4.3.x86_64
Nov 07 14:41:24 Updated: e2fsprogs-libs-1.41.12-14.el6_4.4.x86_64
Nov 07 14:41:24 Updated: libss-1.41.12-14.el6_4.4.x86_64
Nov 07 14:41:26 Updated: kernel-firmware-2.6.32-358.123.2.openstack.el6.noarch
Nov 07 14:41:27 Updated: libgcrypt-1.4.5-11.el6_4.x86_64
Nov 07 14:41:28 Updated: gnupg2-2.0.14-6.el6_4.x86_64
Nov 07 14:41:34 Installed: kernel-2.6.32-358.123.2.openstack.el6.x86_64
Nov 07 14:41:35 Updated: e2fsprogs-1.41.12-14.el6_4.4.x86_64
Nov 07 14:41:36 Updated: lvm2-2.02.98-9.el6_4.3.x86_64
Nov 07 14:41:36 Updated: python-heatclient-0.2.5-1.el6.noarch
Nov 07 14:41:37 Updated: python-cinderclient-1.0.7-1.el6.noarch
Nov 07 14:41:39 Updated: mdadm-3.2.5-4.el6_4.3.x86_64
Nov 07 14:41:39 Updated: rsync-3.0.6-9.el6_4.1.x86_64
Nov 07 14:41:40 Updated: python-neutronclient-2.3.1-2.el6.noarch
Nov 07 14:41:41 Updated: scsi-target-utils-1.0.38-48.bf6981.ceph.el6.x86_64
Nov 07 14:41:41 Updated: rdo-release-havana-7.noarch
Nov 07 14:41:42 Updated: gdisk-0.8.8-1.el6.x86_64

Per this thread I installed python-pbr and Horizon started working again. How could I have had Horizon working prior to that yum update if python-pbr was not installed (apparently) and is a Horizon dependency?

Thanks,
Andy

On Nov 8, 2013, at 3:44 AM, Matthias Runge <mrunge@redhat.com> wrote:

> On 11/08/2013 09:25 AM, Stephane EVEILLARD wrote:
>> Hi
>>
>> when trying to connect to my dashboard (havanna on centos 6.4), I got an
>> 500 internal server error
>> with the following message in /var/log/httpd/error_log
>
>> (self.SETTINGS_MODULE, e))
>> [Fri Nov 08 09:20:59 2013] [error] [client 192.168.1.200] ImportError:
>> Could not import settings 'openstack_dashboard.settings' (Is it on
>> sys.path?): No module named pbr.version
>>
> OK,
> I assume you're using a self provided package.
>
> yum install python-pbr
>
> from EPEL will provide this dependency.
>
> Matthias
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Horizon Error [ In reply to ]
On 11/11/2013 04:33 PM, Andrew Richards wrote:
> I had the same error after doing a yum update last week (also Havana
> on CentOS 6.4). My Horizon package came from the RDO Havana repo
> and stopped working following this set of updates:
>
> Nov 07 14:41:18 Updated: libudev-147-2.46.el6_4.2.x86_64 Nov 07
> 14:41:19 Updated: libcom_err-1.41.12-14.el6_4.4.x86_64 Nov 07
> 14:41:20 Updated: udev-147-2.46.el6_4.2.x86_64 Nov 07 14:41:20
> Updated: device-mapper-1.02.77-9.el6_4.3.x86_64 Nov 07 14:41:21
> Updated: device-mapper-libs-1.02.77-9.el6_4.3.x86_64 Nov 07 14:41:21
> Updated: device-mapper-event-libs-1.02.77-9.el6_4.3.x86_64 Nov 07
> 14:41:21 Updated: python-six-1.4.1-1.el6.noarch Nov 07 14:41:22
> Updated: 1:python-keystoneclient-0.4.1-3.el6.noarch Nov 07 14:41:23
> Updated: device-mapper-event-1.02.77-9.el6_4.3.x86_64 Nov 07 14:41:23
> Updated: lvm2-libs-2.02.98-9.el6_4.3.x86_64 Nov 07 14:41:24 Updated:
> e2fsprogs-libs-1.41.12-14.el6_4.4.x86_64 Nov 07 14:41:24 Updated:
> libss-1.41.12-14.el6_4.4.x86_64 Nov 07 14:41:26 Updated:
> kernel-firmware-2.6.32-358.123.2.openstack.el6.noarch Nov 07 14:41:27
> Updated: libgcrypt-1.4.5-11.el6_4.x86_64 Nov 07 14:41:28 Updated:
> gnupg2-2.0.14-6.el6_4.x86_64 Nov 07 14:41:34 Installed:
> kernel-2.6.32-358.123.2.openstack.el6.x86_64 Nov 07 14:41:35 Updated:
> e2fsprogs-1.41.12-14.el6_4.4.x86_64 Nov 07 14:41:36 Updated:
> lvm2-2.02.98-9.el6_4.3.x86_64 Nov 07 14:41:36 Updated:
> python-heatclient-0.2.5-1.el6.noarch Nov 07 14:41:37 Updated:
> python-cinderclient-1.0.7-1.el6.noarch Nov 07 14:41:39 Updated:
> mdadm-3.2.5-4.el6_4.3.x86_64 Nov 07 14:41:39 Updated:
> rsync-3.0.6-9.el6_4.1.x86_64 Nov 07 14:41:40 Updated:
> python-neutronclient-2.3.1-2.el6.noarch Nov 07 14:41:41 Updated:
> scsi-target-utils-1.0.38-48.bf6981.ceph.el6.x86_64 Nov 07 14:41:41
> Updated: rdo-release-havana-7.noarch Nov 07 14:41:42 Updated:
> gdisk-0.8.8-1.el6.x86_64
>
> Per this thread I installed python-pbr and Horizon started working
> again. How could I have had Horizon working prior to that yum update
> if python-pbr was not installed (apparently) and is a Horizon
> dependency?
>
> Thanks, Andy
Somehow, I can't spot horizon being updated here, so the question is:
which package requires pbr as runtime requirement?

Matthias


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Horizon Error [ In reply to ]
I don't know, all I can say for sure is that I had Horizon and its dependencies installed from the RDO Havana repo and everything was functioning normally, then following the updates I posted previously Horizon started throwing that 500 error which led me to this thread. Installing PBR fixed the problem, my question is if PBR is a requirement of Horizon, how was I running without it? It's just academic curiosity at this point, the problem is solved.

Thanks,
Andrew Richards
Senior Systems Engineer
keepertechnology

On Nov 12, 2013, at 2:48 AM, Matthias Runge <mrunge@redhat.com> wrote:

> On 11/11/2013 04:33 PM, Andrew Richards wrote:
>> I had the same error after doing a yum update last week (also Havana
>> on CentOS 6.4). My Horizon package came from the RDO Havana repo
>> and stopped working following this set of updates:
>>
>> Nov 07 14:41:18 Updated: libudev-147-2.46.el6_4.2.x86_64 Nov 07
>> 14:41:19 Updated: libcom_err-1.41.12-14.el6_4.4.x86_64 Nov 07
>> 14:41:20 Updated: udev-147-2.46.el6_4.2.x86_64 Nov 07 14:41:20
>> Updated: device-mapper-1.02.77-9.el6_4.3.x86_64 Nov 07 14:41:21
>> Updated: device-mapper-libs-1.02.77-9.el6_4.3.x86_64 Nov 07 14:41:21
>> Updated: device-mapper-event-libs-1.02.77-9.el6_4.3.x86_64 Nov 07
>> 14:41:21 Updated: python-six-1.4.1-1.el6.noarch Nov 07 14:41:22
>> Updated: 1:python-keystoneclient-0.4.1-3.el6.noarch Nov 07 14:41:23
>> Updated: device-mapper-event-1.02.77-9.el6_4.3.x86_64 Nov 07 14:41:23
>> Updated: lvm2-libs-2.02.98-9.el6_4.3.x86_64 Nov 07 14:41:24 Updated:
>> e2fsprogs-libs-1.41.12-14.el6_4.4.x86_64 Nov 07 14:41:24 Updated:
>> libss-1.41.12-14.el6_4.4.x86_64 Nov 07 14:41:26 Updated:
>> kernel-firmware-2.6.32-358.123.2.openstack.el6.noarch Nov 07 14:41:27
>> Updated: libgcrypt-1.4.5-11.el6_4.x86_64 Nov 07 14:41:28 Updated:
>> gnupg2-2.0.14-6.el6_4.x86_64 Nov 07 14:41:34 Installed:
>> kernel-2.6.32-358.123.2.openstack.el6.x86_64 Nov 07 14:41:35 Updated:
>> e2fsprogs-1.41.12-14.el6_4.4.x86_64 Nov 07 14:41:36 Updated:
>> lvm2-2.02.98-9.el6_4.3.x86_64 Nov 07 14:41:36 Updated:
>> python-heatclient-0.2.5-1.el6.noarch Nov 07 14:41:37 Updated:
>> python-cinderclient-1.0.7-1.el6.noarch Nov 07 14:41:39 Updated:
>> mdadm-3.2.5-4.el6_4.3.x86_64 Nov 07 14:41:39 Updated:
>> rsync-3.0.6-9.el6_4.1.x86_64 Nov 07 14:41:40 Updated:
>> python-neutronclient-2.3.1-2.el6.noarch Nov 07 14:41:41 Updated:
>> scsi-target-utils-1.0.38-48.bf6981.ceph.el6.x86_64 Nov 07 14:41:41
>> Updated: rdo-release-havana-7.noarch Nov 07 14:41:42 Updated:
>> gdisk-0.8.8-1.el6.x86_64
>>
>> Per this thread I installed python-pbr and Horizon started working
>> again. How could I have had Horizon working prior to that yum update
>> if python-pbr was not installed (apparently) and is a Horizon
>> dependency?
>>
>> Thanks, Andy
> Somehow, I can't spot horizon being updated here, so the question is:
> which package requires pbr as runtime requirement?
>
> Matthias
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack