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 1547175 - Migration steps from RHEL6 to RHEL7 do not include REx ssh key from source server
Summary: Migration steps from RHEL6 to RHEL7 do not include REx ssh key from source se...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Upgrading and Updating Red Hat Satellite
Version: 6.2.14
Hardware: All
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: Russell Dickenson
QA Contact: Melanie Corr
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-20 16:37 UTC by Christian Marineau
Modified: 2021-03-11 17:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-14 00:27:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1538448 0 high CLOSED [RFE] Need to back up SSH keys for remote execution by katello-backup|restore 2021-12-10 15:48:41 UTC
Red Hat Knowledge Base (Solution) 3367011 0 None None None 2018-03-01 01:45:02 UTC

Internal Links: 1538448

Description Christian Marineau 2018-02-20 16:37:54 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.3-beta/html-single/upgrading_and_updating_red_hat_satellite/#migrating_from_rhel_6_to_rhel_7

Section Number and Name: 
2.2. Migrating from Red Hat Enterprise Linux 6 to Red Hat Enterprise Linux 7

Describe the issue: 
For a existing Satellite using remote execution feature, there is an ssh key to be use for connecting to clients. Usually the ssh keys are in the following directory: /usr/share/foreman-proxy/.ssh

If a user follow the migration steps, the ssh key will be missing and the remote execution job will fail "Net::SSH::AuthenticationFailed Authentication failed" because the ssh connection can't use the expected private key.

Suggestions for improvement: 
Include additional steps to make the user backup the required ssh key and restore them to the target server.

Additional information: 
It would be nice to have this done automatically, however this would require modification to katello-backup, satellite-clone, and there could be a security concern to have this key include in the backup.

Comment 3 Andrew Dahms 2018-02-21 01:57:53 UTC
Assigning to Russell for review.


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