Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1380783 - [RFE] bootstrap.py: backport --rex to Satellite 6.2.x
[RFE] bootstrap.py: backport --rex to Satellite 6.2.x
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Bootstrap (Show other bugs)
6.2.3
Unspecified Unspecified
medium Severity medium (vote)
: 6.2.5
: Unused
Assigned To: Rich Jerrido
Sanket Jagtap
: FutureFeature, Triaged
Depends On:
Blocks: 1394391
  Show dependency treegraph
 
Reported: 2016-09-30 10:30 EDT by François Cami
Modified: 2016-12-12 12:14 EST (History)
6 users (show)

See Also:
Fixed In Version: katello-client-bootstrap-1.2.0-4
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1394391 (view as bug list)
Environment:
Last Closed: 2016-12-12 12:14:00 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2940 normal SHIPPED_LIVE Satellite 6.2.5 Async Bug Release 2016-12-12 17:08:21 EST

  None (edit)
Description François Cami 2016-09-30 10:30:47 EDT
Description of problem:
bootstrap.py does not install Foreman's SSH remote execution key.

Version-Release number of selected component (if applicable):
katello-client-bootstrap-1.1.0-2.el7sat

How reproducible:
Always

Steps to Reproduce:
1. register a client with bootstrap.py


Actual results:
No key in /root/.ssh/authorized_keys

Expected results:
Foreman's key there


Additional info:
upstream commit:
https://github.com/Katello/katello-client-bootstrap/commit/564dede32d8baa3c7b8647dcecbb52c060682adf
Comment 1 Rich Jerrido 2016-10-31 13:38:59 EDT
Moving to POST as patch is available upstream.
Comment 2 Sanket Jagtap 2016-12-02 07:32:53 EST
Build: Satellite 6.2.5 snap 1

Registered a client with bootstrap.py script.

Log:

Complete!
[SUCCESS], [2016-12-02 06:37:09], [/usr/bin/yum -y remove rhn-setup rhn-client-tools yum-rhn-plugin rhnsd rhn-check rhnlib spacewalk-abrt spacewalk-oscap osad 'rh-*-rhui-client'], completed successfully.

[NOTIFICATION], [2016-12-02 06:37:09], [Foreman's SSH key was added to /root/.ssh/authorized_keys]

cat .ssh/authorized_keys
ssh-rsa xxy.................................................................................................................................... foreman-proxy@abc.com

Key was added successfully.
Comment 3 errata-xmlrpc 2016-12-12 12:14:00 EST
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, 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/RHBA-2016:2940

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