Actions
Bug #17804
closedupgrade to 3.2.1 fails when pulpnode_enabled not defined
Description
If 'pulpnode_enabled' is not defined in the foreman proxy plugin answers, upgrades will fail.
It looks like this line is attempting to determine if the system is a capsule or katello:
capsule = @kafo.param('foreman_proxy_plugin_pulp', 'pulpnode_enabled').value
The failure is:
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:107:in `block (4 levels) in load': undefined method `value' for nil:NilClass (NoMethodError) from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hooking.rb:34:in `instance_eval' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hooking.rb:34:in `block (4 levels) in load' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hook_context.rb:13:in `instance_exec' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hook_context.rb:13:in `execute' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hooking.rb:51:in `block in execute' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hooking.rb:49:in `each' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/hooking.rb:49:in `execute' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:408:in `run_installation' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:147:in `execute' from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run' from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run' from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:154:in `run' from /sbin/foreman-installer:8:in `<main>'
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release set to 214
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release changed from 214 to 222
Updated by Justin Sherrill over 7 years ago
- Translation missing: en.field_release deleted (
222)
Updated by Justin Sherrill over 7 years ago
- Status changed from New to Rejected
- Translation missing: en.field_release set to 166
closing, as no users have complained about this.
Actions