Fix permissions for dockerized horizon
authorRadomir Dopieralski <openstack@sheep.art.pl>
Tue, 26 Sep 2017 08:19:47 +0000 (10:19 +0200)
committerRadomir Dopieralski <openstack@sheep.art.pl>
Thu, 12 Oct 2017 08:48:22 +0000 (08:48 +0000)
Horizon needs write access to its log file and read permissions for all
of its configuration files.

The code that was supposed to set the permissions did it in the wrong
directory.

Closes-Bug: #1719590
Co-Authored-By: Martin Andre <m.andre@redhat.com>
Change-Id: I0c125fac38cd186f98b9bc69bcc570f669eb6de1
(cherry picked from commit 960d7ff1025a568343aa5ae5ef95386306de8cab)

docker/services/horizon.yaml

index d6ffb6d..2c7d7a7 100644 (file)
@@ -113,7 +113,7 @@ outputs:
             volumes:
               - /var/log/containers/horizon:/var/log/horizon
               - /var/log/containers/httpd/horizon:/var/log/httpd
-              - /var/lib/config-data/horizon/etc/:/etc/
+              - /var/lib/config-data/puppet-generated/horizon/etc/openstack-dashboard:/etc/openstack-dashboard
         step_3:
           horizon:
             image: *horizon_image