Feature #16948

Mention command line options at the beginning of installer log

Added by Stephen Benjamin over 1 year ago. Updated about 1 year ago.

Assigned To:Ivan Necas
Target version:Foreman - Team Ivan Iteration 12
Difficulty: Pull request:https://github.com/theforeman/kafo/pull/206
Bugzilla link:1159294
Story points-
Velocity based estimate-


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):

How reproducible:

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:

Associated revisions

Revision 0cec7dff
Added by Ivan Necas over 1 year ago

Fixes #16948 - log the CLI options

It's very useful to know what parameters we actually passed to the installer
via command line.


#1 Updated by Stephen Benjamin over 1 year 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

#2 Updated by Marek Hulán over 1 year ago

  • Status changed from New to Closed
  • Assigned To set to Ivan Necas
  • Pull request https://github.com/theforeman/kafo/pull/206 added

#3 Updated by Ivan Necas about 1 year ago

  • Target version set to Team Ivan Iteration 12

Also available in: Atom PDF