Project

General

Profile

Actions

Bug #21855

closed

EventQueue grows without processing events

Added by Jonathon Turel over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

There was a recent dynflow upgrade which introduced this problem:

2017-12-04T15:30:09 ff91820f [dynflow] [D]          Step 9ee3bf1f-5e29-4ba4-b731-a03c582f7ceb: 2 suspended >>   running in phase      Run Actions::Katello::EventQueue::Monitor                                                        
2017-12-04T15:30:09 ff91820f [dynflow] [D]          Step 9ee3bf1f-5e29-4ba4-b731-a03c582f7ceb: 2   running >> suspended in phase      Run Actions::Katello::EventQueue::Monitor                                                        
2017-12-04T15:30:09 ff91820f [dynflow] [D]          Step 9ee3bf1f-5e29-4ba4-b731-a03c582f7ceb: 2 got event Actions::Katello::EventQueue::Monitor::Ready                                                                                
2017-12-04T15:30:09 ff91820f [dynflow] [D]          Step 9ee3bf1f-5e29-4ba4-b731-a03c582f7ceb: 2 suspended >>   running in phase      Run Actions::Katello::EventQueue::Monitor                                                        
2017-12-04T15:30:10 ff91820f [dynflow] [D]          Step 9ee3bf1f-5e29-4ba4-b731-a03c582f7ceb: 2   running >> suspended in phase      Run Actions::Katello::EventQueue::Monitor                                                        
2017-12-04T15:30:10 ff91820f [dynflow] [D]          Step 9ee3bf1f-5e29-4ba4-b731-a03c582f7ceb: 2 got event Actions::Katello::EventQueue::Monitor::Fatal[backtrace: /home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebric
k/type_check.rb:54:in `error'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebrick/type_check.rb:26:in `Type!'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebrick/product_constructors/abstract.r
b:26:in `block in initialize'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebrick/product_constructors/abstract.rb:26:in `map'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebrick/product_constr
uctors/abstract.rb:26:in `initialize'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebrick/product_variant.rb:90:in `new'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/algebrick-0.7.5/lib/algebrick/product_variant.rb:9
0:in `new'\n/home/vagrant/katello/app/lib/actions/katello/event_queue/suspended_action.rb:10:in `notify_queue_item'\n/home/vagrant/katello/app/lib/actions/katello/event_queue/poller_thread.rb:31:in `block (2 levels) in poll_for_eve
nts'\n/home/vagrant/katello/app/lib/actions/katello/event_queue/poller_thread.rb:28:in `loop'\n/home/vagrant/katello/app/lib/actions/katello/event_queue/poller_thread.rb:28:in `block in poll_for_events'\n/home/vagrant/.rvm/gems/rub
y-2.2.4/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `call'\n/home/vagrant/.rvm/gems/ruby-2.2.4/gems/logging

The time format passed from event_queue/suspended_action.rb was not matching what was expected in event_queue/monitor.rb

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7101 added
Actions #2

Updated by Jonathon Turel over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF