Bug 1856758
Summary: | foreman-proxy ssh key is copied 3 times to the provisioned machine in /root/.ssh/authorized_keys | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ahmed Eladawy <aeladawy> |
Component: | Provisioning Templates | Assignee: | Adam Ruzicka <aruzicka> |
Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7.0 | CC: | arahaman, gsigrisi, kagarwal, kupadhya, matthew.lesieur, mhulan, oddvar.tjugen, smeyer, tbrisker |
Target Milestone: | 6.9.0 | Keywords: | Patch, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_remote_execution-4.2.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-21 13:15:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ahmed Eladawy
2020-07-14 11:57:03 UTC
Upstream bug assigned to aruzicka Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30762 has been resolved. *** Bug 1898589 has been marked as a duplicate of this bug. *** VERIFIED on sat6.9.0-14.0 the snippet now works correctly and the provisioned host ends up with a single occurrence of the key in authorized_keys file of root user: ``` [root@abel-frames ~]# cat ~/.ssh/authorized_keys ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCes4pAjGQ62TWSC2E6k0YcxCPV1nWKOfNjBtcVuOIqnC/kQ4Nh3JxAcRbaj9/zn4zWYXyYO4bS9AtvAweHf1C1fuzUopr73Rs822GlaktlA6UdwyGEv9gO2+INvNEyG167kAIa9qxygbqfiDnpjBCTdDE4iIlEkAvIdDv4sFEUOi4zmV5aBTRh0S3/UbtqH5Yescp2mRzpbz7AA4dEpjDu5mnVZXtsv8omhvukPgf9UNol6v4fMPHlPNvL8zZ8CXe51JAWcFzVS2rwKqt6R7nwhb6XEuVkNFNc8VgF52njoFQVUOia/XYcjzJmZI7kib2omcVfTxwIM/zgA38rjtdb foreman-proxy@<redacted>.com [root@abel-frames ~]# ``` 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 (Moderate: Satellite 6.9 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-2021:1313 |