[openstack-dev] [Fuel] Removing old node logs

Andrey Danin adanin at mirantis.com
Tue Jun 24 15:33:45 UTC 2014


What about to gzip old logs by Astute and place them to a special
directory, which will be managed under logrotate.d, and logrotate will
remove untouched logs after 1 month.


On Tue, Jun 24, 2014 at 6:57 PM, Aleksandr Didenko <adidenko at mirantis.com>
wrote:

> Hi,
>
> If user runs some experiments with creating/deleting clusters, then taking
> care of old logs is under user's responsibility, I suppose. Fuel configures
> log rotation with compression for remote logs, so old logs will be gzipped
> and will not take much space.
>
> In case of additional boolean parameter, the default value should be
> "0-don't touch old logs".
>
> --
> Regards,
> Alex
>
>
> On Tue, Jun 24, 2014 at 4:07 PM, Vladimir Kozhukalov <
> vkozhukalov at mirantis.com> wrote:
>
>> Guys,
>>
>> What do you think of removing node logs on master node right after
>> removing node from cluster?
>>
>> The issue is when user do experiments he creates and deletes clusters and
>> old unused directories remain and take disk space. On the other hand, it is
>> not so hard to imaging the situation when user would like to be able to
>> take a look in old logs.
>>
>> My suggestion here is to add a boolean parameter into settings which will
>> manage this piece of logic (1-remove old logs, 0-don't touch old logs).
>>
>> Thanks for your opinions.
>>
>> Vladimir Kozhukalov
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140624/b673259b/attachment.html>


More information about the OpenStack-dev mailing list