mirror of
https://github.com/apache/cloudstack
synced 2026-08-29 16:44:23 +00:00
Merge pull request #1954 from myENA/bug/vpc-vr-logrotate
CLOUDSTACK-9795: moved logrotate from cron.daily to cron.hourly for vpcrouter moved logrotate from cron.daily to cron.hourly for vpcrouter in cloud-early-config. This brings 'vpcrouter' inline with 'router'. We are having issues with cloud.log not rotating fast enough, which filled up /var/log and ultimately caused the VR to stop functioning in such a way that it prevented new VMs from being deployed. * pr/1954: moved logrotate from cron.daily to cron.hourly for vpcrouter in cloud-early-config Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
This commit is contained in:
commit
3d78802ae7
@ -1058,6 +1058,10 @@ EOF
|
||||
echo 0 > /var/cache/cloud/dnsmasq_managed_lease
|
||||
fi
|
||||
load_modules
|
||||
|
||||
#setup hourly logrotate
|
||||
mv -n /etc/cron.daily/logrotate /etc/cron.hourly 2>&1
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user