Project

General

Profile

Actions

Feature #27775

closed

Add support for pre-defined tuning profiles for Foreman & Katello installations

Added by Mike McCune over 4 years ago. Updated over 4 years ago.


Description

We need to be able to offer an easy route for users to tune Foreman & Katello with pre-defined custom-heira settings to reduce the number of steps and errors required to change common configurations needed when Foreman is used in medium to large scale environments.

Downstream has some example templates defined here for:

  • Medium 32G
  • Large 64G
  • Ex-Large 128G
  • 2Ex-Large 256G

[[https://github.com/RedHatSatellite/satellite-support/tree/master/tuning-profiles]]

Through discussion with Ewoud he is proposing we add the ability to deliver similar pre-defined custom-heira templates but be able to include them in the top level /etc/foreman-installer/custom-heira.yaml file via a one line parameter:

tuning::size: large

This would allow us to control the tuning templates and deliver new versions with users not having to change individual settings and preserve changes as upgrades are delivered.

This relies on some changes outlined here to be able to implement:

To automatically provide the scenario info, we need to modify the
heira_configurer right here:

[[https://github.com/theforeman/kafo/blob/8b5c184fc278df90bc55a367982be1c1275f6639/lib/kafo/hiera_configurer.rb#L75-L83]]

The above relies on an updated version of kafo and then requiring installer heirarchy modification outlined here:

https://github.com/theforeman/foreman-installer/blob/1f281337039e3e7d3c31d49935b23e7c0e2dad84/config/foreman-hiera.yaml#L15

The example needs to gain a line or 2 describing it:

[[https://github.com/theforeman/foreman-installer/blob/develop/config/custom-hiera.yaml]]

Lastly, we will need to deliver the pre-defined tuning templates in an RPM as well as properly document this because upgrading users who've modified custom-hiera.yaml will not get the new example.

Actions #1

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/387 added
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/398 added
Actions #3

Updated by Tomer Brisker over 4 years ago

  • Target version set to 1.24.0
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #5

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/404 added
Actions #6

Updated by Ewoud Kohl van Wijngaarden over 4 years ago

  • Fixed in Releases 1.24.0 added
  • Fixed in Releases deleted (2.0.0)
Actions #7

Updated by Ewoud Kohl van Wijngaarden over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Mike McCune over 4 years ago

  • Bugzilla link set to 1215390
Actions #9

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/411 added
Actions

Also available in: Atom PDF