Bug #19575
closedUsing effective user leads to Error initializing command: RuntimeError - Unable to upload file on remote system: exit code: 127
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
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
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
Updated by Ivan Necas over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|3fb0706ff4d2b913007824be9c083fa96071565b.
Updated by Ivan Necas over 7 years ago
- Translation missing: en.field_release set to 263