Problem after upgrade Rocky Linux 8 to Rocky Linux 9

Problem:
When create host with boot disk based i got error:

**Unable to save** * Failed to generate ISO image for instance hostname.domain: ERF42-8093 [Foreman::Exception]: ISO build failed

Expected outcome:
Create iso and upload to Vmware

Foreman and Proxy versions:
3.11.1

Foreman and Proxy plugin versions:

  • ansible-collection-theforeman-foreman-4.0.0-2.el9.noarch
  • ansiblerole-foreman_scap_client-0.2.0-2.el9.noarch
  • candlepin-4.4.14-1.el9.noarch
  • candlepin-selinux-4.4.14-1.el9.noarch
  • dynflow-utils-1.6.3-1.el9.x86_64
  • foreman-3.11.1-1.el9.noarch
  • foreman-cli-3.11.1-1.el9.noarch
  • foreman-debug-3.11.1-1.el9.noarch
  • foreman-dynflow-sidekiq-3.11.1-1.el9.noarch
  • foreman-installer-3.11.1-1.el9.noarch
  • foreman-installer-katello-3.11.1-1.el9.noarch
  • foreman-obsolete-packages-1.9-1.el9.noarch
  • foreman-postgresql-3.11.1-1.el9.noarch
  • foreman-proxy-3.11.1-1.el9.noarch
  • foreman-redis-3.11.1-1.el9.noarch
  • foreman-release-3.11.1-1.el9.noarch
  • foreman-selinux-3.11.1-1.el9.noarch
  • foreman-service-3.11.1-1.el9.noarch
  • foreman-vmware-3.11.1-1.el9.noarch
  • katello-4.13.1-1.el9.noarch
  • katello-certs-tools-2.10.0-1.el9.noarch
  • katello-client-bootstrap-1.7.9-2.el9.noarch
  • katello-common-4.13.1-1.el9.noarch
  • katello-repos-4.13.1-1.el9.noarch
  • katello-selinux-5.0.2-1.el9.noarch
  • pulpcore-obsolete-packages-1.2.0-1.el9.noarch
  • pulpcore-selinux-2.0.1-1.el9.x86_64
  • puppet-foreman_scap_client-1.0.0-2.el9.noarch
  • python3.11-pulp-ansible-0.21.7-1.el9.noarch
  • python3.11-pulp-cli-0.27.1-1.el9.noarch
  • python3.11-pulp-container-2.20.2-1.el9.noarch
  • python3.11-pulp-deb-3.2.0-1.el9.noarch
  • python3.11-pulp-glue-0.27.1-1.el9.noarch
  • python3.11-pulp-python-3.11.2-1.el9.noarch
  • python3.11-pulp-rpm-3.26.1-1.el9.noarch
  • python3.11-pulpcore-3.49.16-2.el9.noarch
  • rubygem-dynflow-1.8.4-1.el9.noarch
  • rubygem-foreman-tasks-9.1.1-1.fm3_11.el9.noarch
  • rubygem-foreman_ansible-14.0.0-2.fm3_11.el9.noarch
  • rubygem-foreman_bootdisk-21.2.3-2.fm3_11.el9.noarch
  • rubygem-foreman_maintain-1.6.9-1.el9.noarch
  • rubygem-foreman_openscap-8.0.2-1.fm3_11.el9.noarch
  • rubygem-foreman_puppet-7.0.0-1.fm3_11.el9.noarch
  • rubygem-foreman_remote_execution-13.1.0-1.fm3_11.el9.noarch
  • rubygem-foreman_remote_execution-cockpit-13.1.0-1.fm3_11.el9.noarch
  • rubygem-foreman_snapshot_management-3.0.1-1.fm3_11.el9.noarch
  • rubygem-foreman_webhooks-3.2.2-3.fm3_11.el9.noarch
  • rubygem-hammer_cli-3.11.0-1.el9.noarch
  • rubygem-hammer_cli_foreman-3.11.0-1.el9.noarch
  • rubygem-hammer_cli_foreman_ansible-0.7.0-1.fm3_11.el9.noarch
  • rubygem-hammer_cli_foreman_puppet-0.1.0-1.fm3_11.el9.noarch
  • rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.el9.noarch
  • rubygem-hammer_cli_foreman_tasks-0.0.21-1.fm3_11.el9.noarch
  • rubygem-hammer_cli_katello-1.13.0-0.2.pre.master.el9.noarch
  • rubygem-katello-4.13.1-1.el9.noarch
  • rubygem-pulp_ansible_client-0.21.3-1.el9.noarch
  • rubygem-pulp_certguard_client-3.49.6-1.el9.noarch
  • rubygem-pulp_container_client-2.20.0-1.el9.noarch
  • rubygem-pulp_deb_client-3.2.0-1.el9.noarch
  • rubygem-pulp_file_client-3.49.6-1.el9.noarch
  • rubygem-pulp_ostree_client-2.3.0-1.el9.noarch
  • rubygem-pulp_python_client-3.11.1-1.el9.noarch
  • rubygem-pulp_rpm_client-3.26.1-1.el9.noarch
  • rubygem-pulpcore_client-3.49.6-1.el9.noarch
  • rubygem-smart_proxy_dynflow-0.9.2-1.fm3_11.el9.noarch
  • rubygem-smart_proxy_pulp-3.3.0-1.el9.noarch

Distribution and version:
Rocky Linux 9.4

Log


2024-08-22T12:21:20 [I|for|9314410d] Retrieved XXXX/pulp/content/XXX/Prod/XXX/custom/Rocky_Linux_9/Rocky_Linux_9_BaseOS//images/pxeboot/vmlinuz from local cache (use foreman-rake tmp:cache:clear to empty)
2024-08-22T12:21:20 [I|for|9314410d] Retrieved XXX/pulp/content/XXX/Prod/XXX/custom/Rocky_Linux_9/Rocky_Linux_9_BaseOS//images/pxeboot/initrd.img from local cache (use foreman-rake tmp:cache:clear to empty)
2024-08-22T12:21:20 [W|app|9314410d] Failed to generate ISO image for instance XXX-XXX: ERF42-8093 [Foreman::Exception]: ISO build failed
2024-08-22T12:21:20 [I|app|9314410d] Backtrace for 'Failed to generate ISO image for instance XXX-XXX: ERF42-8093 [Foreman::Exception]: ISO build failed' error (Foreman::Exception): ERF42-8093 [Foreman::Exception]: ISO build failed
 9314410d | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/services/foreman_bootdisk/iso_generator.rb:160:in `generate'
 9314410d | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/services/foreman_bootdisk/iso_generator.rb:30:in `generate_full_host'
 9314410d | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:47:in `bootdisk_generate_iso_image'
 9314410d | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:71:in `setGenerateIsoImage'
 9314410d | /usr/share/foreman/app/models/concerns/orchestration.rb:227:in `execute'
 9314410d | /usr/share/foreman/app/models/concerns/orchestration.rb:152:in `block in process'
 9314410d | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `each'
 9314410d | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `process'
 9314410d | /usr/share/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:824:in `_run_save_callbacks'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/callbacks.rb:457:in `create_or_update'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/timestamp.rb:126:in `create_or_update'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/persistence.rb:474:in `save'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/validations.rb:47:in `save'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/transactions.rb:298:in `block in save'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/transactions.rb:298:in `save'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/suppressor.rb:44:in `save'
 9314410d | /usr/share/foreman/app/models/concerns/foreman/sti.rb:26:in `save'
 9314410d | /usr/share/foreman/app/controllers/hosts_controller.rb:100:in `create'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb:228:in `process_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rendering.rb:30:in `process_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 9314410d | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 9314410d | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 9314410d | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 9314410d | /usr/share/gems/gems/audited-5.6.0/lib/audited/sweeper.rb:16:in `around'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 9314410d | /usr/share/gems/gems/audited-5.6.0/lib/audited/sweeper.rb:16:in `around'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/callbacks.rb:41:in `process_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rescue.rb:22:in `process_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 9314410d | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb:165:in `process'
 9314410d | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:39:in `process'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:190:in `dispatch'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:254:in `dispatch'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `each'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `serve'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:842:in `call'
 9314410d | /usr/share/gems/gems/katello-4.13.1/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 9314410d | /usr/share/gems/gems/katello-4.13.1/lib/katello/middleware/event_daemon.rb:10:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 9314410d | /usr/share/gems/gems/apipie-rails-1.3.0/lib/apipie/static_dispatcher.rb:74:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 9314410d | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 9314410d | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 9314410d | /usr/share/gems/gems/apipie-rails-1.3.0/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 9314410d | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/cookies.rb:697:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:98:in `run_callbacks'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 9314410d | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:37:in `call_app'
 9314410d | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:28:in `call'
 9314410d | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 9314410d | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 9314410d | /usr/share/gems/gems/katello-4.13.1/lib/katello/prevent_json_parsing.rb:12:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
 9314410d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/executor.rb:14:in `call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 9314410d | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 9314410d | /usr/share/gems/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'
 9314410d | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
 9314410d | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/engine.rb:539:in `call'
 9314410d | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
 9314410d | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
 9314410d | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run'
 9314410d | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
 9314410d | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

I found solution after upgrade

when run

genisoimage

genisoimage: error while loading shared libraries: libusal.so.0: cannot open shared object file: No such file or directory

then
dnf install https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/l/libusal-1.1.11-48.el9.x86_64.rpm

and now it’s working :slight_smile:

1 Like