summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadomir Dopieralski <rdopiera@redhat.com>2017-11-07 20:20:38 +0100
committerMartin André <m.andre@redhat.com>2017-11-09 07:31:30 +0000
commitefcd879b863d0e597f0b10b5df7ec74690aa23e5 (patch)
tree843b6522be1418669277551416f5bd31c97655ef
parent697ffad70d35ffeab939819a5b06d3ee0c1b1d67 (diff)
Fix rights to local_settings.d for dockerized Horizon
For some reasonf that directory doesn't have r/x rights, so when compress is ran as root, it can access config files in it, but when horizon is run by apache, it can't, and expects different theme files, thus failing with OfflineGenerationError. Giving apache access to that directory fixes the problem and makes the custom theme work. Closes-bug: #1730911 Change-Id: I53f6db23b036bc9b5a689bbac958550f384194c6 (cherry picked from commit 2827fa428c757180019dd7c1aacafcca554845ab)
-rw-r--r--docker/services/horizon.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/services/horizon.yaml b/docker/services/horizon.yaml
index 94fd9eef..44a76d36 100644
--- a/docker/services/horizon.yaml
+++ b/docker/services/horizon.yaml
@@ -105,6 +105,10 @@ outputs:
- path: /usr/share/openstack-dashboard/openstack_dashboard/local/
owner: apache:apache
recurse: false
+ # FIXME Our theme settings are there
+ - path: /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/
+ owner: apache:apache
+ recurse: false
docker_config:
step_2:
horizon_fix_perms: