Ask Your Question
-1

Failure login to Dashboard on F20 Havana Controller after recent firefox update up to 29.0-5

asked 2014-05-02 12:23:04 -0500

dbaxps gravatar image

updated 2014-05-02 12:41:43 -0500

Dasboard has been setup per 1 and 2 and worked fine until recent yum -y update.

I am gettingt Server Internal Error attempting to launch browser to http://controller/dashboard along with

== Horizon service ==
openstack-dashboard:                    500

/var/log/horizon/horizon.log is empty. Same version of firefox works fine with AIO IceHouse Instance on F20 been setup via packstack --allinone on another box just yesterday. Controller node: Nova, Keystone, Cinder, Glance, Neutron (using Open vSwitch plugin and GRE tunneling) had been setup manually and continue work fine except dashboard.

    [root@dfw02 horizon(keystone_admin)]$ nova service-list
    '+------------------+-------------------+----------+---------+-------+----------------------------+-----------------+
    | Binary           | Host              | Zone     | Status  | State | Updated_at                 | Disabled Reason |
    +------------------+-------------------+----------+---------+-------+----------------------------+-----------------+
    | nova-scheduler   | dfw02.localdomain | internal | enabled | up    | 2014-05-02T17:33:21.000000 | None            |
    | nova-conductor   | dfw02.localdomain | internal | enabled | up    | 2014-05-02T17:33:21.000000 | None            |
    | nova-compute     | dfw01.localdomain | nova     | enabled | up    | 2014-05-02T17:33:29.000000 | None            |
    | nova-consoleauth | dfw02.localdomain | internal | enabled | up    | 2014-05-02T17:33:21.000000 | None            |
    +------------------+-------------------+----------+---------+-------+----------------------------+-----------------+
   [root@dfw02 horizon(keystone_admin)]$ systemctl list-units| grep nova
   openstack-nova-api.service        loaded active running  OpenStack Nova API Server
   openstack-nova-conductor.service      loaded active running  OpenStack Nova Conductor Server
   openstack-nova-consoleauth.service  loaded active running  OpenStack Nova VNC console auth Server
   openstack-nova-novncproxy.service  loaded active running  OpenStack Nova NoVNC Proxy Server
   openstack-nova-scheduler.service    loaded active running  OpenStack Nova Scheduler Server
edit retag flag offensive close merge delete

Comments

how did you setup ALLOWED_HOSTS in /etc/openstack-dashboard/local_settings? I don't mean, what is provided by the package? What about DEBUG setting?

mrunge gravatar imagemrunge ( 2014-05-13 14:23:59 -0500 )edit

Set as follows for a while. It worked fine before firefox upgrade to 29-0.5
ALLOWED_HOSTS = ['192.168.1.130', 'localhost']
192.168.1.130 is Controller IP
DEBUG = False
TEMPLATE_DEBUG = DEBUG

dbaxps gravatar imagedbaxps ( 2014-05-13 20:28:15 -0500 )edit

if your assumption is true, that it has something to do with an upgrade of firefox, do a yum downgrade firefox. in that case, you couldn't speak to other cloud environments running Havana.

ALLOWED_HOSTS is the most made common mistake, I've seen, when installing via upstream docs.

Is this case solved for you or shall we debug it any further?

mrunge gravatar imagemrunge ( 2014-05-14 05:41:21 -0500 )edit

My detailed feedback was placed on RDO mailing list.

dbaxps gravatar imagedbaxps ( 2014-05-14 11:54:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2014-05-03 00:36:42 -0500

dbaxps gravatar image

updated 2014-05-04 01:55:15 -0500

Fixed. image description

        Download from Net :-

        [boris@dfw02 Downloads]$ ls -l *.src.rpm
        -rw-r--r--. 1 boris boris 4252988 May  3 08:21 python-django-horizon-2014.1-1.fc21.src.rpm
        -rw-r--r--. 1 boris boris   47126 May  3 08:37 python-django-openstack-auth-1.1.5-1.fc21.src.rpm
        -rw-r--r--. 1 boris boris   83761 May  3 08:48 python-pbr-0.7.0-2.fc21.src.rpm

        Install src.rpms and build
        [boris@dfw02 SPECS]$ rpmbuild -bb python-django-openstack-auth.spec
        [boris@dfw02 SPECS]$ rpmbuild -bb python-pbr.spec

        [boris@dfw02 noarch]$sudo yum install python-django-openstack-auth-1.1.5-1.fc20.noarch.rpm
        [boris@dfw02 noarch]$sudo yum install python-pbr-0.7.0-2.fc20.noarch.rpm python3-pbr-0.7.0-2.fc20.noarch.rpm

        [boris@dfw02 noarch]$ cd -
        /home/boris/rpmbuild/SPECS

     Build
    [boris@dfw02 SPECS]$ rpmbuild -bb ./python-django-horizon.spec
        .   .   .   .   .   .    .
    Wrote: /home/boris/rpmbuild/RPMS/noarch/python-django-horizon-2014.1-1.fc20.noarch.rpm
    Wrote: /home/boris/rpmbuild/RPMS/noarch/openstack-dashboard-2014.1-1.fc20.noarch.rpm
    Wrote: /home/boris/rpmbuild/RPMS/noarch/python-django-horizon-doc-2014.1-1.fc20.noarch.rpm
    Wrote: /home/boris/rpmbuild/RPMS/noarch/openstack-dashboard-theme-2014.1-1.fc20.noarch.rpm
    Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YTx0F2
    + umask 022
    + cd /home/boris/rpmbuild/BUILD
    + cd horizon-2014.1
    + /usr/bin/rm -rf /home/boris/rpmbuild/BUILDROOT/python-django-horizon-2014.1-1.fc20.x86_64
    + exit 0


  [boris@dfw02 ~]$ cd rpmbuild/RPMS/noarch
  [boris@dfw02 noarch]$ ls -l
  total 6620
 -rwxrw-r--. 1 boris boris     217 May  3 09:04 inst
 -rw-rw-r--. 1 boris boris 3293068 May  3 09:01 openstack-dashboard-2014.1-1.fc20.noarch.rpm
 -rw-rw-r--. 1 boris boris  732020 May  3 09:01 openstack-dashboard-theme-2014.1-1.fc20.noarch.rpm
 -rw-rw-r--. 1 boris boris  160868 May  3 08:51 python3-pbr-0.7.0-2.fc20.noarch.rpm
 -rw-rw-r--. 1 boris boris  823332 May  3 09:01 python-django-horizon-2014.1-1.fc20.noarch.rpm
 -rw-rw-r--. 1 boris boris 1548752 May  3 09:01 python-django-horizon-doc-2014.1-1.fc20.noarch.rpm
 -rw-rw-r--. 1 boris boris   43944 May  3 08:39 python-django-openstack-auth-1.1.5-1.fc20.noarch.rpm
 -rw-rw-r--. 1 boris boris  158204 May  3 08:51 python-pbr-0.7.0-2.fc20.noarch.rpm

 [boris@dfw02 noarch]$ cat inst
        sudo yum install openstack-dashboard-2014.1-1.fc20.noarch.rpm \
        openstack-dashboard-theme-2014.1-1.fc20.noarch.rpm \
        python-django-horizon-2014.1-1.fc20.noarch.rpm \
        python-django-horizon-doc-2014.1-1.fc20.noarch.rpm

 Run:-
 [boris@dfw02 noarch]$./inst     

        [boris@dfw02 noarch]$ rpm -qa | grep django
        python-django-horizon-doc-2014.1-1.fc20.noarch
        python-django-horizon-2014.1-1.fc20.noarch
        python-django-1.6.3-1.fc20.noarch
        python-django-nose-1.2-1.fc20.noarch
        python-django-bash-completion-1.6.3-1.fc20.noarch
        python-django-openstack-auth-1.1.5-1.fc20.noarch
        python-django-appconf-0.6-2.fc20.noarch
        python-django-compressor-1.3-2.fc20.noarch
edit flag offensive delete link more

Comments

Backporting F21 packages (2014.1) to F20 step by step procedure here

dbaxps gravatar imagedbaxps ( 2014-05-03 05:15:00 -0500 )edit

Hack is not too bad. It requires knowledge of python-django-horizon packaging in RDO IceHouse 2014.1.But why picking up f21 source rpms you got RH's artwork ? Apparently, it was removed only for IceHouse.

DanIzack gravatar imageDanIzack ( 2014-05-05 05:04:03 -0500 )edit
DanIzack gravatar imageDanIzack ( 2014-05-07 22:42:25 -0500 )edit

Artwork is provided by openstack-dashboard-theme subpackage. yum remove it and you'll get a upstream theme.

mrunge gravatar imagemrunge ( 2014-05-13 14:21:00 -0500 )edit

those bz mentioned, have nothing to do with the described issue, which is completely unclear, because of missing log files.

mrunge gravatar imagemrunge ( 2014-05-13 14:21:42 -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-05-02 12:23:04 -0500

Seen: 415 times

Last updated: May 04 '14