Project

General

Profile

Feature #18174

Run katello-tracer-upload after reboot

Added by Sean O'Keeffe over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

We should add a cron to run katello-tracer-upload after a reboot as that will make any already reported Traces invalid

Associated revisions

Revision b5d8290e (diff)
Added by Sean O'Keeffe over 3 years ago

Fixes #18174 - Run katello-tracer-upload after reboot

Revision b5d8290e (diff)
Added by Sean O'Keeffe over 3 years ago

Fixes #18174 - Run katello-tracer-upload after reboot

Revision 0f0ad3f1
Added by Justin Sherrill over 3 years ago

Merge pull request #41 from sean797/cron

Fixes #18174 - Run katello-tracer-upload after reboot

Revision 0f0ad3f1
Added by Justin Sherrill over 3 years ago

Merge pull request #41 from sean797/cron

Fixes #18174 - Run katello-tracer-upload after reboot

Revision 66de7fbb (diff)
Added by Sean O'Keeffe over 3 years ago

Refs #18174 - Run katello-tracer-upload after reboot

Revision beab7bf3
Added by Justin Sherrill over 3 years ago

Merge pull request #361 from sean797/agent-cron

Refs #18174 - Run katello-tracer-upload after reboot

History

#1 Updated by The Foreman Bot over 3 years ago

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

#2 Updated by Sean O'Keeffe over 3 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/361 added

#3 Updated by Anonymous over 3 years ago

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

#4 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 188

#5 Updated by Hesham Ahmed about 2 years ago

the cron job on reboot is running before the network comes up in some cases. Maybe a delay should be added to the job to allow for the network to come up. Output from boot log showing cron running before NetworkManager:

Mar 15 09:22:11 juana-egerer.example.org CROND747: (root) CMD (/sbin/katello-tracer-upload > /dev/null 2>&1)
Mar 15 09:22:11 juana-egerer.example.org NetworkManager745: <info> [1521105731.9416] NetworkManager (version 1.8.0-11.el7_4) is starting... (for the first time)

#6 Updated by Sean O'Keeffe about 2 years ago

Thanks @Hesham!! that's confirms my suspicions https://github.com/Katello/katello-host-tools/pull/50

Also available in: Atom PDF