Project

General

Profile

Bug #15823

Cron weekly katello-remove-orphans warnings sending mail

Added by Brad Buckingham about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1334650
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:

Related issues

Blocks Katello - Tracker #15825: Sprint 1 : Content-FocusedNew2016-07-24

Associated revisions

Revision 0b7806c6 (diff)
Added by Chris Roberts about 3 years ago

Fixes #15823 - Do not send mail on cron error (#257)

History

#1 Updated by Brad Buckingham about 3 years ago

#2 Updated by Chris Roberts about 3 years ago

  • Subject changed from Cron weekly katello-remove-orphans warnings sending mail to Cron weekly katello-remove-orphans warnings sending mail
  • Assignee set to Chris Roberts

#3 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/257 added

#4 Updated by Chris Roberts about 3 years ago

  • Difficulty set to easy

#5 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 162

#6 Updated by Chris Roberts about 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF