Project

General

Profile

Actions

Feature #16948

closed

Mention command line options at the beginning of installer log

Added by Stephen Benjamin over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:

Actions #1

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
Actions #2

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
Actions #3

Updated by Ivan Necas about 7 years ago

  • Target version set to 1.12.2
Actions #4

Updated by Greg Sutcliffe almost 6 years ago

  • Target version deleted (1.12.2)
Actions

Also available in: Atom PDF