Project

General

Profile

Actions

Bug #3247

closed

ruby193-rubygem-foreman_bootdisk should depend on genisoimage

Added by Jon Fautley over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After installing the RPM for foreman-bootdisk and attempting to generate an ISO image, you will observe the following error:

[root@foreman ~]# foreman-rake bootdisk:generate:generic --trace
  • Invoke bootdisk:generate:generic (first_time)
  • Invoke environment (first_time)
  • Execute environment
    "WARNING: Please upgrade to mysql2. The old mysql adapter is not supported by foreigner."
  • Execute bootdisk:generate:generic
    rake aborted!
    ERF51-8093: ISO build failed
    /opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-1.2.2/app/services/bootdisk/iso_generator.rb:34:in `block in generate'
    /opt/rh/ruby193/root/usr/share/ruby/tmpdir.rb:83:in `mktmpdir'
    /opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-1.2.2/app/services/bootdisk/iso_generator.rb:12:in `generate'
    /opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-1.2.2/lib/tasks/bootdisk.rake:19:in `block (3 levels) in <top (required)>'
    [[snip]]

It turns out that this is because mkisofs cannot be found. A simple fix would be to ensure that the 'genisoimage' RPM is a dependency of the rubygem-foreman_bootdisk RPM.

Actions #1

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Closed
  • Assignee set to Dominic Cleal
  • % Done changed from 0 to 100

Thanks for the report. Fixed in rubygem-foreman_bootdisk-1.2.2-2 which will appear on the mirror later today.

Actions

Also available in: Atom PDF