Project

General

Profile

Actions

Bug #10516

closed

Hide parameters in the installer that are not relevant to Katello (i.e. Foreman mysql options)

Added by Edgars Mazurs almost 9 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

On RHEL7 systems MariaDB is the default DB rather than MySQL. However katello-installer is trying to install MySQL when --foreman-db-type=mysql is set.

Here is the relevant snippet from /usr/share/katello-installer/modules/mysql/manifests/params.pp

case $::osfamily {
'RedHat': {
if $::operatingsystem 'Fedora' and (is_integer($::operatingsystemrelease) and $::operatingsystemrelease >= 19 or $::operatingsystemrelease "Rawhide") {
$client_package_name = 'mariadb'
$server_package_name = 'mariadb-server'
} else {
$client_package_name = 'mysql'
$server_package_name = 'mysql-server'
}

So installer should also install mariadb and mariadb-server packages when operatingsystem is Redhat (or CentOS) and operatingsystemrelease is 7. Because in RHEL7 repos there is no mysql and mysql-server packages.


Related issues 2 (0 open2 closed)

Related to Katello - Feature #8125: As a user with multiple data centers, I need Katello to support MySQL backend so that I can use my fancy-schmancy replicated database universe for making sure Katello is happy when half the world blows up.RejectedActions
Related to Katello - Bug #15112: expose/add more options to the installer (was: how to manually install katello)Rejected05/20/2016Actions
Actions #1

Updated by Anonymous almost 9 years ago

  • Related to Feature #8125: As a user with multiple data centers, I need Katello to support MySQL backend so that I can use my fancy-schmancy replicated database universe for making sure Katello is happy when half the world blows up. added
Actions #2

Updated by Anonymous almost 9 years ago

Katello does not support MySQL at the moment, maybe the mysql module should be removed from katello-installer until this is tackled...

Standalone Foreman without Katello is working just fine with MySQL.

Actions #3

Updated by Edgars Mazurs almost 9 years ago

Ok, thanks. I was following katello-installer --help

--foreman-db-type Database 'production' type (valid types: mysql/postgresql/sqlite) (default: "postgresql")

Actions #4

Updated by Anonymous almost 9 years ago

Oh, I see... that's a parameter of the foreman module, that's explaining the original problem.

Actions #5

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release changed from 51 to 31
  • Triaged changed from No to Yes
Actions #6

Updated by Eric Helms almost 9 years ago

  • Subject changed from katello-installer fails on RHEL7 with --foreman-db-type=mysql to katello-installer fails with --foreman-db-type=mysql
Actions #7

Updated by Stephen Benjamin almost 9 years ago

  • Blocked by Feature #11091: Ability to hide parameters from help in config file added
Actions #8

Updated by Stephen Benjamin almost 9 years ago

  • Project changed from Katello to 39
  • Subject changed from katello-installer fails with --foreman-db-type=mysql to Hide
  • translation missing: en.field_release deleted (31)
Actions #9

Updated by Stephen Benjamin almost 9 years ago

  • Project changed from 39 to Katello
  • Subject changed from Hide to Hide parameters in the installer that are not relevant to Katello (i.e. Foreman mysql options)
Actions #10

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 114
Actions #11

Updated by Anonymous almost 8 years ago

  • Related to Bug #15112: expose/add more options to the installer (was: how to manually install katello) added
Actions #12

Updated by John Mitsch over 4 years ago

  • Target version deleted (Katello Backlog)

Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.

Actions #13

Updated by Tomer Brisker over 4 years ago

  • Blocked by deleted (Feature #11091: Ability to hide parameters from help in config file)
Actions #14

Updated by Tomer Brisker over 4 years ago

  • Status changed from New to Rejected

Foreman is dropping support for MySQL database - see https://community.theforeman.org/t/rfc-dropping-support-for-mysql/14185 for further details. This means also the related installer options will be removed. Closing this issue.

Actions

Also available in: Atom PDF