Project

General

Profile

Bug #29694

Error in production log from Candlepin events handler

Added by Eric Helms 6 months ago. Updated 4 months ago.

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

Description

2020-05-04T17:18:50 [E|kat|b536a58c] Error handling Candlepin event
2020-05-04T17:18:50 [E|kat|b536a58c] undefined method `destroy!' for nil:NilClass
2020-05-04T17:18:50 [E|kat|b536a58c] /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/services/katello/candlepin/message_handler.rb:86:in `delete_pool'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/services/katello/candlepin/event_handler.rb:28:in `handle'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/services/katello/candlepin_event_listener.rb:58:in `block in handle_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/lib/katello/util/support.rb:76:in `with_db_connection'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/services/katello/candlepin_event_listener.rb:55:in `handle_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/services/katello/candlepin_event_listener.rb:38:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/lib/katello/messaging/stomp_connection.rb:45:in `block in subscribe'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/stomp/client.rb:189:in `block in subscribe'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:154:in `find_listener'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:184:in `block in create_listener_maps'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:203:in `block (2 levels) in start_listeners'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:194:in `loop'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:194:in `block in start_listeners'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2020-05-04T17:18:51 [I|bac|] Task {label: Actions::Katello::Organization::Destroy, id: b5235db2-f2ab-457e-ac1b-9bf04061f7e6, execution_plan_id: b0b0607d-91e0-4386-8252-4056ce6b21a0} state changed: stopped  result: success
2020-05-04T17:18:51 [I|bac|] Task {label: Actions::Katello::Organization::Destroy, id: b5235db2-f2ab-457e-ac1b-9bf04061f7e6, execution_plan_id: b0b0607d-91e0-4386-8252-4056ce6b21a0} state changed: stopped  result: success

Associated revisions

Revision b226cf98 (diff)
Added by Partha Aji 4 months ago

Fixes #29694 - Handles race condition on pool delete (#8778)

This commit handles the race condition where multiple
pool destroy messages are run on the same pool.

History

#1 Updated by Samir Jha 6 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0

#2 Updated by The Foreman Bot 4 months ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8778 added

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases Katello 4.0.0 added

#4 Updated by Partha Aji 4 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ian Ballou 4 months ago

  • Category set to Subscriptions

Also available in: Atom PDF