Project

General

Profile

Actions

Bug #25038

closed

500 Error when viewing CoreOS provisioning template.

Added by Kyle Button almost 6 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

2018-09-25T20:58:17 [W|app|4d1e2] There was an error rendering the CoreOS provision template: | ActionView::Template::Error: ERF42-7327 [Foreman::Exception]: The snippet 'coreos_cloudconfig' threw an error: undefined method '#present?' for Subnet::Jail (Subnet::Ipv4) | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.5/lib/safemode/jail.rb:22:in `method_missing' | coreos_cloudconfig:100:in `bind' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.5/lib/safemode.rb:51:in `eval' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.5/lib/safemode.rb:51:in `eval' | /usr/share/foreman/lib/foreman/renderer.rb:127:in `render_safe' | /usr/share/foreman/lib/foreman/renderer.rb:245:in `unattended_render' | /usr/share/foreman/lib/foreman/renderer.rb:191:in `snippet' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.5/lib/safemode/scope.rb:37:in `method_missing' | CoreOS provision:88:in `bind' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.5/lib/safemode.rb:51:in `eval' | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.5/lib/safemode.rb:51:in `eval' | /usr/share/foreman/lib/foreman/renderer.rb:127:in `render_safe' | /usr/share/foreman/lib/foreman/renderer.rb:245:in `unattended_render'

This looks similar to https://projects.theforeman.org/issues/23012

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6091 added
Actions #2

Updated by Timo Goebel almost 6 years ago

  • Fixed in Releases 1.20.0 added
Actions #3

Updated by Kyle Button almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Tomer Brisker over 5 years ago

  • Category set to Templates
  • Assignee set to Kyle Button
Actions

Also available in: Atom PDF