Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only modify folders created by devstack
running chown and chmod on files and folders not created by devstack causes a few issues: * On nfs mounted directories it can take an extremely long time to chown -R some of the git repos, especially if any tox commands have been ran in the host * chown can cause the host files to get into a weird state if nfs is set up wrong. If files and folders are pre-existing we should assume they are in the correct state, and not modify them. Fix setup-devstack-log-dir to create the logs directory with correct permissions in the first place. Change-Id: I5ebdaded3ffd0a5bc70c5e9ab5b18daefb358f58 Signed-off-by: Graham Hayes <gr@ham.ie>
- Loading branch information
1 parent
6aeaceb
commit 352d58a
Showing
3 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,7 @@ | |
file: | ||
path: '{{ devstack_base_dir }}/logs' | ||
state: directory | ||
mode: 0755 | ||
owner: stack | ||
group: stack | ||
become: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters