After Satellite 6.4 to 6.5 upgrade, "Something went wrong when retrieving the resource" when trying to view some Content Hosts.
Issue
- After upgrading from
Satellite 6.4
toSatellite 6.5
successfully, seeing the below error when trying to view someContent Hosts
:-
Something went wrong when retrieving the resource.
- The
production.log
shows the below error followed by a traceback :-
ActionView::Template::Error: undefined method `split' for nil:NilClass
/usr/share/foreman/app/models/nic/base.rb:90:in `type_name'
/usr/share/foreman/app/views/api/v2/interfaces/main.json.rabl:9:in `block in eval_source'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.13.1/lib/rabl/builder.rb:152:in `node'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.13.1/lib/rabl/builder.rb:114:in `block in compile_settings'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.13.1/lib/rabl/builder.rb:113:in `each'
Environment
- Red Hat Satellite 6.5
- Red Hat Satellite 6.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.