Project

General

Profile

Actions

Bug #19575

closed

Using effective user leads to Error initializing command: RuntimeError - Unable to upload file on remote system: exit code: 127

Added by Ivan Necas over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1451675

Description of problem:

Error initializing command: RuntimeError - Unable to upload file to /var/tmp/foreman-ssh-cmd-c8506e1b-558d-45a1-a8b5-b4a1c77d7fd3/script on remote system: exit code: 127

Version-Release number of selected component (if applicable):
tfm-rubygem-remote-execution-core 1.0.3

How reproducible:
always

Steps to Reproduce:
1. run job with non-root effective user

Actual results:
The jobs fails with 'Error initializing command: RuntimeError - Unable to upload file to /var/tmp/foreman-ssh-cmd-c8506e1b-558d-45a1-a8b5-b4a1c77d7fd3/script on remote system: exit code: 127' as the result

Expected results:
job doesn't fail with this error

Additional info:
This is a regression introduced in https://bugzilla.redhat.com/show_bug.cgi?id=1389262

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ivan Necas
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/247 added
Actions #2

Updated by Ivan Necas over 7 years ago

  • Subject changed from Using effective user leads to Error initializing command: RuntimeError - Unable to upload file on remote system: exit code: 127 to Using effective user leads to Error initializing command: RuntimeError - Unable to upload file on remote system: exit code: 127
  • Target version set to 1.13.3
Actions #3

Updated by Ivan Necas over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Ivan Necas over 7 years ago

  • Translation missing: en.field_release set to 263
Actions

Also available in: Atom PDF