Project

General

Profile

Actions

Bug #28370

closed

"Invalid tuning profile" when no --tuning is passed to the installer

Added by Evgeni Golov over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When you run foreman-installer --scenario katello, you end up with

Invalid tuning profile
'' is not one of default, medium, large, extra-large, extra-extra-large

as there is nothing that loads "default" as the default profile, when no --tuning was passed.

Actions #1

Updated by Evgeni Golov over 4 years ago

The real problem is that get_custom_fact will return nil when the fact isn't set yet:

[root@box ~]# foreman-installer --scenario katello --help |grep tuning
    --tuning INSTALLATION_SIZE    Tune for an installation size. Choices: default, medium, large, extra-large, extra-extra-large (default: nil)
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/416 added
Actions #3

Updated by Evgeni Golov over 4 years ago

  • Status changed from Ready For Testing to Rejected
  • Pull request deleted (https://github.com/theforeman/foreman-installer/pull/416)
Actions

Also available in: Atom PDF