[Satellite 6]`undefined method `value for nil:NilClass (NoMethodError)` while upgrading Red Hat Satellite server.
Issue
- Red Hat Satellite upgrade failing with the following error:
# satellite-installer --scenario satellite --upgrade
Upgrading...
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:194:in `block (4 levels) in load': undefined method `value' for nil:NilClass (NoMethodError)
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:34:in `instance_eval'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hook_context.rb:13:in `instance_exec'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hook_context.rb:13:in `execute'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:51:in `block in execute'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:49:in `each'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:49:in `execute'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:375:in `run_installation'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:141:in `execute'
from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:148:in `run'
from /sbin/satellite-installer:12:in `<main>'
Environment
- Red Hat Satellite 6.2.x.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.