Problem foreman 3.10 after upgrade

Problem:

all widget only loading.

Expected outcome:
Loading all widgets

Foreman and Proxy versions:
foreman-3.10.0

Foreman and Proxy plugin versions:

Installed Packages

  • ansible-collection-theforeman-foreman-4.0.0-2.el8.noarch
  • ansiblerole-foreman_scap_client-0.2.0-2.el8.noarch
  • candlepin-4.3.12-1.el8.noarch
  • candlepin-selinux-4.3.12-1.el8.noarch
  • foreman-3.10.0-1.el8.noarch
  • foreman-cli-3.10.0-1.el8.noarch
  • foreman-debug-3.10.0-1.el8.noarch
  • foreman-dynflow-sidekiq-3.10.0-1.el8.noarch
  • foreman-installer-3.10.0-1.el8.noarch
  • foreman-installer-katello-3.10.0-1.el8.noarch
  • foreman-obsolete-packages-1.6-1.el8.noarch
  • foreman-postgresql-3.10.0-1.el8.noarch
  • foreman-proxy-3.10.0-1.el8.noarch
  • foreman-redis-3.10.0-1.el8.noarch
  • foreman-release-3.10.0-1.el8.noarch
  • foreman-selinux-3.10.0-1.el8.noarch
  • foreman-service-3.10.0-1.el8.noarch
  • foreman-vmware-3.10.0-1.el8.noarch
  • katello-4.12.0-1.el8.noarch
  • katello-certs-tools-2.9.0-2.el8.noarch
  • katello-client-bootstrap-1.7.9-2.el8.noarch
  • katello-common-4.12.0-1.el8.noarch
  • katello-debug-4.12.0-1.el8.noarch
  • katello-repos-4.12.0-1.el8.noarch
  • katello-selinux-5.0.2-1.el8.noarch
  • pulpcore-obsolete-packages-1.0-9.el8.noarch
  • pulpcore-selinux-2.0.1-1.el8.x86_64
  • puppet-foreman_scap_client-1.0.0-2.el8.noarch
  • python3.11-pulp-ansible-0.20.2-3.el8.noarch
  • python3.11-pulp-certguard-1.7.1-2.el8.noarch
  • python3.11-pulp-cli-0.21.2-5.el8.noarch
  • python3.11-pulp-container-2.16.4-1.el8.noarch
  • python3.11-pulp-deb-3.0.1-1.el8.noarch
  • python3.11-pulp-file-1.15.1-2.el8.noarch
  • python3.11-pulp-glue-0.21.2-3.el8.noarch
  • python3.11-pulp-python-3.10.0-3.el8.noarch
  • python3.11-pulp-rpm-3.23.3-1.el8.noarch
  • python3.11-pulpcore-3.39.11-1.el8.noarch
  • rubygem-foreman-tasks-9.1.1-1.fm3_11.el8.noarch
  • rubygem-foreman_ansible-13.0.3-2.fm3_10.el8.noarch
  • rubygem-foreman_bootdisk-21.2.1-2.fm3_10.el8.noarch
  • rubygem-foreman_maintain-1.5.1-1.el8.noarch
  • rubygem-foreman_openscap-7.1.1-2.fm3_10.el8.noarch
  • rubygem-foreman_puppet-6.2.0-1.fm3_10.el8.noarch
  • rubygem-foreman_remote_execution-12.0.5-3.fm3_10.el8.noarch
  • rubygem-foreman_remote_execution-cockpit-12.0.5-3.fm3_10.el8.noarch
  • rubygem-foreman_snapshot_management-3.0.0-1.fm3_10.el8.noarch
  • rubygem-foreman_webhooks-3.2.2-2.fm3_10.el8.noarch
  • rubygem-hammer_cli-3.10.0-1.el8.noarch
  • rubygem-hammer_cli_foreman-3.10.0-1.el8.noarch
  • rubygem-hammer_cli_foreman_ansible-0.6.0-1.fm3_9.el8.noarch
  • rubygem-hammer_cli_foreman_puppet-0.0.7-1.fm3_10.el8.noarch
  • rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.fm3_10.el8.noarch
  • rubygem-hammer_cli_foreman_tasks-0.0.20-1.fm3_10.el8.noarch
  • rubygem-hammer_cli_katello-1.12.0-0.1.pre.master.20240122184453git9a6ae05.el8.noarch
  • rubygem-katello-4.12.0-1.el8.noarch
  • rubygem-pulp_ansible_client-0.20.3-1.el8.noarch
  • rubygem-pulp_certguard_client-1.6.5-1.el8.noarch
  • rubygem-pulp_container_client-2.16.4-1.el8.noarch
  • rubygem-pulp_deb_client-3.0.1-1.el8.noarch
  • rubygem-pulp_file_client-1.15.1-1.el8.noarch
  • rubygem-pulp_ostree_client-2.1.3-1.el8.noarch
  • rubygem-pulp_python_client-3.10.0-1.el8.noarch
  • rubygem-pulp_rpm_client-3.23.2-1.el8.noarch
  • rubygem-pulpcore_client-3.39.9-1.el8.noarch
  • rubygem-smart_proxy_pulp-3.3.0-1.fm3_10.el8.noarch

Distribution and version:
Rocky Linux 8.9
Other relevant data:

After removing

rubygem-foreman_snapshot_management-3.0.0-1.fm3_10.el8.noarch

Everything works
Is it possible to repair the foreman_snapshot_management plugin?

@MariaAga
Are these Component name already taken errors normal?

Should be fixed Bug #37154: "Component name already taken" warnings fix - Foreman
I’m updating my testing env this week to see if the errors are still there

2 Likes

The reason (again) for this is all plugins re-using foreman code. So for now we can 1. re-build all the plugins or 2. wait until Fixes #37252 - prevent duplicate foremanReact in plugins by MariaAga · Pull Request #10061 · theforeman/foreman · GitHub is merged.
This warning is just a warning and should not break anything.

2 Likes

Problem with re-using foreman code, It may also cause the snapshot management plugin not to work?

What do you mean specifically by “not work”?

When I have the snapshot management plugin installed, Widgets are not loading for me only show loading animation.

In dev tools i have:

When i uninstall plugin all loading fine

Thats a separate issue, I’ll check that.
The widgets that are not loading are part of the snapshot management plugin?

All dashboard widgets are no loading. And information about foreman in about tab.

1 Like

image
image

Interesting, we indeed forgot to rebuild the snapshot plugin when doing webpack rebuilds.
I’ve triggered rebuilds so you should be able to dnf upgrade and get a 3.0.0-2 package that fixes the issue.

4 Likes

Thanks, now it’s working!

2 Likes