Project

General

Profile

Actions

Bug #17968

closed

Foreman fails with MySQL

Added by Raul Dias over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Trying to install foreman with mysql support and it fails.
Happens on both Jessie and CentOS 7.

The installation command is:
foreman-installer -i --verbose \
--foreman-db-adapter=mysql2 \
--foreman-db-type=mysql \
--foreman-db-manage=false \
--foreman-db-host=10.10.24.2 \
--foreman-db-database=foreman\
--foreman-db-username=foreman \
--foreman-db-password=XXXXXXXXXXXXXX

The database exists and is empty.
The installation does populate it (73 tables are created and populated).


Files

foreman.log foreman.log 1.36 MB installation log Raul Dias, 01/06/2017 12:18 PM
foreman.log foreman.log 1.78 MB 1.14.0~rc3-1 installation log Raul Dias, 01/06/2017 01:07 PM
Actions #1

Updated by Anonymous over 7 years ago

I guess this is fixed by https://github.com/theforeman/puppet-foreman/pull/488 which is part of the 1.14 installer.

Actions #2

Updated by Raul Dias over 7 years ago

Michael Moll wrote:

I guess this is fixed by https://github.com/theforeman/puppet-foreman/pull/488 which is part of the 1.14 installer.

Retrying with 1.14.

Actions #3

Updated by Anonymous over 7 years ago

  • Project changed from Foreman to Installer
  • Category changed from Database to Foreman modules
  • Priority changed from Immediate to High
  • translation missing: en.field_release deleted (213)
Actions #4

Updated by Raul Dias over 7 years ago

Michael Moll wrote:

I guess this is fixed by https://github.com/theforeman/puppet-foreman/pull/488 which is part of the 1.14 installer.

Same problem with 1.14:

----8<-----
Something went wrong! Check the log for ERROR-level output * Foreman is running at https://foreman.base.mydomain.com
Initial credentials are admin / aHcQE6ScpBEVjovP * Foreman Proxy is running at https://foreman.base.mydomain.com:8443 * Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman.log
[ INFO 2017-01-06 15:59:42 verbose] All hooks in group post finished
root@foreman:~# dpkg l foreman
ii foreman 1.14.0~rc3-1 amd64 Systems management web interface
----
>8----

Uploading the new logs too.

Actions #5

Updated by Anonymous over 7 years ago

Please grep for ERROR messages in the logfile and fix the "Could not resolve 'httpredir.debian.org'" error, then re-run foreman-installer and report back, please.

Actions #6

Updated by Raul Dias over 7 years ago

Michael Moll wrote:

Please grep for ERROR messages in the logfile and fix the "Could not resolve 'httpredir.debian.org'" error, then re-run foreman-installer and report back, please.

You were right. It worked now.

Actions #7

Updated by Anonymous over 7 years ago

  • Status changed from New to Rejected

thanks!

Actions

Also available in: Atom PDF