additional service panels not present in the horizon dashboard

Bug #1903590 reported by Lukasz Zalewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Undecided
Unassigned

Bug Description

When overcloud is deployed using Victoria release with octavia and manila but when logged into the horizon interface the respective service panels (Network -> Load balancers, Share, etc) are missing.

Steps to reproduce:

Deploy overcloud and include templates for the additional services:
openstack overcloud deploy
...
-e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-overcloud.yaml
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-rgw.yaml
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-mds.yaml
-e /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml
-e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml

Please note, that I have omitted setup specific config overrides and more generic parameters, but can provide them if necessary.

After the deployment completes, log into the dashboard. You will not see Octavia, Manila and Ironic specific panels there. In addition Orchestration panel will be missing too.

After digging deeper, it looks like the /usr/local/bin/kolla_extend_start script inside the openstack-horizon container (pulled from docker.io/tripleomaster, digest id cd37cb40d6c8) refers to the locations of the specific panels using ${SITE_PACKAGES} prefix and that prefix variable is not defined/empty.

/var/log/containers/stdouts/horizon.log will contain entries similar to:
2020-11-09T19:02:20.791285515+00:00 stderr F ++ config_octavia_dashboard
2020-11-09T19:02:20.791285515+00:00 stderr F ++ config_dashboard yes /octavia_dashboard/enabled/_1482_project_load_balancer_panel.py /openstack_dashboard/local/enabled/_1482_project_load_balancer_panel.py
2020-11-09T19:02:20.791285515+00:00 stderr F ++ ENABLE=yes
2020-11-09T19:02:20.791285515+00:00 stderr F ++ SRC=/octavia_dashboard/enabled/_1482_project_load_balancer_panel.py
2020-11-09T19:02:20.791285515+00:00 stderr F ++ DEST=/openstack_dashboard/local/enabled/_1482_project_load_balancer_panel.py
2020-11-09T19:02:20.791285515+00:00 stderr F ++ [[ ! -f /octavia_dashboard/enabled/_1482_project_load_balancer_panel.py ]]
2020-11-09T19:02:20.791285515+00:00 stderr F ++ echo 'WARNING: /octavia_dashboard/enabled/_1482_project_load_balancer_panel.py is required'

A quick fix is to edit /usr/local/bin/kolla_extend_start script, add
SITE_PACKAGES=/usr/lib/python3.6/site-packages
and restart the service
systemctl restart tripleo_horizon.service

After the restart relevant panels appear in the horizon dashboard.

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

Other bug subscribers

Remote bug watches

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