Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2108637 - Remote execution fails for SSH Default when Remote Execution configured for Kerberos Authentication
Summary: Remote execution fails for SSH Default when Remote Execution configured for K...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.12.0
Assignee: Adam Ruzicka
QA Contact: Sam Bible
URL:
Whiteboard:
: 2125700 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-19 15:05 UTC by Paul Armstrong
Modified: 2022-12-09 18:35 UTC (History)
9 users (show)

Fixed In Version: smart_proxy_remote_execution_ssh-0.7.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:34:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35245 0 Normal New Remote execution fails for SSH Default when Remote Execution configured for Kerberos Authentication 2022-07-19 15:24:14 UTC
Red Hat Bugzilla 2108637 0 unspecified CLOSED Remote execution fails for SSH Default when Remote Execution configured for Kerberos Authentication 2022-12-09 18:42:07 UTC
Red Hat Issue Tracker SAT-12234 0 None None None 2022-08-16 17:39:14 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:34:54 UTC

Internal Links: 2108637 2125700

Description Paul Armstrong 2022-07-19 15:05:07 UTC
Description of problem:
Remote execution succeeds for Ansible jobs but fails for SSH Default when Remote Execution configured for Kerberos Authentication

Version-Release number of selected component (if applicable):
6.11

How reproducible:
Always

Steps to Reproduce:
1. Upgrade to 6.11
2. Ensure Remote Execution is configured for Kerberos Auth as per documentation
3. Schedule Remote Execution - SSH Default command
4. echo "I am able to execute"

Actual results:
Fails

Error initializing command: RuntimeError - Unable to create directory on remote system /var/tmp/foreman-ssh-cmd-...40d: exit code: 255
ssh_exchange_identification: Connection closed by remote host
Exit status: EXCEPTION

Expected results:
succeeds

Additional info:
comment out ProxyCommand in /etc/ssh/ssh_config allows execution to succeed. 
This is not a desirable workaround.

see https://bugzilla.redhat.com/show_bug.cgi?id=1650103
per Adam Ruzicka

Comment 1 Paul Armstrong 2022-07-19 15:20:11 UTC
If you want me to test anything, let me know.

Comment 3 Ron Lavi 2022-07-28 11:25:17 UTC
Upstream PR got merged, moving to POST.

Comment 5 Adam Ruzicka 2022-09-12 08:10:48 UTC
*** Bug 2125700 has been marked as a duplicate of this bug. ***

Comment 6 Sam Bible 2022-09-25 23:06:53 UTC
Version-Release number of selected component (if applicable):
6.12.0 - 7

Steps to Reproduce:
1. Ensure Remote Execution is configured for Kerberos Auth as per documentation
2. Schedule a remote execution job with a simple output on host

Actual results:
Succeeds

Expected results:
Succeeds

Comment 10 errata-xmlrpc 2022-11-16 13:34:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8506


Note You need to log in before you can comment on or make changes to this bug.