Bug #10516
closed
Hide parameters in the installer that are not relevant to Katello (i.e. Foreman mysql options)
Added by Edgars Mazurs almost 10 years ago.
Updated over 5 years ago.
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 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
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.
Ok, thanks. I was following katello-installer --help
--foreman-db-type Database 'production' type (valid types: mysql/postgresql/sqlite) (default: "postgresql")
Oh, I see... that's a parameter of the foreman module, that's explaining the original problem.
- Translation missing: en.field_release changed from 51 to 31
- Triaged changed from No to Yes
- Subject changed from katello-installer fails on RHEL7 with --foreman-db-type=mysql to katello-installer fails with --foreman-db-type=mysql
- Blocked by Feature #11091: Ability to hide parameters from help in config file added
- 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)
- 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)
- Translation missing: en.field_release set to 114
- Related to Bug #15112: expose/add more options to the installer (was: how to manually install katello) added
- 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.
- Blocked by deleted (Feature #11091: Ability to hide parameters from help in config file)
- Status changed from New to Rejected
Also available in: Atom
PDF