Broken panel registration fix
Fixes broken panel registration for source install method due to python 3 changes changing the horizon_lib_dir path dynamically. This sets changes the horizon_dashboard_panel_dir var to utilize the horizon_lib_dir fact being set in in the horizon_install_source.yml playbook. Closes-Bug: 1848561 Depends-On: https://review.opendev.org/689323 Change-Id: Ide5181c14fdc2c67df4df3adaa155d5959b4c468
This commit is contained in:
parent
3018868844
commit
32a9e2b808
@ -17,11 +17,11 @@ horizon_package_list: "{{ horizon_distro_packages }}"
|
||||
_horizon_bin: "/openstack/venvs/horizon-{{ horizon_venv_tag }}/bin"
|
||||
|
||||
#NOTE(jrosser) for compatibility with py2 and py3 we detect the location of
|
||||
#this dir during the source install and set a fact
|
||||
#this dir during the source install and set a fact(horizon_lib_dir)
|
||||
#_horizon_lib_dir: "{{ _horizon_bin | dirname }}/lib/python2.7/dist-packages"
|
||||
horizon_dashboard_panel_dir: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled"
|
||||
|
||||
horizon_manage: "{{ _horizon_bin }}/horizon-manage.py"
|
||||
horizon_dashboard_panel_dir: "{{ _horizon_lib_dir }}/openstack_dashboard/local/enabled"
|
||||
_dashboard_panels_location:
|
||||
- "/enabled"
|
||||
- "/conf"
|
||||
|
Loading…
Reference in New Issue
Block a user