Project

General

Profile

Actions

Bug #25136

closed

stack level to deep exception when rendering autoyast template

Added by Timo Goebel over 5 years ago. Updated over 5 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 #1

Updated by Timo Goebel over 5 years ago

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

Updated by The Foreman Bot over 5 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
Actions #3

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.19.1 added
Actions #4

Updated by Timo Goebel over 5 years ago

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

Updated by Tomer Brisker over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF