Bug #25136
closedstack level to deep exception when rendering autoyast template
Description
When rendering an autoyast template, you get a stack level too deep error.
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
Workaround: comment load_template_vars in Host::Managed#diskLayout