Hi, +1, but you might need to add 2>&1 as well, since I'm not sure if that warning is on stdout or stderr. I'm +1 for either version. ----- Original Message ----- > On Wed, Oct 21, 2015 at 10:34:50AM -0400, Ralph Bean wrote: > > This things warns about not being able to log and it emails pingou every > > half hour. > > The email has changed but keeps showing up as: > > ```` > Subject: Cron <fedmsg@fedimg01> /usr/share/fedimg/cronjobs/kill_ec2_nodes.py > > WARNING:moksha.hub:Cannot find qpid python module. Make sure you have > python-qpid installed. > ```` > > I would like to try the following patch to fix this issue: > > > ```` > From ffa57ef08d4ca1d6693bbc64ca7ce282c1cfc68b Mon Sep 17 00:00:00 2001 > From: Pierre-Yves Chibon <pingou@xxxxxxxxxxxx> > Date: Thu, 29 Oct 2015 11:56:26 +0100 > Subject: [PATCH] Skip warning about missing qpid python module > > --- > roles/fedimg/files/cron/kill_ec2_nodes.cron | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/roles/fedimg/files/cron/kill_ec2_nodes.cron > b/roles/fedimg/files/cron/kill_ec2_nodes.cron > index b684748..ccb5d33 100644 > --- a/roles/fedimg/files/cron/kill_ec2_nodes.cron > +++ b/roles/fedimg/files/cron/kill_ec2_nodes.cron > @@ -1,2 +1,2 @@ > MAILTO=sysadmin-fedimg-members@xxxxxxxxxxxxxxxxx > -0 * * * * fedmsg /usr/share/fedimg/cronjobs/kill_ec2_nodes.py > +0 * * * * fedmsg /usr/share/fedimg/cronjobs/kill_ec2_nodes.py | grep -v > 'Cannot find qpid python' > -- > 2.1.0 > ```` > > +1/-1/comments? > > Thanks, > Pierre > > _______________________________________________ > infrastructure mailing list > infrastructure@xxxxxxxxxxxxxxxxxxxxxxx > http://lists.fedoraproject.org/admin/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx > _______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx