Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-24920 Boot disk based Provisioning fails to generate ISO image for instance clietn.example.com: ERF42-8093 [Foreman::Exception]: ISO build failed
  3. SAT-25781

[QE] Boot disk based Provisioning fails to generate ISO image for instance clietn.example.com: ERF42-8093 [Foreman::Exception]: ISO build failed

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Bootdisk Plugin
    • False
    • Hide

      None

      Show
      None
    • False
    • SAT-10703 - Support Satellite and Capsule on RHEL 9
    • 0
    • Rocket

      Description of problem:

      • Provisioning virtual machines in the VMware platform vSphere 8.0 via satellite version 6.16 using the Bootdisk Method (BIOS and UEFI) failed to create the host with the error.

      Version-Release number of selected component (if applicable):

      satellite-common-6.16.0-0.3.stream.el9sat.noarch
      Red Hat Enterprise Linux release 9.3

      How reproducible:

      100%(Satellite running on RHEL-9)

      Steps to Reproduce:
      1. In the Satellite Web UI select Hosts --> Create Host. (Fill in all the required details)
      2. Next, in the Operating System tab, under Provisioning Method Select Boot Disk Based and click submit

      Actual results:

      Unable to save
      Failed to generate ISO image for instance client.example.com: ERF42-8093 [Foreman::Exception]: ISO build failed

      Expected results:

      Able to provision host using Auto-attach Bootdisk

      Additional info:

      ==> /var/log/foreman/production.log <==

      2024-05-05T08:06:48 [I|for|2e9a69b1] Retrieved http://satellite.example.com/pulp/content/Default_Organization/Library/content/dist/rhel9/9.3/x86_64/baseos/kickstart//images/pxeboot/initrd.img from local cache (use foreman-rake tmp:cache:clear to empty)
      2024-05-05T08:06:48 [W|app|2e9a69b1] Failed to generate ISO image for instance dora-rydolph.vms.sat.rdu2.redhat.com: ERF42-8093 [Foreman::Exception]: ISO build failed
      2024-05-05T08:06:48 [I|app|2e9a69b1] Backtrace for 'Failed to generate ISO image for instance client.example.com: ERF42-8093 [Foreman::Exception]: ISO build failed' error (Foreman::Exception): ERF42-8093 [Foreman::Exception]: ISO build failed
      2e9a69b1 | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/services/foreman_bootdisk/iso_generator.rb:160:in `generate'
      2e9a69b1 | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/services/foreman_bootdisk/iso_generator.rb:30:in `generate_full_host'
      2e9a69b1 | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:47:in `bootdisk_generate_iso_image'
      2e9a69b1 | /usr/share/gems/gems/foreman_bootdisk-21.2.3/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:71:in `setGenerateIsoImage'
      2e9a69b1 | /usr/share/foreman/app/models/concerns/orchestration.rb:227:in `execute'
      2e9a69b1 | /usr/share/foreman/app/models/concerns/orchestration.rb:152:in `block in process'
      2e9a69b1 | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `each'
      2e9a69b1 | /usr/share/foreman/app/models/concerns/orchestration.rb:144:in `process'
      2e9a69b1 | /usr/share/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration'
      2e9a69b1 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
      2e9a69b1 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:137:in `run_callbacks'
      2e9a69b1 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/callbacks.rb:824:in `_run_save_callbacks'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/callbacks.rb:457:in `create_or_update'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/timestamp.rb:126:in `create_or_update'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/persistence.rb:474:in `save'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/validations.rb:47:in `save'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/transactions.rb:298:in `block in save'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
      2e9a69b1 | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
      2e9a69b1 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
      2e9a69b1 | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
      ===============================================================================

      QE Tracker for https://issues.redhat.com/browse/SAT-24920
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2279151

              gtalreja@redhat.com Gaurav Talreja
              satellite-focaccia-bot Focaccia Bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: