diff options
| author | Gary Perkins <gary@garyperkins.com> | 2018-10-04 12:57:05 +0100 |
|---|---|---|
| committer | Gary Perkins <gary@garyperkins.com> | 2018-10-09 10:54:49 +0100 |
| commit | 5ade3f6a87a63cf5c4a5a84327d436fb7a1a7fab (patch) | |
| tree | ad4af28aebe06637cb4350794360502b2310f9a4 /docker | |
| parent | 1e2db34c7fabe8591b3a84edaf92e313016caaaa (diff) | |
| download | kolla-5ade3f6a87a63cf5c4a5a84327d436fb7a1a7fab.tar.gz kolla-5ade3f6a87a63cf5c4a5a84327d436fb7a1a7fab.zip | |
Fixed file modes in toolbox:/usr/share/ansible
Sometimes, when deploying with user root, the local repo has files
of mode 0600. This has been found to cause "Permission denied"
errors when deploying Glance.
This little fix is to explicitly set a more permissive file mode on
those files to allow the deployment of Glance to setup it's service
and endpoints.
Change-Id: I30ea6898e7bf1b6713cb41656420e8d515be224e
Signed-off-by: Gary Perkins <gary@garyperkins.com>
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/kolla-toolbox/Dockerfile.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/kolla-toolbox/Dockerfile.j2 b/docker/kolla-toolbox/Dockerfile.j2 index 0fc920ada..4a1b31891 100644 --- a/docker/kolla-toolbox/Dockerfile.j2 +++ b/docker/kolla-toolbox/Dockerfile.j2 @@ -100,6 +100,11 @@ ENV ANSIBLE_LIBRARY /usr/share/ansible:$ANSIBLE_LIBRARY COPY find_disks.py kolla_keystone_service.py kolla_keystone_user.py kolla_sanity.py /usr/share/ansible/ COPY ansible.cfg /var/lib/ansible/.ansible.cfg +RUN chmod 644 /usr/share/ansible/find_disks.py \ + /usr/share/ansible/kolla_keystone_service.py \ + /usr/share/ansible/kolla_keystone_user.py \ + /usr/share/ansible/kolla_sanity.py \ + /var/lib/ansible/.ansible.cfg COPY ansible_sudoers /etc/sudoers.d/kolla_ansible_sudoers RUN chmod 440 /etc/sudoers.d/kolla_ansible_sudoers |
