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
Updated by Timo Goebel about 6 years ago
- Related to Bug #21172: Unknown Variables in partition tables <%= @osver %> added
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Timo Goebel
- Pull request https://github.com/theforeman/foreman/pull/6120 added
Updated by Timo Goebel about 6 years ago
- Related to Bug #25126: AutoYaST templates fail to render (infinite loop, stack level too deep) added
Updated by Tomer Brisker about 6 years ago
- Status changed from Ready For Testing to Closed