Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1334650 - Cron weekly katello-remove-orphans warnings sending mail
Cron weekly katello-remove-orphans warnings sending mail
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity medium (vote)
: 6.2.2
: Unused
Assigned To: Chris Roberts
jcallaha
: Triaged
Depends On:
Blocks: 1122832
  Show dependency treegraph
 
Reported: 2016-05-10 04:46 EDT by Peter Vreman
Modified: 2016-09-14 17:00 EDT (History)
6 users (show)

See Also:
Fixed In Version: katello-3.0.0-12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-14 17:00:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 15823 None None None 2016-07-24 12:21 EDT
Red Hat Product Errata RHBA-2016:1885 normal SHIPPED_LIVE Satellite 6.2.2 bug fix update 2016-09-14 20:57:56 EDT

  None (edit)
Description Peter Vreman 2016-05-10 04:46:46 EDT
Description of problem:
The weekly cron is giving output of ruby warnigns. This sends an unneeded cron mail:

/etc/cron.weekly/katello-remove-orphans:

/opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/config/routes/overrides.rb:3: warning: already initialized constant Katello::WhitelistConstraint::PATHS
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/config/routes/overrides.rb:3: warning: previous definition of PATHS was here


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run /etc/cron.weekly/katello-remove-orphans from the commandline
2.
3.

Actual results:
output of warnigns to stdout

Expected results:
no output on stdout

Additional info:
Comment 3 Brad Buckingham 2016-07-24 12:21:16 EDT
Created redmine issue http://projects.theforeman.org/issues/15823 from this bug
Comment 4 Bryan Kearney 2016-07-24 14:15:20 EDT
Upstream bug component is WebUI
Comment 5 Bryan Kearney 2016-07-27 18:14:26 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/15823 has been closed
Comment 6 jcallaha 2016-09-07 14:40:34 EDT
Verified in Satellite 6.2.2. After running the script multiple times, no output seen in stdout.
Comment 8 errata-xmlrpc 2016-09-14 17:00:29 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1885

Note You need to log in before you can comment on or make changes to this bug.