Project

General

Profile

Actions

Bug #25136

closed

stack level to deep exception when rendering autoyast template

Added by Timo Goebel about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #21172: Unknown Variables in partition tables <%= @osver %>ClosedIvan Necas10/02/2017Actions
Related to Foreman - Bug #25126: AutoYaST templates fail to render (infinite loop, stack level too deep)DuplicateActions
Actions

Also available in: Atom PDF