katello-nightly-rpm-pipeline 1513 failed

Katello nightly pipeline failed:


foreman-pipeline-katello-rpm-nightly (failed) (remote job)

This ran again with Candlepin 4.2.3 and the Candlepin-related errors are gone, but there is still one issue left. When the installer tries to enable the Puppet feature, it fails to do so and production.log has the following:

2022-12-12T08:15:27 [I|app|c1a325ec] Started GET "/api/v2/hosts?search=name%3D%22pipe-katello-server-nightly-centos8-stream.example.com%22" for at 2022-12-12 08:15:27 +0000
2022-12-12T08:15:27 [I|app|c1a325ec] Katello event daemon started process=74676
2022-12-12T08:15:27 [I|app|c1a325ec] Subscribed to katello.candlepin.candlepin_events
2022-12-12T08:15:27 [I|app|c1a325ec] Processing by Api::V2::HostsController#index as JSON
2022-12-12T08:15:27 [I|app|c1a325ec]   Parameters: {"search"=>"name=\"pipe-katello-server-nightly-centos8-stream.example.com\"", "apiv"=>"v2", "host"=>{}}
2022-12-12T08:15:27 [I|app|c1a325ec] Authorized user foreman_api_admin(API Admin)
2022-12-12T08:15:27 [I|kat|c1a325ec] Polling Katello Event Queue
2022-12-12T08:15:27 [I|app|c1a325ec]   Rendered api/v2/hosts/index.json.rabl within api/v2/layouts/index_layout (Duration: 56.4ms | Allocations: 16830)
2022-12-12T08:15:27 [I|app|c1a325ec]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 56.7ms | Allocations: 16893)
2022-12-12T08:15:27 [W|app|c1a325ec] Action failed
2022-12-12T08:15:27 [I|app|c1a325ec] Backtrace for 'Action failed' error (ActionView::Template::Error): undefined method `id' for nil:NilClass
 c1a325ec | /usr/share/gems/gems/katello-4.8.0.pre.master/app/views/katello/api/v2/content_facet/base.json.rabl:17:in `block in cached_source_2598748008738023352'

I have a hunch that this is related to Fixes #35580 - Allow host to register with multiple content view envi… · Katello/katello@c33da7a · GitHub so :eyes: @jeremylenz :wink:

Let’s try Fixes #35857 - don't assume single_content_view etc. is present in RABL templates by jeremylenz · Pull Request #10390 · Katello/katello · GitHub

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.