Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
- SSH REX job fails on Satellite 7.
- Logs in dynflow console shows StandardError
- After debugging observed that foreman public keys were not copied but error logs haven't pointed it out.
Version-Release number of selected component (if applicable):
- satellite-7.0.0-0.5.beta.el7sat.noarch
How reproducible:
- Easily.
Steps to Reproduce:
1. Register a host to the Satellite.
2. Run the REX ssh commands job.
Actual results:
~~~
Error:
StandardError
Job execution failed
~~~
Expected results:
- Logs should point to the proper error description.
Verified that ssh log level has been bumped on Satellite 7.0 snap 9. In the case of missing keys, the proxy.log says:
2022-02-14T10:17:46 [E] error while initializing command RuntimeError Unable to create directory on remote system /var/tmp/foreman-ssh-cmd-9b4d94fe-87fe-40c6-a15a-bdd5786ae2ef: exit code: 255
root.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
That points to the issue. But the original request was about the dynflow console, which in this case still reports the generic "StandardError: Job execution failed", so I'm wondering if more can be done there.
Not really, no. Dynflow console gives access to low-level information and should be only used if the primary means (ie host output) give no hint towards what's going on. It isn't meant to be consumed by users directly
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