Bug 1117984

Summary: capsule-installer: check for validity of --certs-tar file location before commencing.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: InstallationAssignee: Chris Roberts <chrobert>
Status: CLOSED NEXTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: bbuckingham, bkearney, chrobert, mmccune, pgervase, rdickens, stbenjam, xdmoon
Target Milestone: UnspecifiedKeywords: ReleaseNotes, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/17643
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:02:12 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:
Bug Depends On:    
Bug Blocks: 1115190, 1190823    

Description Corey Welton 2014-07-09 18:57:59 UTC
Description of problem:
If the filename entered for --certs-tar is not correct, the installer will commence and eventually error out for confusing reasons.  We should do some sanity checking to make sure the filename passed to --certs-tar is valid before starting install.

Version-Release number of selected component (if applicable):

Satellite-6.0.3-RHEL-6-20140702.0

How reproducible:


Steps to Reproduce:
1.  On main instance, create cert for target capsule and copy to target
2.  Attempt to install capsule, but use an incorrect string for the certs.tar file, i.e. cloud-qe-4.idm.lab.bos.redhat.com-certs.tra (note the typo)
3.  View results

Actual results:
Process errors out and user has to dig pretty deep into the log to figure out why the install failed; it is not really clear that it is due to a bad value passed to --certs-tar

Expected results:
We should validate the value passed to --certs-tar before ever executing.

Additional info:

Comment 2 Mike McCune 2014-08-21 19:54:47 UTC
*** Bug 1131635 has been marked as a duplicate of this bug. ***

Comment 7 David O'Brien 2016-04-18 00:47:46 UTC
Reset docs contact <> daobrien

Comment 9 Chris Roberts 2016-12-12 18:38:06 UTC
Created Redmine issue:

http://projects.theforeman.org/issues/17643

Comment 10 Bryan Kearney 2016-12-12 21:13:15 UTC
Upstream bug component is Installer

Comment 11 Bryan Kearney 2016-12-14 21:13:12 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17643 has been resolved.

Comment 12 Bryan Kearney 2017-08-01 20:02:12 UTC
The fix to this bug will be delivered with release 6.3 of Satellite.