Project

General

Profile

Actions

Bug #25386

closed

Upgrading a content proxy fails with module_enabled?: undefined method enabled? for nil:NilClass (NoMethodError)

Added by Ewoud Kohl van Wijngaarden over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Fixed in Releases:
Found in Releases:

Description

Run an upgrade with katello-installer --scenario foreman-proxy-content --upgrade

 /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hook_context.rb:71:in `module_enabled?': undefined method `enabled?' for nil:NilClass (NoMethodError)
     from /usr/share/katello-installer-base/hooks/post/30-upgrade.rb:45:in `block (4 levels) in load'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hooking.rb:34:in `instance_eval'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hook_context.rb:16:in `instance_exec'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hook_context.rb:16:in `execute'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hooking.rb:51:in `block in execute'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hooking.rb:49:in `each'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/hooking.rb:49:in `execute'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/kafo_configure.rb:476:in `block in run_installation'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/exit_handler.rb:29:in `call'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/exit_handler.rb:29:in `exit'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/kafo_configure.rb:169:in `exit'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/kafo_configure.rb:475:in `run_installation'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/kafo_configure.rb:156:in `execute'
     from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/kafo_configure.rb:119:in `run'
     from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
     from /usr/share/gems/gems/kafo-2.1.0/lib/kafo/kafo_configure.rb:163:in `run'
Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/712 added
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/713 added
Actions #3

Updated by Ewoud Kohl van Wijngaarden over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Justin Sherrill over 5 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF