Bug #10516
closedHide parameters in the installer that are not relevant to Katello (i.e. Foreman mysql options)
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.
Updated by Anonymous over 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
Updated by Anonymous over 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.
Updated by Edgars Mazurs over 9 years ago
Ok, thanks. I was following katello-installer --help
--foreman-db-type Database 'production' type (valid types: mysql/postgresql/sqlite) (default: "postgresql")
Updated by Anonymous over 9 years ago
Oh, I see... that's a parameter of the foreman module, that's explaining the original problem.
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release changed from 51 to 31
- Triaged changed from No to Yes
Updated by Eric Helms over 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
Updated by Stephen Benjamin over 9 years ago
- Blocked by Feature #11091: Ability to hide parameters from help in config file added
Updated by Stephen Benjamin over 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)
Updated by Stephen Benjamin over 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)
Updated by Eric Helms almost 9 years ago
- Translation missing: en.field_release set to 114
Updated by Anonymous over 8 years ago
- Related to Bug #15112: expose/add more options to the installer (was: how to manually install katello) added
Updated by John Mitsch about 5 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.
Updated by Tomer Brisker almost 5 years ago
- Blocked by deleted (Feature #11091: Ability to hide parameters from help in config file)
Updated by Tomer Brisker almost 5 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.