[kolla] horizon menus not working

asked 2019-09-21 13:12:27 -0500

vblando gravatar image

Release: Stein


[root@controller1 ~]# pip show kolla-ansible
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Name: kolla-ansible
Version: 8.0.0
Summary: Ansible Deployment of Kolla containers
Home-page: https://docs.openstack.org/kolla-ansible/latest/
Author: OpenStack
Author-email: openstack-discuss@lists.openstack.org
License: Apache License, Version 2.0
Location: /usr/lib/python2.7/site-packages
Requires: cryptography, setuptools, jmespath, oslo.utils, Jinja2, PyYAML, netaddr, docker, six, oslo.config, pbr
[root@controller1 ~]#
[root@controller1 ~]# pip --version
pip 19.2.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)
[root@controller1 ~]#
[root@controller1 ~]# ansible --version
ansible 2.8.3
  config file = None
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Jun 20 2019, 20:27:34) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
[root@controller1 ~]#
[root@controller1 ~]# docker --version
Docker version 19.03.1, build 74b1e89
[root@controller1 ~]#

I have experienced this for quite some time now when suddenly menus on horizon are not working, I have no custom configs and no modifications whatsoever. The only solution that I have found is to redeploy horizon by stopping and deleting the container image and redeploy, but then again it will stop working again and I have to redeploy again.

Here's what it says on the logs when I try to click on a menu (ex. LAUNCH INSTANCE).

[Sun Sep 22 01:57:03.740925 2019] [:error] [pid 58]   <script type='text/javascript' id='/static/framework/widgets/wizard/wizard.html'>
[Sun Sep 22 01:57:03.740930 2019] [:error] [pid 58]
[Sun Sep 22 01:57:03.740934 2019] [:error] [pid 58]
[Sun Sep 22 01:57:03.740941 2019] [:error] [pid 58] angular
[Sun Sep 22 01:57:03.740945 2019] [:error] [pid 58]  .module('horizon.app')
[Sun Sep 22 01:57:03.740950 2019] [:error] [pid 58]  .run(['$templateCache', function($templateCache) {
[Sun Sep 22 01:57:03.740954 2019] [:error] [pid 58]    $templateCache.put(
[Sun Sep 22 01:57:03.740959 2019] [:error] [pid 58]      "/static/framework/widgets/wizard/wizard.html",
[Sun Sep 22 01:57:03.740967 2019] [:error] [pid 58]      "<div class=\\"ng-wizard\\" ng-form=\\"wizardForm\\">\\n  <div class=\\"modal-header\\">\\n    <button type=\\"button\\" class=\\"close\\" ng-click=\\"cancel()\\" aria-hidden=\\"true\\" aria-label=\\"Close\\">\\n      <span aria-hidden=\\"true\\" class=\\"fa fa-close\\"></span>\\n    </button>\\n    <span class=\\"h4 modal-title\\" ng-bind=\\"::workflow.title\\"></span>\\n  </div>\\n\\n  <div class=\\"modal-body\\">\\n\\n  <div class=\\"alert alert-danger error-message\\" ng-show=\\"viewModel.hasError\\" ng-bind=\\"viewModel.errorMessage\\"></div>\\n\\n    <div class=\\"row\\">\\n      <div class=\\"col-xs-12 col-sm-3 ...
edit retag flag offensive close merge delete