Project

General

Profile

Bug #10516

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

Added by Edgars Mazurs about 5 years ago. Updated 6 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
-
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
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

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.Rejected
Related to Katello - Bug #15112: expose/add more options to the installer (was: how to manually install katello)Rejected2016-05-20

History

#1 Updated by Michael Moll about 5 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

#2 Updated by Michael Moll about 5 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.

#3 Updated by Edgars Mazurs about 5 years ago

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

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

#4 Updated by Michael Moll about 5 years ago

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

#5 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 51 to 31
  • Triaged changed from No to Yes

#6 Updated by Eric Helms almost 5 years ago

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

#7 Updated by Stephen Benjamin almost 5 years ago

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

#8 Updated by Stephen Benjamin almost 5 years ago

  • Project changed from Katello to Gutterball
  • Subject changed from katello-installer fails with --foreman-db-type=mysql to Hide
  • Legacy Backlogs Release (now unused) deleted (31)

#9 Updated by Stephen Benjamin almost 5 years ago

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

#10 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#11 Updated by Michael Moll about 4 years ago

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

#12 Updated by John Mitsch 9 months 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.

#13 Updated by Tomer Brisker 6 months ago

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

#14 Updated by Tomer Brisker 6 months 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.

Also available in: Atom PDF