Contrail Ocata :: R4.0.1.0 build 19 :: horizon not reachable.

Bug #1713444 reported by Ritam Gangopadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Released
Critical
Ramprakash R
Trunk
Fix Committed
Critical
Ramprakash R

Bug Description

Setup:-

nodei19 10.204.217.131 openstack
nodei17 10.204.217.129 controller, analytics, analyticsdb
nodec28 10.204.217.13 controller, analytics, analyticsdb
nodec10 10.204.217.176 controller, analytics, analyticsdb
nodeg37 10.204.217.77 lb
nodei20 10.204.217.132 compute
nodec33 10.204.217.168 compute

horizon is not reachable through 10.204.217.131/horizon

root@nodei19:~# docker ps | grep horizon
69739c292d86 10.204.217.129:5100/ocata_image-horizon:R4.0 "kolla_start" About an hour ago Up About an hour horizon
root@nodei19:~# docker exec -it horizon bash
(horizon)[root@nodei19 /]# ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 200 4 ? Ss+ 13:55 0:00 /usr/local/bin/dumb-init /bin/bash /usr/local/bin/kolla_start
root 7 0.0 0.0 88904 6844 ? Ss 13:55 0:00 /usr/sbin/apache2 -DFOREGROUND
horizon 34 0.1 0.0 500976 183196 ? Sl 13:56 0:04 (wsgi:horizon-htt -DFOREGROUND
horizon 35 0.0 0.0 181288 8196 ? Sl 13:56 0:00 (wsgi:horizon-htt -DFOREGROUND
horizon 36 0.1 0.0 499952 182064 ? Sl 13:56 0:04 (wsgi:horizon-htt -DFOREGROUND
horizon 37 0.0 0.0 181280 8232 ? Sl 13:56 0:00 (wsgi:horizon-htt -DFOREGROUND
horizon 38 0.0 0.0 181280 8232 ? Sl 13:56 0:00 (wsgi:horizon-htt -DFOREGROUND
www-data 39 0.0 0.0 380460 11732 ? Sl 13:56 0:00 /usr/sbin/apache2 -DFOREGROUND
www-data 40 0.0 0.0 446044 11804 ? Sl 13:56 0:01 /usr/sbin/apache2 -DFOREGROUND
root 126 0.2 0.0 18252 3340 ? Ss 15:00 0:00 bash
root 144 0.0 0.0 34428 2952 ? R+ 15:00 0:00 ps -aux
(horizon)[root@nodei19 /]#

apache2 running on port 80 of the management interface

(horizon)[root@nodei19 /]# netstat -anp | grep apache2
tcp 0 0 10.204.217.131:80 0.0.0.0:* LISTEN 7/apache2
unix 2 [ ACC ] STREAM LISTENING 208087 - /var/run/apache2/wsgi.7.0.1.sock
unix 2 [ ACC ] STREAM LISTENING 208088 - /var/run/apache2/wsgi.7.0.2.sock
unix 2 [ ACC ] STREAM LISTENING 198391 - /var/run/apache2/wsgi.7.0.1.sock
unix 2 [ ACC ] STREAM LISTENING 198392 - /var/run/apache2/wsgi.7.0.2.sock
unix 2 [ ACC ] STREAM LISTENING 280218 7/apache2 /var/run/apache2/wsgi.7.0.1.sock
(horizon)[root@nodei19 /]#

Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

Browser access for horizon.

Changed in juniperopenstack:
milestone: r4.0.1.0 → r4.1.0.0-fcs
Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

Error logs seen in horizon while trying to access the page:-

==> /var/lib/docker/volumes/kolla_logs/_data/horizon/horizon.log <==
[Mon Aug 28 15:13:07.581325 2017] [wsgi:error] [pid 38:tid 139684134823680] Not Found: /horizon

==> /var/lib/docker/volumes/kolla_logs/_data/horizon/horizon-access.log <==
172.29.233.193 - - [28/Aug/2017:15:13:07 +0530] "GET /horizon HTTP/1.1" 404 6909 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
172.29.233.193 - - [28/Aug/2017:15:13:07 +0530] "GET /static/dashboard/css/34f8a8f8d5e5.css HTTP/1.1" 404 499 "http://10.204.217.131/horizon" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
172.29.233.193 - - [28/Aug/2017:15:13:08 +0530] "GET /static/dashboard/css/54d240c376c7.css HTTP/1.1" 404 500 "http://10.204.217.131/horizon" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
172.29.233.193 - - [28/Aug/2017:15:13:08 +0530] "GET /static/dashboard/js/830e26e34b64.js HTTP/1.1" 404 498 "http://10.204.217.131/horizon" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
172.29.233.193 - - [28/Aug/2017:15:13:08 +0530] "GET /i18n/js/horizon+openstack_dashboard+neutron_lbaas_dashboard+trove_dashboard+sahara_dashboard+sahara_dashboard.content.data_processing+sahara_dashboard.content.data_processing.clusters+sahara_dashboard.content.data_processing.data_plugins+sahara_dashboard.content.data_processing.jobs+muranodashboard+manila_ui.dashboards.project/ HTTP/1.1" 200 1047 "http://10.204.217.131/horizon" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
172.29.233.193 - - [28/Aug/2017:15:13:08 +0530] "GET /static/dashboard/js/d630c6767c8c.js HTTP/1.1" 404 497 "http://10.204.217.131/horizon" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
172.29.233.193 - - [28/Aug/2017:15:13:08 +0530] "GET /static/dashboard/js/f80cee6108e9.js HTTP/1.1" 404 497 "http://10.204.217.131/horizon" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"

Rudra Rugge (rrugge)
Changed in juniperopenstack:
assignee: nobody → Ramprakash R (ramprakash)
Revision history for this message
Ramprakash R (ramprakash) wrote :

There is an upstream bug in horizon:

https://bugs.launchpad.net/bugs/1672741

Due to this, the pages seem to work only on Mozilla.

A possible workaround is:

https://ask.openstack.org/en/question/107956/kolla-missing-js-and-css-in-horizon/

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35046
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35047
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35047
Committed: http://github.com/Juniper/contrail-ansible/commit/24d6663008dcb69e906e0164099d7996dc03e361
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 24d6663008dcb69e906e0164099d7996dc03e361
Author: Ramprakash <email address hidden>
Date: Tue Aug 29 10:36:44 2017 -0700

Workaround for upstream horizon bug #1672741

Workaround for the upstream horizon css bug.
Taken from:
https://ask.openstack.org/en/question/107956/kolla-missing-js-and-css-in-horizon/

Needs openstack_release to be set to "4.0.0"

Change-Id: Iae2e939d1e872132d4571042a2030c1115cd1e9e
Closes-bug: #1713444

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/35046
Committed: http://github.com/Juniper/contrail-ansible/commit/a78b16bc49fe8a53ab166e9f7ad3c4968ea66f3e
Submitter: Zuul (<email address hidden>)
Branch: master

commit a78b16bc49fe8a53ab166e9f7ad3c4968ea66f3e
Author: Ramprakash <email address hidden>
Date: Tue Aug 29 10:36:44 2017 -0700

Workaround for upstream horizon bug #1672741

Workaround for the upstream horizon css bug.
Taken from:
https://ask.openstack.org/en/question/107956/kolla-missing-js-and-css-in-horizon/

Needs openstack_release to be set to "4.0.0"

Change-Id: Iae2e939d1e872132d4571042a2030c1115cd1e9e
Closes-bug: #1713444

Jeba Paulaiyan (jebap)
tags: added: sanity
Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

Verified on build 34 R4.0.1.0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.