1. deployed cluster with 3 controllers
2. started Rally task 'KeystoneBasic.create_delete_user'
3. scheduled logs rotation at the same time on all controllers (crontab -e; add line '15 9 * * * /etc/cron.daily/logrotate')
4. prepared httpd access log for rotation `mv var/log/apache2/access.log{,.bak}; fallocate -l 500M /var/log/apache2/access.log`
Result - no errors in Rally task (100% success), access log is successfully rotated. Sleep time before reloading apache configuration is different on controllers:
[root@nailgun ~]# runc 'grep sleep /etc/logrotate.d/httpd-prerotate/apache2'
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
node-6.test.domain.local
sleep 60
node-8.test.domain.local
sleep 240
node-7.test.domain.local
sleep 60
verified on 7.0 iso #288, steps:
1. deployed cluster with 3 controllers create_ delete_ user' daily/logrotate ') apache2/ access. log{,.bak} ; fallocate -l 500M /var/log/ apache2/ access. log`
2. started Rally task 'KeystoneBasic.
3. scheduled logs rotation at the same time on all controllers (crontab -e; add line '15 9 * * * /etc/cron.
4. prepared httpd access log for rotation `mv var/log/
Result - no errors in Rally task (100% success), access log is successfully rotated. Sleep time before reloading apache configuration is different on controllers:
[root@nailgun ~]# runc 'grep sleep /etc/logrotate. d/httpd- prerotate/ apache2' client/ config. yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_ CUSTOM_ SETTINGS environment variable. test.domain. local test.domain. local test.domain. local
DEPRECATION WARNING: /etc/fuel/
node-6.
sleep 60
node-8.
sleep 240
node-7.
sleep 60