Changing file permissions of glusterfs log files
This patch avoids creation of zero sized glusterfs log files by changing the file permissions from 600 to 755. Closes-Bug: #1455951 Change-Id: I2adfcab9c4a7ae0953dce93dc21821b571c9a04e
This commit is contained in:
parent
92458fa50d
commit
3a9360c3f5
|
@ -98,6 +98,10 @@ function configure_glusterfs_cinder {
|
|||
sudo gluster --mode=script volume start $vol_name
|
||||
sudo gluster --mode=script volume set $vol_name server.allow-insecure on
|
||||
done
|
||||
|
||||
# Changing file permissions of glusterfs logs.
|
||||
# This avoids creation of zero sized glusterfs log files while running CI job (Bug: 1455951).
|
||||
sudo chmod 755 -R /var/log/glusterfs/
|
||||
}
|
||||
|
||||
# this modifies the cinder.conf file and create glusterfs_shares_config file.
|
||||
|
|
Loading…
Reference in New Issue