Notable issues in Foreman 3.4 / Katello 4.6

Hi everybody, doing another feedback thread before the release,
thank you for the new features, especially the CV compare, didn’t know that I need that until I used it now, but not wanting to miss it again :slight_smile:

  • /foreman_statistics/statistics just gives an error, not sure if this is an upgrade error though (also [1])
    image
  • Noticed that the Ansible Collections view is available twice, once directly in the Content hover panel and another time in Other Content Types
  • The new great hardware panel in the new Host UI shows me an insane amount of disks for EL 8 and 9 machines running on ESXi and baremetal (checked with Rocky Linux machines) (it’s another value for every machine) (the agent version was still from 3.3)
    image
  • The hardware panel shows not all data for Ubuntu machines
    image
  • If I delete the currently selected ACS source the view on the right will stay after the source is gone on the left

Other stuff I might have already mentioned in earlier versions:

  • In the packages view, if the upgradable filter is selected it shows items with 0 Upgradable systems, right now it looks like this is explicitly the case with the RHEL 8 Zabbix repo
  • If you go to Infrastructure → Smart Proxies → <Foreman-system> → Puppet, it will show the Distribution Chart in a broken way (after reloading the page with i.e. F5 if will show it correctly)

Thanks for the great product, and these valuable improvements once again!

Foreman and Proxy versions:
Foreman 3.4.0-rc2
Katello 4.6.0.rc2

Foreman and Proxy plugin versions:
Tasks 7.0.0
Ansible 8.0.1
Bootdisk 19.0.5
Puppet 4.0.1
Remote Execution 7.1.1
Snapshot Management 2.0.1
Statistics 2.0.1
Templates 9.3.0
VMware Provider 3.4.0

Distribution and version:
Rocky Linux 8.6

Other relevant data:

[1]:

==> /var/log/httpd/foreman-ssl_access_ssl.log <==
10.0.0.10 - - [03/Sep/2022:23:20:27 +0200] "GET /foreman_statistics/statistics HTTP/1.1" 500 1477 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"

==> /var/log/foreman/production.log <==
2022-09-03T23:20:27 [I|app|816db815] Started GET "/foreman_statistics/statistics" for 10.0.0.10 at 2022-09-03 23:20:27 +0200
2022-09-03T23:20:27 [I|app|816db815] Processing by ForemanStatistics::ReactController#index as HTML
2022-09-03T23:20:27 [I|app|816db815]   Rendered html template within foreman_statistics/layouts/application_react (Duration: 0.0ms | Allocations: 3)
2022-09-03T23:20:27 [I|app|816db815]   Rendered layout /usr/share/gems/gems/foreman_statistics-2.0.1/app/views/foreman_statistics/layouts/application_react.html.erb (Duration: 14.5ms | Allocations: 7832)
2022-09-03T23:20:27 [W|app|816db815] undefined local variable or method `notifications' for #<ActionView::Base:0x00000000052cb0>
2022-09-03T23:20:27 [I|app|816db815] Backtrace for 'undefined local variable or method `notifications' for #<ActionView::Base:0x00000000052cb0>' error (ActionView::Template::Error): undefined local variable or method `notifications' for #<ActionView::Base:0x00000000052cb0>
 816db815 | /usr/share/gems/gems/foreman_statistics-2.0.1/app/views/foreman_statistics/layouts/application_react.html.erb:10:in `block in _58ae75df3c372f629d91c721cc3c4ef1'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/helpers/capture_helper.rb:45:in `capture'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/helpers/capture_helper.rb:159:in `content_for'
 816db815 | /usr/share/gems/gems/foreman_statistics-2.0.1/app/views/foreman_statistics/layouts/application_react.html.erb:9:in `_58ae75df3c372f629d91c721cc3c4ef1'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/base.rb:247:in `public_send'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/base.rb:247:in `_run'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/template.rb:154:in `block in render'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:205:in `instrument'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/template.rb:345:in `instrument_render_template'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/template.rb:152:in `render'
 816db815 | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:72:in `block in render_with_layout'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `block in instrument'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `instrument'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:55:in `render_template'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:11:in `render'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:117:in `block in _render_template'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/base.rb:273:in `in_rendering_context'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:116:in `_render_template'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/streaming.rb:218:in `_render_template'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:103:in `render_to_body'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/rendering.rb:25:in `render'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rendering.rb:36:in `render'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
 816db815 | /usr/share/ruby/benchmark.rb:308:in `realtime'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/core_ext/benchmark.rb:14:in `ms'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
 816db815 | /usr/share/gems/gems/activerecord-6.1.6.1/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:45:in `render'
 816db815 | /usr/share/gems/gems/foreman_statistics-2.0.1/app/controllers/foreman_statistics/react_controller.rb:6:in `index'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/base.rb:228:in `process_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 816db815 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 816db815 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 816db815 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 816db815 | /usr/share/gems/gems/audited-4.10.0/lib/audited/sweeper.rb:14:in `around'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 816db815 | /usr/share/gems/gems/audited-4.10.0/lib/audited/sweeper.rb:14:in `around'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:137:in `run_callbacks'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `block in instrument'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `instrument'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 816db815 | /usr/share/gems/gems/activerecord-6.1.6.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/base.rb:165:in `process'
 816db815 | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:39:in `process'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal.rb:190:in `dispatch'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal.rb:254:in `dispatch'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:32:in `each'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:32:in `serve'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:842:in `call'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/engine.rb:539:in `call'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in `public_send'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in `method_missing'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/mapper.rb:49:in `serve'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:32:in `each'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:32:in `serve'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:842:in `call'
 816db815 | /usr/share/gems/gems/katello-4.6.0.rc2/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 816db815 | /usr/share/gems/gems/katello-4.6.0.rc2/lib/katello/middleware/event_daemon.rb:10:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 816db815 | /usr/share/gems/gems/apipie-rails-0.5.20/lib/apipie/static_dispatcher.rb:66:in `call'
 816db815 | /usr/share/gems/gems/apipie-rails-0.5.20/lib/apipie/extractor/recorder.rb:137:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 816db815 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 816db815 | /usr/share/gems/gems/apipie-rails-0.5.20/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:27:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 816db815 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in `context'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/cookies.rb:689:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/rack/logger.rb:37:in `call_app'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/rack/logger.rb:28:in `call'
 816db815 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 816db815 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 816db815 | /usr/share/gems/gems/katello-4.6.0.rc2/lib/katello/prevent_json_parsing.rb:12:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in `call'
 816db815 | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 816db815 | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 816db815 | /usr/share/gems/gems/secure_headers-6.3.4/lib/secure_headers/middleware.rb:11:in `call'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/engine.rb:539:in `call'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in `public_send'
 816db815 | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in `method_missing'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
 816db815 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
 816db815 | /usr/share/gems/gems/puma-5.6.4/lib/puma/configuration.rb:252:in `call'
 816db815 | /usr/share/gems/gems/puma-5.6.4/lib/puma/request.rb:77:in `block in handle_request'
 816db815 | /usr/share/gems/gems/puma-5.6.4/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 816db815 | /usr/share/gems/gems/puma-5.6.4/lib/puma/request.rb:76:in `handle_request'
 816db815 | /usr/share/gems/gems/puma-5.6.4/lib/puma/server.rb:441:in `process_client'
 816db815 | /usr/share/gems/gems/puma-5.6.4/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 816db815 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-09-03T23:20:27 [I|app|816db815]   Rendered common/500.html.erb within foreman_statistics/layouts/application_react (Duration: 1.1ms | Allocations: 1698)
2022-09-03T23:20:27 [I|app|816db815]   Rendered layout /usr/share/gems/gems/foreman_statistics-2.0.1/app/views/foreman_statistics/layouts/application_react.html.erb (Duration: 15.6ms | Allocations: 9518)
2022-09-03T23:20:27 [I|app|816db815] Completed 500 Internal Server Error in 38ms (ActiveRecord: 1.2ms | Allocations: 20491)
2022-09-03T23:20:27 [F|app|816db815]   
 816db815 | ActionView::Template::Error (undefined local variable or method `notifications' for #<ActionView::Base:0x00000000052d28>):
 816db815 |      7: <% end %>
 816db815 |      8: 
 816db815 |      9: <% content_for(:content) do %>
 816db815 |     10:   <%= notifications %>
 816db815 |     11:   <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
 816db815 |     12:   <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
 816db815 |     13:   <%= react_component('ForemanStatistics') %>
 816db815 |   
 816db815 | foreman_statistics (2.0.1) app/views/foreman_statistics/layouts/application_react.html.erb:10:in `block in _58ae75df3c372f629d91c721cc3c4ef1'
 816db815 | foreman_statistics (2.0.1) app/views/foreman_statistics/layouts/application_react.html.erb:9:in `_58ae75df3c372f629d91c721cc3c4ef1'
 816db815 | app/controllers/application_controller.rb:353:in `generic_exception'
 816db815 | katello (4.6.0.rc2) lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 816db815 | katello (4.6.0.rc2) lib/katello/middleware/event_daemon.rb:10:in `call'
 816db815 | lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 816db815 | lib/foreman/middleware/telemetry.rb:10:in `call'
 816db815 | lib/foreman/middleware/logging_context_session.rb:22:in `call'
 816db815 | lib/foreman/middleware/logging_context_request.rb:11:in `call'
 816db815 | katello (4.6.0.rc2) lib/katello/prevent_json_parsing.rb:12:in `call'
2 Likes

Another thing I noticed now is, if I click on a job invocation (/job_invocations/<nmb>) I get the error

Oops, we’re sorry but something went wrong undefined method `template_inputs’ for nil:NilClass

I’m just not sure if this is something new.

# foreman-rake errors:fetch_log request_id=a202c5fc
Rubocop not loaded.
2022-09-05T13:11:31 [I|app|a202c5fc] Started GET "/job_invocations/128" for 10.0.0.10 at 2022-09-05 13:11:31 +0200
2022-09-05T13:11:31 [I|app|a202c5fc] Processing by JobInvocationsController#show as HTML
2022-09-05T13:11:31 [I|app|a202c5fc]   Parameters: {"id"=>"128"}
2022-09-05T13:11:31 [I|app|a202c5fc]   Rendered /usr/share/gems/gems/foreman_remote_execution-7.1.1/app/views/job_invocations/show.html.erb within layouts/application (Duration: 31.3ms | Allocations: 9559)
2022-09-05T13:11:31 [I|app|a202c5fc]   Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 9612)
2022-09-05T13:11:31 [W|app|a202c5fc] undefined method `template_inputs' for nil:NilClass
2022-09-05T13:11:31 [I|app|a202c5fc] Backtrace for 'undefined method `template_inputs' for nil:NilClass' error (ActionView::Template::Error): undefined method `template_inputs' for nil:NilClass
 a202c5fc | /usr/share/gems/gems/foreman_remote_execution-7.1.1/app/helpers/remote_execution_helper.rb:249:in `job_report_template'
 a202c5fc | /usr/share/gems/gems/foreman_remote_execution-7.1.1/app/helpers/remote_execution_helper.rb:67:in `job_invocation_task_buttons'
 a202c5fc | /usr/share/gems/gems/foreman_remote_execution-7.1.1/app/views/job_invocations/show.html.erb:12:in `_dab073de2fb972f71a736df527371264'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/base.rb:247:in `public_send'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/base.rb:247:in `_run'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/template.rb:154:in `block in render'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:205:in `instrument'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/template.rb:345:in `instrument_render_template'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/template.rb:152:in `render'
 a202c5fc | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `block in instrument'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `instrument'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `block in instrument'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `instrument'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:55:in `render_template'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/template_renderer.rb:11:in `render'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:117:in `block in _render_template'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/base.rb:273:in `in_rendering_context'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:116:in `_render_template'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/streaming.rb:218:in `_render_template'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:103:in `render_to_body'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/rendering.rb:25:in `render'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rendering.rb:36:in `render'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
 a202c5fc | /usr/share/ruby/benchmark.rb:308:in `realtime'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/core_ext/benchmark.rb:14:in `ms'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
 a202c5fc | /usr/share/gems/gems/activerecord-6.1.6.1/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:45:in `render'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/implicit_render.rb:35:in `default_render'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/base.rb:228:in `process_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 a202c5fc | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 a202c5fc | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 a202c5fc | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 a202c5fc | /usr/share/gems/gems/audited-4.10.0/lib/audited/sweeper.rb:14:in `around'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 a202c5fc | /usr/share/gems/gems/audited-4.10.0/lib/audited/sweeper.rb:14:in `around'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:137:in `run_callbacks'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `block in instrument'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:203:in `instrument'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 a202c5fc | /usr/share/gems/gems/activerecord-6.1.6.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/abstract_controller/base.rb:165:in `process'
 a202c5fc | /usr/share/gems/gems/actionview-6.1.6.1/lib/action_view/rendering.rb:39:in `process'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal.rb:190:in `dispatch'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_controller/metal.rb:254:in `dispatch'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:32:in `each'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/journey/router.rb:32:in `serve'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/route_set.rb:842:in `call'
 a202c5fc | /usr/share/gems/gems/katello-4.6.0.rc2/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 a202c5fc | /usr/share/gems/gems/katello-4.6.0.rc2/lib/katello/middleware/event_daemon.rb:10:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 a202c5fc | /usr/share/gems/gems/apipie-rails-0.5.20/lib/apipie/static_dispatcher.rb:66:in `call'
 a202c5fc | /usr/share/gems/gems/apipie-rails-0.5.20/lib/apipie/extractor/recorder.rb:137:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 a202c5fc | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 a202c5fc | /usr/share/gems/gems/apipie-rails-0.5.20/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:27:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 a202c5fc | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in `context'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/cookies.rb:689:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 a202c5fc | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/rack/logger.rb:37:in `call_app'
 a202c5fc | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/rack/logger.rb:28:in `call'
 a202c5fc | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 a202c5fc | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 a202c5fc | /usr/share/gems/gems/katello-4.6.0.rc2/lib/katello/prevent_json_parsing.rb:12:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in `call'
 a202c5fc | /usr/share/gems/gems/activesupport-6.1.6.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/static.rb:24:in `call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 a202c5fc | /usr/share/gems/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 a202c5fc | /usr/share/gems/gems/secure_headers-6.3.4/lib/secure_headers/middleware.rb:11:in `call'
 a202c5fc | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/engine.rb:539:in `call'
 a202c5fc | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in `public_send'
 a202c5fc | /usr/share/gems/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in `method_missing'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
 a202c5fc | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
 a202c5fc | /usr/share/gems/gems/puma-5.6.4/lib/puma/configuration.rb:252:in `call'
 a202c5fc | /usr/share/gems/gems/puma-5.6.4/lib/puma/request.rb:77:in `block in handle_request'
 a202c5fc | /usr/share/gems/gems/puma-5.6.4/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 a202c5fc | /usr/share/gems/gems/puma-5.6.4/lib/puma/request.rb:76:in `handle_request'
 a202c5fc | /usr/share/gems/gems/puma-5.6.4/lib/puma/server.rb:441:in `process_client'
 a202c5fc | /usr/share/gems/gems/puma-5.6.4/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 a202c5fc | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-09-05T13:11:31 [I|app|a202c5fc]   Rendered common/500.html.erb within layouts/application (Duration: 4.5ms | Allocations: 6164)
2022-09-05T13:11:31 [I|app|a202c5fc]   Rendered layouts/base.html.erb (Duration: 6.2ms | Allocations: 8762)
2022-09-05T13:11:31 [I|app|a202c5fc]   Rendered layout layouts/application.html.erb (Duration: 19.0ms | Allocations: 26403)
2022-09-05T13:11:31 [I|app|a202c5fc] Completed 500 Internal Server Error in 77ms (Views: 19.5ms | ActiveRecord: 6.8ms | Allocations: 44524)

Foreman version: 3.4.0-rc2
Plugins: 
 - foreman-tasks 7.0.0
 - foreman_ansible 8.0.1
 - foreman_bootdisk 19.0.5
 - foreman_puppet 4.0.1
 - foreman_remote_execution 7.1.1
 - foreman_snapshot_management 2.0.1
 - foreman_statistics 2.0.1
 - foreman_templates 9.3.0
 - katello 4.6.0.rc2
1 Like

@cintrix84 didn’t we fix this? I can’t find a redmine.

This is from the dmi::memory::maximum_capacity host fact. Do ubuntu machines have this?

Looks like a bug. @iballou is this a known issue or should we make a redmine?

Filed Bug #35498: In the packages view, if the upgradable filter is selected it shows items with 0 Upgradable systems - Katello - Foreman

This is probably a bug too but I’m not sure which plugin it would be…

1 Like

I’ve seen this before and I’m pretty sure this is fixed in the foreman_remote_execution plugin… @aruzicka did the correct foreman_remote_execution version coincide with Foreman 3.4?

1 Like

Oh, and @lumarel thanks for highlighting all these issues! :slight_smile:

1 Like

Hey @jeremylenz !

thank you for taking a look :slight_smile:

This is from the dmi::memory::maximum_capacity host fact. Do ubuntu machines have this?

Doesn’t looks like :thinking:
Maybe a package is missing from the dependencies, or it’s just not built with dmi readout.
All I can see are these (this is with subscription-manager from the atix repo):

# subscription-manager facts
cpu.core(s)_per_socket: 2
cpu.cpu(s): 2
cpu.cpu_socket(s): 1
cpu.thread(s)_per_core: 1
cpu.topology_source: kernel /sys cpu sibling lists
distribution.id: Focal Fossa
distribution.name: Ubuntu
distribution.version: 20.04
distribution.version.modifier: Unknown
last_boot: 2022-09-07 21:17:36
lscpu.address_sizes: 45 bits physical, 48 bits virtual
lscpu.architecture: x86_64
lscpu.bogomips: 4992.00
lscpu.byte_order: Little Endian
lscpu.core(s)_per_socket: 2
lscpu.cpu(s): 2
lscpu.cpu_family: 6
lscpu.cpu_mhz: 2496.000
lscpu.cpu_op-mode(s): 32-bit, 64-bit
lscpu.flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap xsaveopt arat md_clear flush_l1d arch_capabilities
lscpu.hypervisor_vendor: VMware
lscpu.l1d_cache: 64 KiB
lscpu.l1i_cache: 64 KiB
lscpu.l2_cache: 512 KiB
lscpu.l3_cache: 6 MiB
lscpu.model: 79
lscpu.model_name: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
lscpu.numa_node(s): 1
lscpu.numa_node0_cpu(s): 0,1
lscpu.on-line_cpu(s)_list: 0,1
lscpu.socket(s): 1
lscpu.stepping: 0
lscpu.thread(s)_per_core: 1
lscpu.vendor_id: GenuineIntel
lscpu.virtualization_type: full
lscpu.vulnerability_l1tf: Mitigation; PTE Inversion
lscpu.vulnerability_mds: Mitigation; Clear CPU buffers; SMT Host state unknown
lscpu.vulnerability_meltdown: Mitigation; PTI
lscpu.vulnerability_spec_store_bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
lscpu.vulnerability_spectre_v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
lscpu.vulnerability_spectre_v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling
lscpu.vulnerability_srbds: Not affected
lscpu.vulnerability_tsx_async_abort: Not affected
memory.memtotal: 4025480
memory.swaptotal: 2475004
net.interface.ens160.ipv4_address: 10.27.30.160
net.interface.ens160.ipv4_address_list: 10.27.30.160
net.interface.ens160.ipv4_broadcast: 10.27.30.255
net.interface.ens160.ipv4_broadcast_list: 10.27.30.255
net.interface.ens160.ipv4_netmask: 24
net.interface.ens160.ipv4_netmask_list: 24
net.interface.ens160.ipv6_address.link: fe80::250:56ff:fe8f:fa30
net.interface.ens160.ipv6_address.link_list: fe80::250:56ff:fe8f:fa30
net.interface.ens160.ipv6_netmask.link: 64
net.interface.ens160.ipv6_netmask.link_list: 64
net.interface.ens160.mac_address: 00:50:56:8f:fa:30
net.interface.lo.ipv4_address: 127.0.0.1
net.interface.lo.ipv4_address_list: 127.0.0.1
net.interface.lo.ipv4_broadcast: Unknown
net.interface.lo.ipv4_broadcast_list: Unknown
net.interface.lo.ipv4_netmask: 8
net.interface.lo.ipv4_netmask_list: 8
net.interface.lo.ipv6_address.host: ::1
net.interface.lo.ipv6_address.host_list: ::1
net.interface.lo.ipv6_netmask.host: 128
net.interface.lo.ipv6_netmask.host_list: 128
network.fqdn: us20-rhsm-dev.30.fritz.box
network.hostname: us20-rhsm-dev.30.fritz.box
network.hostname-override: us20-rhsm-dev
network.ipv4_address: 10.27.30.160
network.ipv6_address: ::1
proc_cpuinfo.common.address_sizes: 45 bits physical, 48 bits virtual
proc_cpuinfo.common.bogomips: 4992.00
proc_cpuinfo.common.bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
proc_cpuinfo.common.cache_alignment: 64
proc_cpuinfo.common.cache_size: 6144 KB
proc_cpuinfo.common.clflush_size: 64
proc_cpuinfo.common.cpu_cores: 2
proc_cpuinfo.common.cpu_family: 6
proc_cpuinfo.common.cpu_mhz: 2496.000
proc_cpuinfo.common.cpuid_level: 13
proc_cpuinfo.common.flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap xsaveopt arat md_clear flush_l1d arch_capabilities
proc_cpuinfo.common.fpu: yes
proc_cpuinfo.common.fpu_exception: yes
proc_cpuinfo.common.microcode: 0xf0
proc_cpuinfo.common.model: 79
proc_cpuinfo.common.model_name: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
proc_cpuinfo.common.physical_id: 0
proc_cpuinfo.common.power_management: Unknown
proc_cpuinfo.common.siblings: 2
proc_cpuinfo.common.stepping: 0
proc_cpuinfo.common.vendor_id: GenuineIntel
proc_cpuinfo.common.wp: yes
proc_stat.btime: 1662585456
supported_architectures: amd64
system.certificate_version: 3.2
system.default_locale: en_US.UTF-8
uname.machine: x86_64
uname.nodename: us20-rhsm-dev.30.fritz.box
uname.release: 5.4.0-109-generic
uname.sysname: Linux
uname.version: #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022
virt.host_type: vmware
virt.is_guest: True

Filed Bug #35498: In the packages view, if the upgradable filter is selected it shows items with 0 Upgradable systems - Katello - Foreman

Thank you for creating :slight_smile:

This is probably a bug too but I’m not sure which plugin it would be…

Took me a bit to search around, but looks to be this referenced in this page.

Looks like I found what is missing.
After installing python3-dmidecode from universe the dmi facts show up in subscription-manager facts.

It did not upload these to Foreman though, do I have to manually trigger that, I still see the last facts upload date from back when I installed this machine.

1 Like

yep that’s it, currently subscription-manager depends on python3-subscription-manager, which then currently depends on python3 (<< 3.11), python3 (>= 3.10~), python3-dateutil, python3-ethtool, python3-iniparse, python3-six, python3:any (>= 3.3~), python3-dbus, python3-rpm, virt-what, python3-debian, python3-gi, python3-decorator, python3-requests, apt-transport-katello
Which does not include python3-dmidecode

Ah, sorry about this. The issue itself is fixed by [1] which went out with foreman_remote_execution-8.0.0. I didn’t realize the packaging automation put it only into nightlies, but not into 3.4. Opened [2] and [3] to fix it.

[1] - https://github.com/theforeman/foreman_remote_execution/pull/736
[2] - https://github.com/theforeman/foreman-packaging/pull/8477
[3] - https://github.com/theforeman/foreman-packaging/pull/8480

2 Likes

Looks like the packages are available now!
Installed rubygem-foreman_remote_execution-8.0.0-2.fm3_4.el8 and rubygem-smart_proxy_remote_execution_ssh-0.8.0-1.fm3_4.el8 some minutes ago, and the views are working again, thank you :slight_smile:

1 Like

Let’s see if the rest will also get attention :eyes:

Best way to call attention is to file Redmine issues in the appropriate project, if they don’t exist already:

1 Like

Okay thanks will create one/some :slight_smile:
Just stuck to here, because it was mentioned in the Ready for Testing thread, that issues should go here in the forum :+1:

Looks like I found what is missing.
After installing python3-dmidecode from universe the dmi facts show up in subscription-manager facts.

@atix As this does not belong in Redmine, I hope it’s fine I ping all of you here,
maybe it’s intentional, I just want to make sure it gets mentioned :+1: