Project

General

Profile

Bug #32011

installer hangs when using --reset-data

Added by William Clark about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:

Description

The issue becomes apparent after sending keyboard interrupt

Traceback (most recent call last):
    17: from /sbin/foreman-installer:8:in `<main>'
    16: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:50:in `run'
    15: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
    14: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:169:in `run'
    13: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
    12: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:205:in `execute'
    11: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:454:in `run_installation'
    10: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:51:in `execute'
     9: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:51:in `each'
     8: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:53:in `block in execute'
     7: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hook_context.rb:19:in `execute'
     6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hook_context.rb:19:in `instance_eval'
     5: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:35:in `block (4 levels) in load'
     4: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:35:in `instance_eval'
     3: from /usr/share/foreman-installer/hooks/pre/10-reset_data.rb:121:in `block (4 levels) in load'
     2: from /usr/share/foreman-installer/hooks/pre/10-reset_data.rb:11:in `reset'
     1: from /usr/share/foreman-installer/hooks/pre/10-reset_data.rb:118:in `reset_pulpcore'
/usr/share/foreman-installer/hooks/pre/10-reset_data.rb:108:in `clear_pulpcore_content': undefined local variable or method `logging' for #<Kafo::HookContext:0x00000000020383b8> (NameError)
Did you mean?  logger


Related issues

Related to Kafo - Bug #32012: Exceptions in hooks "hang" and crash after a long timeNew

Associated revisions

Revision da6ce8cd (diff)
Added by William Clark about 2 months ago

Fixes #32011 - Fix logger typo in reset data hook

History

#1 Updated by The Foreman Bot about 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/658 added

#2 Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Triaged changed from No to Yes
  • Found in Releases 2.2.3 added

#3 Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Related to Bug #32012: Exceptions in hooks "hang" and crash after a long time added

#4 Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases 2.5.0 added

#5 Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Target version set to 2.3.4

#6 Updated by William Clark about 2 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)

Also available in: Atom PDF