[katello] Content Pages Blank

Problem: All pages related to content are blank, but I can still see content information using hammer.

Expected outcome: Content information should be displayed inside Foreman.

Foreman and Proxy versions: foreman-1.16.0-1.el7.noarch

Foreman and Proxy plugin versions: foreman-installer-katello-3.5.1.1-1.el7.noarch

Other relevant data:
Unfortunately, I’m not really sure where I should be looking for logs on this particular topic. I’m also, not sure what caused me to get into the current state. I did find a post advising to run foreman-rake katello:reindex, but that seems to be an obsolete command.

I think the command now is rake katello:reimport

Thanks, akofink. Unfortunately, running the command, restarting katello, and running it, again, has had no effect.

Do you see the api request in /var/log/foreman/production.log when you get the UI page? Could you please paste the request/response logs?

I think this is the relevant section:
2018-03-08 14:07:01 39bbec26 [app] [I] Started GET “/notification_recipients” for 172.20.69.68 at 2018-03-08 14:07:01 -0500
2018-03-08 14:07:01 39bbec26 [app] [I] Processing by NotificationRecipientsController#index as JSON
2018-03-08 14:07:01 39bbec26 [app] [I] Current user: JMPUGH (administrator)
2018-03-08 14:07:01 39bbec26 [app] [I] Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.6ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Started GET “/content_views” for 172.20.69.68 at 2018-03-08 14:07:02 -0500
2018-03-08 14:07:02 3d78c70e [app] [I] Processing by Bastion::BastionController#index as HTML
2018-03-08 14:07:02 3d78c70e [app] [I] Parameters: {“bastion_page”=>“content_views”}
2018-03-08 14:07:02 3d78c70e [app] [I] Current user: JMPUGH (administrator)
2018-03-08 14:07:02 3d78c70e [app] [I] Rendered home/_user_dropdown.html.erb (17.8ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Read fragment views/tabs_and_title_records-5 (0.1ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Rendered home/_topbar.html.erb (27.9ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Rendered layouts/base.html.erb (31.4ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-6.1.5/app/views/bastion/layouts/assets.html.erb (100.7ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-6.1.5/app/views/bastion/layouts/application.html.erb (102.5ms)
2018-03-08 14:07:02 3d78c70e [app] [I] Completed 200 OK in 118ms (Views: 102.3ms | ActiveRecord: 7.0ms)
2018-03-08 14:07:03 38354fe0 [app] [I] Started GET “/notification_recipients” for 172.20.69.68 at 2018-03-08 14:07:03 -0500
2018-03-08 14:07:03 38354fe0 [app] [I] Processing by NotificationRecipientsController#index as JSON
2018-03-08 14:07:03 38354fe0 [app] [I] Current user: JMPUGH (administrator)
2018-03-08 14:07:03 38354fe0 [app] [I] Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 3.2ms)

I got it back by running:
foreman-installer --scenario katello --upgrade
foreman-rake katello:reimport
foreman-rake katello:clean_backend_objects --trace

1 Like