Project

General

Profile

Bug #28370

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

Added by Evgeni Golov 11 months ago. Updated 11 months ago.

Status:
Rejected
Priority:
Urgent
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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.

History

#1 Updated by Evgeni Golov 11 months 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)

#2 Updated by The Foreman Bot 11 months ago

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

#3 Updated by Evgeni Golov 11 months ago

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

Also available in: Atom PDF