capsule-installer: check for validity of --certs-tar file location before commencing
Cloned from BZ:
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):
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
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
We should validate the value passed to --certs-tar before ever executing.
#2 Updated by Chris Roberts over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|58fa2a77ae23c440ba32ec7748a809d5114b25e7.