Project

General

Profile

Bug #31740

katello_events and candlepin_events intermittently showing as not started

Added by Jeremy Lenz 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

b"Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1915705

Description of problem: Observed failure in katello_envent and candlepin_event while running hammer ping every 5 minutes

katello_events full message {'Status': 'FAIL', 'Server Response': 'Duration: 3ms', 'message': 'Not running'}
candlepin_events full message {'Status': 'FAIL', 'Server Response': 'Duration: 0ms', 'message': 'Not running'}

After looking into the logs, I can see the following in the log during the failure
~~
2021-01-08T03:55:02 [I|kat|] Stopping Katello Event Monitor
2021-01-08T09:38:33 [I|kat|] Stopping Katello Event Monitor
<truncated>
2021-01-08T09:49:08 [I|kat|] Stopping Katello Event Monitor
2021-01-08T10:34:43 [I|kat|] Stopping Katello Event Monitor
~
~
Detailed log during the failure
~~
2021-01-08T10:34:43 [I|kat|] Stopping Katello Event Monitor
2021-01-08T10:34:43 [I|dyn|] start terminating throttle_limiter...
2021-01-08T10:34:43 [I|dyn|] start terminating client dispatcher...
2021-01-08T10:34:43 [I|dyn|] stop listening for new events...
2021-01-08T10:34:43 [I|dyn|] start terminating clock...
~
~

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

Actual results: katello and candlepin events fails in hammer ping

Expected results: katello and candlepin events should not fail

Additional info:"

Associated revisions

Revision 37c2d873 (diff)
Added by Jeremy Lenz 9 months ago

Fixes #31740 - katello_events and candlepin_events intermittently show FAIL/not started (#9121)

  • Fixes #31740 - Refactor Katello::EventDaemon
    to fix intermittent ping failures

    -move EventDaemon to new runner namespace
    -move Rails cache reads to EventDaemon::Runner
    -move Rails cache writes to EventDaemon::Monitor
    -move the two files above from app/services to app/lib
    -Don't clear cache on service stop
    -cache initial state
    -update tests
    -add tests

History

#1 Updated by Samir Jha 9 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0
  • Subject changed from katello_events and candlepin_events intermittently showing as not started to katello_events and candlepin_events intermittently showing as not started

#2 Updated by The Foreman Bot 9 months ago

  • Assignee set to Jeremy Lenz
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9121 added

#3 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases Katello 4.1.0 added

#4 Updated by Jeremy Lenz 9 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jeremy Lenz 9 months ago

  • Fixed in Releases Katello 4.0.0 added
  • Fixed in Releases deleted (Katello 4.1.0)

Also available in: Atom PDF