Project

General

Profile

Bug #30214

No such file or directory - foreman-maintain on Debian

Added by Evgeni Golov about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The fixes for #30193 made the installer execute foreman-maintain code on Debian, but that's not available (or needed) there.

    /usr/lib/ruby/2.5.0/open3.rb:199:in `spawn': No such file or directory - foreman-maintain (Errno::ENOENT)
            from /usr/lib/ruby/2.5.0/open3.rb:199:in `popen_run'
            from /usr/lib/ruby/2.5.0/open3.rb:190:in `popen2e'
            from /usr/lib/ruby/2.5.0/open3.rb:349:in `capture2e'
            from /usr/share/foreman-installer/hooks/boot/01-kafo-hook-extensions.rb:110:in `execute_command'
            from /usr/share/foreman-installer/hooks/boot/03-foreman-maintain-extensions.rb:31:in `foreman_maintain'
            from /usr/share/foreman-installer/hooks/boot/03-foreman-maintain-extensions.rb:7:in `packages_locked?'
            from /usr/share/foreman-installer/hooks/pre_validations/09-version_locking.rb:15:in `block (4 levels) in load'
            from /usr/lib/ruby/vendor_ruby/kafo/hooking.rb:34:in `instance_eval'
            from /usr/lib/ruby/vendor_ruby/kafo/hooking.rb:34:in `block (4 levels) in load'
            from /usr/lib/ruby/vendor_ruby/kafo/hook_context.rb:16:in `instance_exec'
            from /usr/lib/ruby/vendor_ruby/kafo/hook_context.rb:16:in `execute'
            from /usr/lib/ruby/vendor_ruby/kafo/hooking.rb:51:in `block in execute'
            from /usr/lib/ruby/vendor_ruby/kafo/hooking.rb:49:in `each'
            from /usr/lib/ruby/vendor_ruby/kafo/hooking.rb:49:in `execute'
            from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:139:in `execute'
            from /usr/lib/ruby/vendor_ruby/clamp/command.rb:63:in `run'
            from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:118:in `run'
            from /usr/lib/ruby/vendor_ruby/clamp/command.rb:132:in `run'
            from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:162:in `run'
            from /usr/sbin/foreman-installer:8:in `<main>'

Related issues

Related to Installer - Bug #29097: Installer prints out puppet-agent-oauth on most runsClosed

History

#1 Updated by The Foreman Bot about 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/529 added

#2 Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Triaged changed from No to Yes
  • Target version deleted (2.1.0)
  • Assignee deleted (Evgeni Golov)
  • Status changed from Ready For Testing to Closed

#3 Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Related to Bug #29097: Installer prints out puppet-agent-oauth on most runs added

#4 Updated by Tomer Brisker about 1 month ago

  • Status changed from Closed to Resolved

Also available in: Atom PDF