Project

General

Profile

Actions

Bug #5404

closed

Configuring Foreman_server issue

Added by Shyam Goud almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Seeing this issue while setting foreman_server.sh
Error: Could not find class passenger

Appreciate any kind of help.

Setup Info:
HOSTNAME: foreman.test.org
OS: redhat
RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago)
FOREMAN: 1.4.2
RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
PUPPET: 3.5.1

[root@redhat-vm-1 bin]# sh foreman_server.sh
  1. RED HAT OPENSTACK #####################
    Thank you for using the Red Hat OpenStack Foreman Installer! ############################################################
    Press [Enter] to continue
    net.ipv4.ip_forward = 1
    /usr/share/foreman-installer /usr/share/openstack-foreman-installer/bin
    Info: Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/puppet_vardir.rb
    Info: Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/pe_version.rb
    Info: Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/root_home.rb
    Info: Loading facts in /usr/share/foreman-installer/modules/concat/lib/facter/concat_basedir.rb
    Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
    Warning: Puppet::Node::Environment.current has been replaced by Puppet.lookup(:current_environment), see http://links.puppetlabs.com/current-env-deprecation
    (at (erb):4:in `result')
    Warning: Puppet::Node::Environment.current has been replaced by Puppet.lookup(:current_environment), see http://links.puppetlabs.com/current-env-deprecation
    (at /usr/share/foreman-installer/modules/puppet/templates/agent/puppet.conf.erb:3:in `result')
    Warning: Puppet::Node::Environment.current has been replaced by Puppet.lookup(:current_environment), see http://links.puppetlabs.com/current-env-deprecation
    (at /usr/share/foreman-installer/modules/puppet/templates/server/config.ru.erb:3:in `result')
    Warning: Puppet::Node::Environment.current has been replaced by Puppet.lookup(:current_environment), see http://links.puppetlabs.com/current-env-deprecation
    (at /usr/share/foreman-installer/modules/puppet/templates/server/puppet.conf.erb:3:in `result')
    Error: Could not find class passenger for foreman.test.org on node foreman.test.org
    Error: Could not find class passenger for foreman.test.org on node foreman.test.org
    /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, bootstrap-sass-3.0.3.0, builder-3.0.0, bundler-1.1.4, bundler_ext-0.3.0, daemons-1.1.4, deface-0.7.2, diff-lcs-1.1.3, erubis-2.7.0, eventmachine-0.12.10, fast_gettext-0.8.0, foreigner-1.4.2, foreman_simplify-0.0.5, 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.8.2, mysql2-0.3.11, net-http-persistent-2.7, net-ldap-0.3.1, nokogiri-1.5.6, 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.9.5, ref-1.0.0, rest-client-1.6.1, ruby2ruby-2.0.1, ruby_parser-3.1.1, safemode-1.2.0, sass-3.2.13, scoped_search-2.6.5, sexp_processor-4.1.3, sprockets-2.4.5, therubyracer-0.11.0beta5, thin-1.3.1, thor-0.15.4, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.33, 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!

Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Status changed from New to Rejected

foreman_server.sh is actually a component of RDO or Red Hat OpenStack Platform (it's not clear to me which you're using), rather than Foreman. As far as I know, both currently use Foreman 1.3 rather than Foreman 1.4.2, so the script is slightly incompatible right now.

Please file a bug using https://bugzilla.redhat.com/enter_bug.cgi?product=RDO for RDO.

Actions

Also available in: Atom PDF