Project

General

Profile

Actions

Bug #15823

closed

Cron weekly katello-remove-orphans warnings sending mail

Added by Brad Buckingham over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
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 1 (1 open0 closed)

Blocks Katello - Tracker #15825: Sprint 1 : Content-FocusedNewBrad Buckingham07/24/2016

Actions
Actions #1

Updated by Brad Buckingham over 7 years ago

Actions #2

Updated by Chris Roberts over 7 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
Actions #3

Updated by The Foreman Bot over 7 years ago

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

Updated by Chris Roberts over 7 years ago

  • Difficulty set to easy
Actions #5

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 162
Actions #6

Updated by Chris Roberts over 7 years ago

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

Also available in: Atom PDF