Project

General

Profile

Actions

Bug #30214

closed

No such file or directory - foreman-maintain on Debian

Added by Evgeni Golov almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
Yes
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 1 (0 open1 closed)

Related to Installer - Bug #29097: Installer prints out puppet-agent-oauth on most runsClosedEric HelmsActions
Actions #1

Updated by The Foreman Bot almost 4 years ago

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

Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

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

Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

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

Updated by Tomer Brisker almost 4 years ago

  • Status changed from Closed to Resolved
Actions

Also available in: Atom PDF