Bug 1394367

Summary: Satellite 6.2.2 - bootstrap script legacy option is not properly working
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: BootstrapAssignee: Rich Jerrido <rjerrido>
Status: CLOSED ERRATA QA Contact: Evgeni Golov <egolov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.2CC: bbuckingham, bkearney, egolov, ehelms, jalviso, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1383763 Environment:
Last Closed: 2018-02-21 16:46:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1383763    
Bug Blocks:    

Comment 2 Bryan Kearney 2017-05-09 18:24:20 UTC
This should be fixed as of 1.13

Comment 3 Evgeni Golov 2017-08-09 08:46:09 UTC
The script now properly asks for the legacy password:

# python /var/www/html/pub/bootstrap.py -s satellite62.example.com -l admin --legacy-login=sat5-admin --legacy-purge -a Dev_RHEL6 -P -g "Development - RHEL 6" -L BNE -o TEST -v -R
Foreman Bootstrap Script
This script is designed to register new systems or to migrate an existing system to a Foreman server with Katello
admin's password:
Legacy User sat5-admin's password:
HOSTNAME - centos7
DOMAIN - kangae.example.com
FQDN - centos7.kangae.example.com
RELEASE - 7.3.1611
MAC - 52:54:00:63:42:4E
IP - None
foreman_fqdn - satellite62.example.com
LOGIN - admin
PASSWORD - changeme
HOSTGROUP - Development - RHEL 6
LOCATION - BNE
OPERATINGSYSTEM - None
PARTITIONTABLE - None
ORG - TEST
ACTIVATIONKEY - Dev_RHEL6
UPDATE - None
LEGACY LOGIN - sat5-admin
LEGACY PASSWORD - changeme
DOWNLOAD METHOD - http
SKIP - set(['puppet'])

→ VERIFIED

Comment 4 Evgeni Golov 2017-08-09 09:26:29 UTC
Version Tested:
Satellite-6.3 Snap 10

Comment 5 Bryan Kearney 2018-02-21 16:42:42 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, 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-2018:0336

Comment 6 Bryan Kearney 2018-02-21 16:46:50 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, 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-2018:0336

Comment 7 Satellite Program 2018-02-21 16:49:54 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, 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-2018:0336