Description of problem: As in every single release since OSP10, the symlink between /etc/openstack-dashboard/local_settings.d and /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d doesn't get created properly. This is due to the fix for this being reverted every time a new version of the spec files is created. Version-Release number of selected component (if applicable): openstack-dashboard-15.1.1-0.20190605120413.a3ba780.el8ost.noarch How reproducible: every single time Steps to Reproduce: 1. install it 2. observe that /etc/openstack-dashboard/local_settings.d is a separate directory from /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d Actual results: configuration files in /etc/openstack-dashboard/local_settings.d are being ignored by horizon Expected results: configuration files in /etc/openstack-dashboard/local_settings.d should be respected Additional info:
So, the lines that seem to disappear are: mkdir -p %{buildroot}%{_sysconfdir}/openstack-dashboard/local_settings.d mv %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d/* %{buildroot}%{_sysconfdir}/openstack-dashboard/local_settings.d rmdir %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d ln -s ../../../../..%{_sysconfdir}/openstack-dashboard/local_settings.d %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d ... is that right?
https://review.rdoproject.org/r/21047 (master) https://review.rdoproject.org/r/21048 (stein-rdo)
Thank you Lon, yes, those are the lines that got lost. Thank you for adding them!
I'm not sure if there won't be a similar problem with the 'enabled' directory as well.
https://review.rdoproject.org/r/#/c/20028/ is also required to prevent breakage in openstack-manila-ui when creating the openstack-horizon-container image
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2811