Project

General

Profile

Actions

Bug #32532

closed

tuning runs without valid tuning level

Added by Eric Helms over 3 years ago. Updated over 2 years ago.


Description

Steps to Reproduce:
1. # satellite-installer --tuning --help
2. # satellite-installer --tuning --something
3. # satellite-installer --tuning --mediuum

Actual results:
  1. satellite-installer --tuning --help
    ~~~
    Package versions are locked. Continuing with unlock.
    Success! * Satellite is running at https://ktordeur-testathon.kenny.lan
    • To install an additional Capsule on separate machine continue by running:

      capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"

    • Capsule is running at https://ktordeur-testathon.kenny.lan:9090

    The full log is at /var/log/foreman-installer/satellite.log
    Package versions are being locked.
    ~~~

  1. satellite-installer --tuning --something
    ~~~
    2021-02-11 10:10:02 [NOTICE] [pre_migrations] Executing hooks in group pre_migrations
    2021-02-11 10:10:02 [NOTICE] [pre_migrations] All hooks in group pre_migrations finished
    2021-02-11 10:10:02 [NOTICE] [boot] Executing hooks in group boot
    2021-02-11 10:10:02 [NOTICE] [boot] All hooks in group boot finished
    2021-02-11 10:10:02 [NOTICE] [init] Executing hooks in group init
    2021-02-11 10:10:02 [NOTICE] [init] All hooks in group init finished
    2021-02-11 10:10:02 [NOTICE] [root] Loading default values from puppet modules...
    2021-02-11 10:10:09 [NOTICE] [root] ... finished
    2021-02-11 10:10:09 [NOTICE] [pre_values] Executing hooks in group pre_values
    2021-02-11 10:10:09 [NOTICE] [pre_values] All hooks in group pre_values finished
    2021-02-11 10:10:12 [NOTICE] [pre_validations] Executing hooks in group pre_validations
    2021-02-11 10:10:13 [NOTICE] [pre_validations] All hooks in group pre_validations finished
    2021-02-11 10:10:13 [NOTICE] [root] Running validation checks
    2021-02-11 10:10:13 [NOTICE] [pre_commit] Executing hooks in group pre_commit
    2021-02-11 10:10:16 [NOTICE] [pre_commit] All hooks in group pre_commit finished
    2021-02-11 10:10:16 [NOTICE] [pre] Executing hooks in group pre
    2021-02-11 10:10:24 [NOTICE] [pre] All hooks in group pre finished
    2021-02-11 10:10:24 [NOTICE] [configure] Starting system configuration.
    The total number of configuration tasks may increase during the run.
    Observe logs or specify --verbose-log-level to see individual configuration tasks.
    2021-02-11 10:10:46 [NOTICE] [configure] 100 out of 2466 done.
    2021-02-11 10:10:46 [NOTICE] [configure] 200 out of 2466 done.
    2021-02-11 10:10:47 [NOTICE] [configure] 300 out of 2466 done.
    2021-02-11 10:10:47 [NOTICE] [configure] 400 out of 2466 done.
    2021-02-11 10:11:11 [NOTICE] [configure] 500 out of 2466 done.
    2021-02-11 10:11:12 [NOTICE] [configure] 600 out of 2466 done.
    2021-02-11 10:11:13 [NOTICE] [configure] 700 out of 2466 done.
    2021-02-11 10:11:14 [NOTICE] [configure] 800 out of 2468 done.
    2021-02-11 10:11:14 [NOTICE] [configure] 900 out of 2468 done.
    2021-02-11 10:11:16 [NOTICE] [configure] 1000 out of 2471 done.
    2021-02-11 10:11:16 [NOTICE] [configure] 1100 out of 2472 done.
    2021-02-11 10:11:17 [NOTICE] [configure] 1200 out of 2477 done.
    2021-02-11 10:11:17 [NOTICE] [configure] 1300 out of 2479 done.
    2021-02-11 10:11:17 [NOTICE] [configure] 1400 out of 2480 done.
    2021-02-11 10:11:17 [NOTICE] [configure] 1500 out of 2483 done.
    2021-02-11 10:11:27 [NOTICE] [configure] 1600 out of 2483 done.
    2021-02-11 10:11:28 [NOTICE] [configure] 1800 out of 2485 done.
    2021-02-11 10:13:02 [NOTICE] [configure] 1900 out of 2485 done.
    2021-02-11 10:13:03 [NOTICE] [configure] 2000 out of 2485 done.
    2021-02-11 10:13:08 [NOTICE] [configure] 2100 out of 3297 done.
    2021-02-11 10:13:08 [NOTICE] [configure] 2200 out of 3297 done.
    2021-02-11 10:13:08 [NOTICE] [configure] 2300 out of 3297 done.
    2021-02-11 10:13:09 [NOTICE] [configure] 2400 out of 3297 done.
    2021-02-11 10:13:09 [NOTICE] [configure] 2500 out of 3297 done.
    2021-02-11 10:13:09 [NOTICE] [configure] 2600 out of 3297 done.
    2021-02-11 10:13:10 [NOTICE] [configure] 2700 out of 3297 done.
    2021-02-11 10:13:10 [NOTICE] [configure] 2800 out of 3297 done.
    2021-02-11 10:13:10 [NOTICE] [configure] 2900 out of 3302 done.
    2021-02-11 10:13:11 [NOTICE] [configure] 3000 out of 3302 done.
    2021-02-11 10:13:11 [NOTICE] [configure] 3100 out of 3302 done.
    2021-02-11 10:13:19 [NOTICE] [configure] 3200 out of 3302 done.
    2021-02-11 10:13:21 [NOTICE] [configure] 3300 out of 3302 done.
    2021-02-11 10:13:26 [NOTICE] [configure] System configuration has finished.
    2021-02-11 10:13:26 [NOTICE] [post] Executing hooks in group post
    Success! * Satellite is running at https://ktordeur-testathon.kenny.lan
    • To install an additional Capsule on separate machine continue by running:

      capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"

    • Capsule is running at https://ktordeur-testathon.kenny.lan:9090

    The full log is at /var/log/foreman-installer/satellite.log
    Package versions are being locked.
    2021-02-11 10:13:29 [NOTICE] [post] All hooks in group post finished
    ~~~

Expected results:
Invalid tuning profile
'something' is not one of default, medium, large, extra-large, extra-extra-large

Additional info:
This probably affects older versions also.

Actions

Also available in: Atom PDF