Project

General

Profile

Bug #3247

ruby193-rubygem-foreman_bootdisk should depend on genisoimage

Added by Jon Fautley about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
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.

History

#1 Updated by Dominic Cleal about 5 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.

Also available in: Atom PDF