Provisioning a server fails with "There was an error rendering the Satellite Kickstart Default template : ActionView::Template::Error: undefined method '#mask' for NilClass::Jail (NilClass)" error.
Issue
-
Provisioning a system fails with the below error.
2018-03-16 15:51:24 23b83b11 [app] [W] There was an error rendering the Satellite Kickstart Default template: | ActionView::Template::Error: undefined method '#mask' for NilClass::Jail (NilClass) | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.2/lib/safemode/jail.rb:22:in `method_missing' | Satellite Kickstart Default:85:in `bind' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.2/lib/safemode.rb:51:in `eval' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.2/lib/safemode.rb:51:in `eval' | /usr/share/foreman/lib/foreman/renderer.rb:56:in `render_safe' | /usr/share/foreman/lib/foreman/renderer.rb:175:in `unattended_render' | inline template:1:in `_f29b8530e02eee744bbfdce107d95ba0' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/template.rb:145:in `block in render' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/template.rb:333:in `instrument' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/template.rb:143:in `render' | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.2.0/lib/deface/action_view_extensions.rb:41:in `render' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
Environment
- Red Hat Satellite 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.