Ask Your Question
0

Inspite of successfull installation unable to open horizon

asked 2014-03-28 00:14:35 -0500

vaidyanath-m gravatar image

updated 2014-03-28 02:18:26 -0500

Anand TS gravatar image

have anyone faced this issue??

[root@test-fedora ~]# packstack --allinone Welcome to Installer setup utility

Installing:
Clean Up...                                            [ DONE ]
Setting up ssh keys...root@10.20.26.108's password:
                                 [ DONE ]
Discovering hosts' details...                          [ DONE ]
Adding pre install manifest entries...                 [ DONE ]
Adding MySQL manifest entries...                       [ DONE ]
Adding QPID manifest entries...                        [ DONE ]
Adding Keystone manifest entries...                    [ DONE ]
Adding Glance Keystone manifest entries...             [ DONE ]
Adding Glance manifest entries...                      [ DONE ]
Installing dependencies for Cinder...                  [ DONE ]
Adding Cinder Keystone manifest entries...             [ DONE ]
Adding Cinder manifest entries...                      [ DONE ]
Checking if the Cinder server has a cinder-volumes vg...[ DONE ]
Adding Nova API manifest entries...                    [ DONE ]
Adding Nova Keystone manifest entries...               [ DONE ]
Adding Nova Cert manifest entries...                   [ DONE ]
Adding Nova Conductor manifest entries...              [ DONE ]
Adding Nova Compute manifest entries...                [ DONE ]
Adding Nova Scheduler manifest entries...              [ DONE ]
Adding Nova VNC Proxy manifest entries...              [ DONE ]
Adding Nova Common manifest entries...                 [ DONE ]
Adding Openstack Network-related Nova manifest entries...[ DONE ]
Adding Neutron API manifest entries...                 [ DONE ]
Adding Neutron Keystone manifest entries...            [ DONE ]
Adding Neutron L3 manifest entries...                  [ DONE ]
Adding Neutron L2 Agent manifest entries...            [ DONE ]
Adding Neutron DHCP Agent manifest entries...          [ DONE ]
Adding Neutron LBaaS Agent manifest entries...         [ DONE ]
Adding Neutron Metadata Agent manifest entries...      [ DONE ]
Adding OpenStack Client manifest entries...            [ DONE ]
Adding Horizon manifest entries...                     [ DONE ]
Adding Swift Keystone manifest entries...              [ DONE ]
Adding Swift builder manifest entries...               [ DONE ]
Adding Swift proxy manifest entries...                 [ DONE ]
Adding Swift storage manifest entries...               [ DONE ]
Adding Swift common manifest entries...                [ DONE ]
Adding Provisioning manifest entries...                [ DONE ]
Adding Ceilometer manifest entries...                  [ DONE ]
Adding Ceilometer Keystone manifest entries...         [ DONE ]
Adding Nagios server manifest entries...               [ DONE ]
Adding Nagios host manifest entries...                 [ DONE ]
Adding post install manifest entries...                [ DONE ]
Preparing servers...                                   [ DONE ]
Installing Dependencies...                             [ DONE ]
Copying Puppet modules and manifests...                [ DONE ]
Applying Puppet manifests...
Applying 10.20.26.108_prescript.pp
10.20.26.108_prescript.pp :                 [ DONE ]
Applying 10.20.26.108_mysql.pp
Applying 10.20.26.108_qpid.pp
10.20.26.108_mysql.pp :                         [ DONE ]
10.20.26.108_qpid.pp :                           [ DONE ]
Applying 10.20.26.108_keystone.pp
Applying 10.20.26.108_glance.pp
Applying 10.20.26.108_cinder.pp
10.20.26.108_keystone.pp :                   [ DONE ]
10.20.26.108_glance.pp :                       [ DONE ]
10.20.26.108_cinder.pp :                       [ DONE ]
Applying 10.20.26.108_api_nova.pp
10.20.26.108_api_nova.pp :                   [ DONE ]
Applying 10.20.26.108_nova.pp
10.20.26.108_nova.pp :                           [ DONE ]
Applying 10.20.26.108_neutron.pp
10.20.26.108_neutron.pp :                     [ DONE ]
Applying 10.20.26.108_osclient.pp
Applying 10.20.26.108_horizon.pp
10.20.26.108_osclient.pp :                   [ DONE ]
10.20.26.108_horizon.pp :                     [ DONE ]
Applying 10.20.26.108_ring_swift.pp
10.20.26.108_ring_swift.pp :               [ DONE ]
Applying 10.20.26.108_swift.pp
Applying 10.20.26.108_provision.pp
Applying 10.20.26.108_ceilometer.pp
Applying 10.20.26.108_nagios.pp
Applying 10.20.26.108_nagios_nrpe.pp
10.20.26.108_swift.pp :                         [ DONE ]
10.20.26.108_provision.pp :                 [ DONE ]
10.20.26.108_ceilometer.pp :               [ DONE ]
10.20.26.108_nagios.pp :                       [ DONE ]
10.20.26.108_nagios_nrpe.pp :             [ DONE ]
Applying 10.20.26.108_postscript.pp
10.20.26.108_postscript.pp :               [ DONE ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-03-28 02:25:15 -0500

Anand TS gravatar image

updated 2014-03-28 02:26:17 -0500

Hello Vaidyanath,

As you can see in openstack-status , your horizon dashboard is showing 500 and horizon will show “Something went wrong!. An unexpected error has occured.”

To fix this issue,

Edit /etc/openstack-dashboard/local_settings and add – ALLOWED_HOSTS = ['*']
systemctl disable firewalld
systemctl enable iptables
systemctl restart iptables
service httpd restart

Hope it helps.

Anand

edit flag offensive delete link more

Comments

Anand, Thanks for the reply and sorry about the delayed response. I tried the steps but still doesn't seem to be helpful. the horizon service is still in 500 and it doesnt get started

vaidyanath-m gravatar imagevaidyanath-m ( 2014-04-01 00:05:22 -0500 )edit

showing the logs from horizon cat /var/log/horizon/horizon.log

2014-04-01 06:06:29,576 2615 ERROR django.request Internal Server Error: /dashboard/ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 92, in get_response response = middleware_method(request) File "/usr/lib/python2.7/site-packages/django/middleware/locale.py", line 21, in process_request check_path = self.is_language_prefix_patterns_used() File "/usr/lib/python2.7/site-packages/django/middleware/locale.py", line 56, in is_language_prefix_patterns_used for url_pattern in get_resolver(None).url_patterns: File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 347, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 342, in urlconf_module self._urlconf_module = import_module(self.urlconf_name) File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line ...(more)

vaidyanath-m gravatar imagevaidyanath-m ( 2014-04-01 01:18:18 -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-03-28 00:14:35 -0500

Seen: 156 times

Last updated: Mar 28 '14