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 #1

Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/Katello/katello/pull/10897 added
Actions #2

Updated by Samir Jha 9 months ago

  • Target version set to Katello 4.12.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot 9 months ago

  • Fixed in Releases Katello 4.13.0 added
Actions #4

Updated by Jeremy Lenz 9 months ago

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

Updated by Ian Ballou 9 months ago

  • Has duplicate Bug #37206: Host base json template assumes host always has operating system assigned added
Actions #6

Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/Katello/katello/pull/10896 added
Actions #7

Updated by The Foreman Bot 9 months ago

  • Fixed in Releases Katello 4.12.0 added
Actions #8

Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/Katello/katello/pull/10918 added
Actions #9

Updated by The Foreman Bot 9 months ago

  • Pull request deleted (https://github.com/Katello/katello/pull/10897, https://github.com/Katello/katello/pull/10896, https://github.com/Katello/katello/pull/10918)
Actions

Also available in: Atom PDF