Project

General

Profile

Bug #8002

foreman-install fails when choosing to use mysql on CentOS 7

Added by Shawn LoPresto almost 7 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
External modules
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Was testing the foreman-installer on CentOS 7 to find that when selecting foreman-db-type mysql, there are failures due to trying to install mysql vs mariadb via yum.

Execution of '/usr/bin/yum -d 0 -e 0 -y list mysql' returned 1: Error: No matching Packages to list
Installing Error: Execution of '/usr/bin/yum -d 0 -e 0 -y lis [13% /Stage[main]/Mysql::Client::Install/Package[mysql_client]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list mysql' returned 1: Error: No matching Packages to list

History

#1 Updated by Shawn LoPresto almost 7 years ago

This is for foreman 1.6.

#2 Updated by Dominic Cleal almost 7 years ago

  • Project changed from Foreman to Installer
  • Category set to External modules

#3 Updated by Andreas Schiermeier over 6 years ago

Created Pull Request to fix this issue. Afterwards I've realized this is an official module supported by Puppetlabs.
The current version of the module on https://forge.puppetlabs.com/puppetlabs/mysql provides a much better fix. Is it possible to integrate this one?

#4 Updated by Dominic Cleal over 6 years ago

  • Status changed from New to Feedback

I think this is probably fixed by Foreman 1.8, as we're now using puppetlabs/mysql 3.x which adds MariaDB support. Please give it a try and let us know if an issue still exists.

#5 Updated by Anonymous about 4 years ago

  • Status changed from Feedback to Resolved

no reaction, closing

Also available in: Atom PDF