
----- Original Message -----
From: "Karsten 'quaid' Wade" <kwade@redhat.com> To: infra@ovirt.org Sent: Tuesday, March 27, 2012 1:18:09 AM Subject: Re: Outage Update - www.ovirt.org and gerrit.ovirt.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/20/2012 08:22 AM, Eyal Edri wrote:
If jenkins.ovirt.org will have access to the other servers, we might be able to add system jobs that deleted old files and such,
That's an interesting idea. Is that a good way to handle this sort of thing? Akin to the way Puppet or Chef handle configurations?
Well, it was suggested on jenkins mailing lists and irc channel as a good quick solution for monitoring system jobs. It has numerous plugins that can suit all sorts of administration tasks. Jenkins has an option of monitoring an external job (like cron jobs) [1], so that can be used also. also, found this interesting blog about using jenkins for system tasks [2]. Can't say if using jenkins is better than having a nagios/cacti or any other monitoring service, i guess it should be considered as one more option to solve the monitoring problem. IMO i don't think puppet is a replacement for nagios/monitoring, it's more a tool to make sure all your severs are aligned to your needs (rpms/repos/services running,etc...). [1] https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs [2] http://morgajel.net/2011/12/12/1108 Eyal.
i do it downstream to delete old files from multiple dirs on jenkins slaves.
running a cmd like: 'sudo find . -type f -mtime +${days_to_keep} |grep -v ^\.$| sudo xargs rm -rf'
OK, I just put that in a small shell script (below) that I put in root's crontab to run daily.
I know things continue to be a bit hacky. Jason Brooks and I have been having discussions about how we can make it easier and more scalable to spin up project infrastructure, as this piecemeal approach is feeling organically cobbled-together instead of following a good plan. Maybe organic is fine, but it would help if we could just grab what we needed, as we needed it (planet? check. jenkins? check. etc.) without having to worry about all the infrastructure around it. To that end, Jason has been spinning up services using OpenShift quickstarts.
- - Karsten - -- name: Karsten 'quaid' Wade, Sr. Community Architect team: Red Hat Community Architecture & Leadership uri: http://communityleadershipteam.org http://TheOpenSourceWay.org gpg: AD0E0C41 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFPcPkw2ZIOBq0ODEERAmMsAJ4jOdCRG+ey0f8sZyzmxT5uLiJLCwCfQInn q1aWIaGWCrUHQTt3YAgtHo0= =Vve9 -----END PGP SIGNATURE----- _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra