Make sure the wsgi script dir mode is 0755
When the system-wide umask setting is more restrictive than the
default setting, the wsgi script directory permissions may not allow
the apache process to access them, resulting in errors.
A similar fix was applied to Keystone some time ago, see [1].
[1] - 4f15fb64b1
Change-Id: Ie9769657dc530bc895a3119b3e458864a8b5f293
This commit is contained in:
parent
0e741ed947
commit
33b05434f3
|
@ -252,6 +252,7 @@ define openstacklib::wsgi::apache (
|
|||
ensure => directory,
|
||||
owner => $user,
|
||||
group => $group,
|
||||
mode => '0755',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ describe 'openstacklib::wsgi::apache' do
|
|||
'ensure' => 'directory',
|
||||
'owner' => 'keystone',
|
||||
'group' => 'keystone',
|
||||
'mode' => '0755',
|
||||
)}
|
||||
|
||||
it { is_expected.to contain_file('keystone_wsgi').with(
|
||||
|
|
Loading…
Reference in New Issue