Project

General

Profile

Bug #25136

stack level to deep exception when rendering autoyast template

Added by Timo Goebel about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
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

Related to Foreman - Bug #21172: Unknown Variables in partition tables <%= @osver %>Closed2017-10-02
Related to Foreman - Bug #25126: AutoYaST templates fail to render (infinite loop, stack level too deep)Duplicate

History

#1 Updated by Timo Goebel about 1 month ago

  • Related to Bug #21172: Unknown Variables in partition tables <%= @osver %> added

#2 Updated by The Foreman Bot about 1 month ago

  • Assignee set to Timo Goebel
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6120 added

#3 Updated by Tomer Brisker about 1 month ago

  • Fixed in Releases 1.19.1 added

#4 Updated by Timo Goebel about 1 month ago

  • Related to Bug #25126: AutoYaST templates fail to render (infinite loop, stack level too deep) added

#5 Updated by Tomer Brisker about 1 month ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF