Bug #37178
closedundefined method `family' for nil:NilClass after cloning a rhel8 host
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'
Updated by The Foreman Bot 10 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
Updated by Jeremy Lenz 10 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|664488d805244e2fa6dac9966eb5cc8b0b6488cc.
Updated by Ian Ballou 10 months ago
- Has duplicate Bug #37206: Host base json template assumes host always has operating system assigned added
Updated by The Foreman Bot 10 months ago
- Pull request https://github.com/Katello/katello/pull/10896 added
Updated by The Foreman Bot 10 months ago
- Pull request https://github.com/Katello/katello/pull/10918 added
Updated by The Foreman Bot 10 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)