Feature #16948
closedMention command line options at the beginning of installer log
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1159294
Description of problem:
It is worth listing installer command line options at the beginning of katello-installer.log file, due to two reasons:
1) If installation fails, knowing the options might be crucial to understand what was happening during the installation process.
2) If installation succeeds and Satellite6 is installed, we still know what options were used for the installation (e.g. via foreman-debug) - again very usefull for troubleshooting further problems.
Version-Release number of selected component (if applicable):
katello-installer-0.0.64-1.el6sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. Run installer with any set of options, e.g.:
katello-installer --reset --capsule-register-in-foreman=false --katello-user=foreman2 --foreman-user-groups=puppet2 --certs-ca-expiration=365000
2. Check katello.installer.log for presence of the options
Actual results:
grep "capsule-register-in-foreman" /var/log/katello-installer/katello-installer.log returns nothing, as well as grep of any other option.
Expected results:
each option provided on cmdline to be printed in katello-installer.log
Additional info:
Updated by Stephen Benjamin over 7 years ago
- Project changed from Foreman to Kafo
- Subject changed from Mention command line options at the beginning of installer log to Mention command line options at the beginning of installer log
Updated by Marek Hulán about 7 years ago
- Status changed from New to Closed
- Assignee set to Ivan Necas
- Pull request https://github.com/theforeman/kafo/pull/206 added