Ask Your Question
1

Internal server error when logging in as admin in Horizon IceHouse

asked 2014-06-22 10:14:39 -0500

dragos gravatar image

I am following the guide on installing Icehouse on Ubuntu from the Openstack site and when i try to log in as admin in horizon i get internal server error and the following traceback

ConnectionFailed at /admin/

Connection to neutron failed: Maximum attempts reached

Request Method: GET Request URL: http://controller/horizon/admin/ Django Version: 1.6.1 Exception Type: ConnectionFailed Exception Value:

Connection to neutron failed: Maximum attempts reached

Exception Location: /usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py in retry_request, line 1228 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path:

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/share/openstack-dashboard/', '/usr/share/openstack-dashboard/openstack_dashboard']

Server time: Sun, 22 Jun 2014 15:08:13 +0000 Traceback Switch to copy-and-paste view

/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response

                        response = wrapped_callback(request, *callback_args, **callback_kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/decorators.py in dec

            return view_func(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/decorators.py in dec

                    return view_func(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/decorators.py in dec

                return view_func(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/decorators.py in dec

            return view_func(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/decorators.py in dec

                    return view_func(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in view

                return self.dispatch(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in dispatch

            return handler(request, *args, **kwargs)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/tables/views.py in get

            handled = self.construct_tables()

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/tables/views.py in construct_tables

                handled = self.handle_table(table)

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/tables/views.py in handle_table

            data = self._get_data_dict()

    ...
▶ Local vars
/usr/lib/python2.7/dist-packages/horizon/tables/views.py in _get_data_dict

                self._data = {self.table_class._meta.name: self.get_data()}

    ...
▶ Local vars
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py in get_data

            data = super(GlobalOverview, self).get_data()

    ...
▶ Local vars
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py in get_data

            self.usage.get_limits()

    ...
▶ Local vars
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py in get_limits

            self.get_neutron_limits()

    ...
▶ Local vars
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py in get_neutron_limits

                api.neutron.is_security_group_extension_supported(self.request)

    ...
▶ Local vars
/usr/share/openstack-dashboard ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2014-06-23 03:08:11 -0500

jpichon gravatar image

At the moment, Horizon expects all services in the Keystone catalogue to be up and running. From the traceback you posted it looks like Neutron is in the catalogue but is not currently working (you should be able to check by doing e.g. $ neutron net-list on the command-line).

You should first look into fixing Neutron to make sure the service is up and working correctly, then try again to connect to Horizon.

Other pages that don't require Neutron should still be working (e.g. /admin/users/).

edit flag offensive delete link more

Comments

Ok i made it work... i had an error in the neutron configuration file

dragos gravatar imagedragos ( 2014-06-23 06:09:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-22 10:14:39 -0500

Seen: 1,705 times

Last updated: Jun 23 '14