Project

General

Profile

Actions

Bug #37178

closed

undefined method `family' for nil:NilClass after cloning a rhel8 host

Added by Jeremy Lenz 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Hosts
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

14:46:17 rails.1 | 2024-02-19T14:46:17 [I|app|360a598e] Backtrace for 'Action failed' error (ActionView::Template::Error): undefined method `family' for nil:NilClass
14:46:17 rails.1 | 360a598e | /home/vagrant/katello/app/views/katello/api/v2/hosts/base.json.rabl:10:in `block in cached_source_1525107172771772690'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:158:in `node'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:116:in `block in compile_settings'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:115:in `each'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:115:in `compile_settings'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:60:in `block in to_hash'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:253:in `cache_results'
14:46:17 rails.1 | 360a598e | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rabl-0.16.1/lib/rabl/builder.rb:51:in `to_hash'


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #37206: Host base json template assumes host always has operating system assignedDuplicateAdam RuzickaActions
Actions

Also available in: Atom PDF