Bug #37023
closedAfter upgrade checking sync status/content info fails till next sync
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2255385
Description of problem:
After Katello upgrade to 4.11 checking sync status/content info for smart proxy that has assigned at least single LFE fails.
It is failing for any LFE till next sync.
Before upgrade (on Katello 4.10) this worked fine.
It is not important that smart proxy is N-1 at that time 4.9. Even after upgrading smart proxy to 4.11 it continues to fail.
You can also reproduce it with fresh 4.11 integrated smart proxy and assigning it LFE that have undergone upgrade.
Version-Release number of selected component (if applicable):
Katello 4.11
How reproducible:
deterministic
Steps to Reproduce:
1. Have Katello 4.10 and smart proxy 4.10 integrated
2. Assign smart proxy to LFE
3. Upgrade Katello to 4.11
4. Check sync status or content info of the smart proxy
4a.
- hammer proxy content info --id 11
undefined method `[]' for nil:NilClass
- hammer proxy content synchronization-status --id 11
undefined method `[]' for nil:NilClass
UI
4c. Infrastructure -> smart proxys -> <external smart proxy>
popup
(!) Last sync failed: undefined method `[]' for nil:NilClass
4d. Infrastructure -> smart proxys -> <external smart proxy> -> pagelet Content
(!) 500 undefined method `[]' for nil:NilClass
Actual results:
ISE
Expected results:
No ISE
Additional info:
The issue persist till next smart proxy sync
2023-12-20T08:58:48 [I|app|49d567bd] Started GET "/katello/api/capsules/11/content/sync" for <CLIENT_IP> at 2023-12-20 08:58:48 -0500
2023-12-20T08:58:48 [I|app|49d567bd] Processing by Katello::Api::V2::CapsuleContentController#sync_status as JSON
2023-12-20T08:58:48 [I|app|49d567bd] Parameters: {"api_version"=>"v2", "id"=>"11", "capsule_content"=>{}}
2023-12-20T08:58:48 [I|app|49d567bd] Authorized user admin(Admin User)
2023-12-20T08:58:48 [I|app|49d567bd] Rendered /usr/share/gems/gems/katello-4.11.0.rc2/app/views/katello/api/v2/capsule_content/sync_status.json.rabl (Duration: 26.1ms | Allocations: 19453)
2023-12-20T08:58:48 [E|app|49d567bd] ActionView::Template::Error: undefined method `[]' for nil:NilClass
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/app/models/katello/concerns/smart_proxy_extensions.rb:461:in `block in last_env_sync_task'
49d567bd | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/relation/delegation.rb:88:in `each'
49d567bd | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/relation/delegation.rb:88:in `each'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/app/models/katello/concerns/smart_proxy_extensions.rb:461:in `detect'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/app/models/katello/concerns/smart_proxy_extensions.rb:461:in `last_env_sync_task'
49d567bd | (eval):44:in `block (2 levels) in cached_source_1899727987488358725'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:158:in `node'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:116:in `block in compile_settings'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:115:in `each'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:115:in `compile_settings'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:60:in `block in to_hash'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:253:in `cache_results'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:51:in `to_hash'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:27:in `map'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:27:in `to_a'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:93:in `to_hash'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:51:in `block in render'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:392:in `cache_results'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:50:in `render'
49d567bd | /usr/share/foreman/config/initializers/rabl_init.rb:49:in `render'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:126:in `block (2 levels) in merge_engines_into_result'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:125:in `each'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:125:in `block in merge_engines_into_result'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:121:in `each'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:121:in `merge_engines_into_result'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:57:in `block in to_hash'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:253:in `cache_results'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:51:in `to_hash'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:91:in `to_hash'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:104:in `to_dumpable'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:113:in `to_json'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:51:in `block in render'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:392:in `cache_results'
49d567bd | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:50:in `render'
49d567bd | /usr/share/foreman/config/initializers/rabl_init.rb:49:in `render'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/app/views/katello/api/v2/capsule_content/sync_status.json.rabl:3:in `_658b8f04bf933338271c50eb7c578986'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/base.rb:247:in `public_send'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/base.rb:247:in `_run'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/template.rb:154:in `block in render'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:205:in `instrument'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/template.rb:345:in `instrument_render_template'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/template.rb:152:in `render'
49d567bd | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/template_renderer.rb:55:in `render_template'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/template_renderer.rb:11:in `render'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/rendering.rb:117:in `block in _render_template'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/base.rb:273:in `in_rendering_context'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/rendering.rb:116:in `_render_template'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/streaming.rb:218:in `_render_template'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/rendering.rb:103:in `render_to_body'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/rendering.rb:25:in `render'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rendering.rb:36:in `render'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
49d567bd | /usr/share/ruby/benchmark.rb:308:in `realtime'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/core_ext/benchmark.rb:14:in `ms'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
49d567bd | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:45:in `render'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/implicit_render.rb:35:in `default_render'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/base.rb:228:in `process_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rendering.rb:30:in `process_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
49d567bd | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
49d567bd | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
49d567bd | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
49d567bd | /usr/share/gems/gems/audited-5.4.2/lib/audited/sweeper.rb:16:in `around'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
49d567bd | /usr/share/gems/gems/audited-5.4.2/lib/audited/sweeper.rb:16:in `around'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/callbacks.rb:41:in `process_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/rescue.rb:22:in `process_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
49d567bd | /usr/share/gems/gems/activerecord-6.1.7.6/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/app/controllers/katello/concerns/api/api_controller.rb:46:in `process_action'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/abstract_controller/base.rb:165:in `process'
49d567bd | /usr/share/gems/gems/actionview-6.1.7.6/lib/action_view/rendering.rb:39:in `process'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal.rb:190:in `dispatch'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_controller/metal.rb:254:in `dispatch'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:33:in `serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/mapper.rb:49:in `serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:50:in `block in serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `each'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:842:in `call'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/engine.rb:539:in `call'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `public_send'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `method_missing'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/mapper.rb:49:in `serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:50:in `block in serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `each'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/journey/router.rb:32:in `serve'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/routing/route_set.rb:842:in `call'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/lib/katello/middleware/event_daemon.rb:10:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/apipie-dsl-2.6.1/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
49d567bd | /usr/share/gems/gems/apipie-rails-1.2.3/lib/apipie/static_dispatcher.rb:68:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/static.rb:24:in `call'
49d567bd | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
49d567bd | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
49d567bd | /usr/share/gems/gems/apipie-rails-1.2.3/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb:15:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/etag.rb:27:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/conditional_get.rb:27:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/head.rb:12:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
49d567bd | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:266:in `context'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:260:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/cookies.rb:697:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/rack/logger.rb:37:in `call_app'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/rack/logger.rb:28:in `call'
49d567bd | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
49d567bd | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
49d567bd | /usr/share/gems/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/request_id.rb:26:in `call'
49d567bd | /usr/share/gems/gems/katello-4.11.0.rc2/lib/katello/prevent_json_parsing.rb:12:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/runtime.rb:22:in `call'
49d567bd | /usr/share/gems/gems/activesupport-6.1.7.6/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/executor.rb:14:in `call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/ssl.rb:77:in `call'
49d567bd | /usr/share/gems/gems/actionpack-6.1.7.6/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
49d567bd | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/engine.rb:539:in `call'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `public_send'
49d567bd | /usr/share/gems/gems/railties-6.1.7.6/lib/rails/railtie.rb:207:in `method_missing'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:74:in `block in call'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `each'
49d567bd | /usr/share/gems/gems/rack-2.2.8/lib/rack/urlmap.rb:58:in `call'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/configuration.rb:272:in `call'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/request.rb:100:in `block in handle_request'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/request.rb:99:in `handle_request'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/server.rb:443:in `process_client'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/server.rb:241:in `block in run'
49d567bd | /usr/share/gems/gems/puma-6.4.0/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
49d567bd | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-12-20T08:58:48 [I|app|49d567bd] Completed 500 Internal Server Error in 140ms (Views: 0.1ms | ActiveRecord: 18.0ms | Allocations: 29322)
Updated by The Foreman Bot 11 months ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello/pull/10835 added
Updated by Ian Ballou 11 months ago
This is also broken in Hammer when the content counts are completely missing.
Updated by Anonymous 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|90a8ba09f2512a30d854b2598a13ea3f96de7724.
Updated by Ian Ballou 11 months ago
- Subject changed from After upgrade checking sync status/content info fails till next sync to After upgrade checking sync status/content info fails till next sync
- Target version set to Katello 4.11.1
- Triaged changed from No to Yes
Updated by Ian Ballou 10 months ago
- Pull request deleted (
https://github.com/Katello/katello/pull/10835) - Fixed in Releases Katello 4.11.1 added
Updated by The Foreman Bot 9 months ago
- Pull request https://github.com/Katello/katello/pull/10920 added