Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh-mcollective-metadata creates superfluous emails for spurious facter errors #213

Closed
terrorobe opened this issue Apr 27, 2015 · 2 comments

Comments

@terrorobe
Copy link

Some facter modules can cause temporary errors with output like

From: root@bka-001-10.bka.cloud.example.com (Cron Daemon)
To: root@bka-001-10.bka.cloud.example.com
Subject: Cron <root@bka-001-10> /usr/share/mcollective/plugins/refresh-mcollective-metadata
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <PATH=/opt/puppet/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib64/fluent/ruby/bin:/usr/lib/fluent/ruby/bin>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
Message-Id: <E1YmisL-000Bxj-QO@bka-001-10.bka.cloud.example.com>
Date: Mon, 27 Apr 2015 15:15:05 +0200

Device "veth767d43e4-9" does not exist.
Device "veth767d43e4-9" does not exist.
Device "veth767d43e4-9" does not exist.
Device "veth767d43e4-9" does not exist.
Device "veth767d43e4-9" does not exist.
Device "veth78e0975b-8" does not exist.
Device "veth78e0975b-8" does not exist.
Device "veth78e0975b-8" does not exist.
Device "veth78e0975b-8" does not exist.
Device "veth78e0975b-8" does not exist.
Device "veth767d43e4-9" does not exist.
Device "veth767d43e4-9" does not exist.
Device "veth78e0975b-8" does not exist.
Device "veth78e0975b-8" does not exist.

shown for a single run.

This has been discussed in the past (e.g. https://projects.puppetlabs.com/issues/15035) but apparently seems to be unfixed in recent facter versions (in our case: 2.4.1-1puppetlabs1)

It would be great if the cronjob would be silenced by default (> /dev/null 2>&1)

@igalic
Copy link
Contributor

igalic commented Apr 29, 2015

@antafalos: ping

stefanandres pushed a commit to syseleven/puppet-mcollective that referenced this issue May 7, 2015
igalic added a commit that referenced this issue May 7, 2015
fix issue #213 by silencing refresh-mcollective-metadata cronjob
@terrorobe
Copy link
Author

Done and done!

gwarf pushed a commit to gnubila-france/puppetlabs-mcollective that referenced this issue Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants