foreman_server.sh fails with error "Parameter name failed on Mysql_user[@]: Invalid database use"

Solution Verified - Updated -

Issue

Error when running the foreman_server.sh

...
Error: Parameter name failed on Mysql_user[@]: Invalid database user @ at /usr/share/foreman-installer/modules/mysql/manifests/server/account_security.pp:13
sed: can't read /etc/sysconfig/dhcpd: No such file or directory
dhcpd: unrecognized service
/usr/share/openstack-foreman-installer/bin
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, ancestry-2.0.0, apipie-rails-0.0.23, arel-3.0.2, audited-3.0.0, audited-activerecord-3.0.0, bigdecimal-1.1.0, builder-3.0.0, bundler-1.1.4, bundler_ext-0.3.0, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.3.3, daemons-1.1.4, diff-lcs-1.1.3, erubis-2.7.0, eventmachine-0.12.10, execjs-1.4.0, fast_gettext-0.8.0, foreigner-1.4.2, gettext_i18n_rails-0.10.0, gettext_i18n_rails_js-0.0.8, hike-1.2.1, i18n-0.6.0, i18n_data-0.2.7, io-console-0.3, journey-1.0.4, jquery-rails-2.0.2, jquery-ui-rails-4.0.2, json-1.5.5, mail-2.4.4, mime-types-1.19, multi_json-1.3.6, mysql-2.8.1, net-http-persistent-2.7, net-ldap-0.3.1, oauth-0.4.7, po_to_json-0.0.7, polyglot-0.3.3, rabl-0.7.6, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.8, railties-3.2.8, rake-0.9.2.2, rdoc-3.12, ref-1.0.0, rest-client-1.6.1, ruby2ruby-2.0.1, ruby_parser-3.1.1, safemode-1.2.0, sass-3.1.20, sass-rails-3.2.5, scoped_search-2.5.1, sexp_processor-4.1.3, sprockets-2.4.5, therubyracer-0.11.0beta8, thin-1.3.1, thor-0.15.4, tilt-1.3.3, treetop-1.4.10, twitter-bootstrap-rails-2.2.6, tzinfo-0.3.33, uglifier-1.2.6, uuidtools-2.1.3, will_paginate-3.0.2])

Tasks: TOP => puppet:import:puppet_classes => environment
(See full trace by running task with --trace)
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, ancestry-2.0.0, apipie-rails-0.0.23, arel-3.0.2, audited-3.0.0, audited-activerecord-3.0.0, bigdecimal-1.1.0, builder-3.0.0, bundler-1.1.4, bundler_ext-0.3.0, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.3.3, daemons-1.1.4, diff-lcs-1.1.3, erubis-2.7.0, eventmachine-0.12.10, execjs-1.4.0, fast_gettext-0.8.0, foreigner-1.4.2, gettext_i18n_rails-0.10.0, gettext_i18n_rails_js-0.0.8, hike-1.2.1, i18n-0.6.0, i18n_data-0.2.7, io-console-0.3, journey-1.0.4, jquery-rails-2.0.2, jquery-ui-rails-4.0.2, json-1.5.5, mail-2.4.4, mime-types-1.19, multi_json-1.3.6, mysql-2.8.1, net-http-persistent-2.7, net-ldap-0.3.1, oauth-0.4.7, po_to_json-0.0.7, polyglot-0.3.3, rabl-0.7.6, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.8, railties-3.2.8, rake-0.9.2.2, rdoc-3.12, ref-1.0.0, rest-client-1.6.1, ruby2ruby-2.0.1, ruby_parser-3.1.1, safemode-1.2.0, sass-3.1.20, sass-rails-3.2.5, scoped_search-2.5.1, sexp_processor-4.1.3, sprockets-2.4.5, therubyracer-0.11.0beta8, thin-1.3.1, thor-0.15.4, tilt-1.3.3, treetop-1.4.10, twitter-bootstrap-rails-2.2.6, tzinfo-0.3.33, uglifier-1.2.6, uuidtools-2.1.3, will_paginate-3.0.2])

Tasks: TOP => db:abort_if_pending_migrations => environment
(See full trace by running task with --trace)

Environment

  • Red Hat Enterprise Linux OpenStack Platform 4.0
  • Foreman installer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content