Foreman 安装在 vanilla 安装下不起作用

Foreman 安装在 vanilla 安装下不起作用

我是 foreman 新手,在 rhel (6.5) 服务器上使用时遇到了麻烦。以下是我在运行“foreman-installer -v”时遇到的错误:

[ INFO 2014-08-04 15:25:42 verbose] Running validation checks
[ INFO 2014-08-04 15:25:42 verbose] Executing hooks in group pre
[ WARN 2014-08-04 15:25:42 verbose] Hook 'Kafo::HookContext' is using block with arguments which is DEPRECATED, access to kafo instance is provided by hook DSL, please remove |kafo| from your hook block
[ INFO 2014-08-04 15:25:42 verbose] All hooks in group pre finished
[ WARN 2014-08-04 15:25:43 verbose]  Sections other than main, master, agent, user are deprecated in puppet.conf. Please use the directory environments feature to specify environments. (See http://docs.puppetlabs.com/puppet/latest/reference/environments.html)
[ INFO 2014-08-04 15:25:43 verbose]    (at /usr/lib/ruby/site_ruby/1.8/puppet/settings/config_file.rb:77:in `collect'; /usr/lib/ruby/site_ruby/1.8/puppet/settings/config_file.rb:77:in `unique_sections_in'; /usr/lib/ruby/site_ruby/1.8/puppet/settings/config_file.rb:23:in `parse_file'; /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:535:in `parse_config'; /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:597:in `parse_config_files'; /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:247:in `initialize_global_settings'; /usr/lib/ruby/site_ruby/1.8/puppet.rb:150:in `do_initialize_settings_for_run_mode'; /usr/lib/ruby/site_ruby/1.8/puppet.rb:136:in `initialize_settings'; /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:86:in `execute'; /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:479:in `exit_on_fail'; /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:85:in `execute'; /usr/bin/puppet:8)
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/concat/lib/facter/concat_basedir.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/pe_version.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/puppet_vardir.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/facter_dot_d.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/stdlib/lib/facter/root_home.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/firewall/lib/facter/iptables_version.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/firewall/lib/facter/ip6tables_version.rb
[ INFO 2014-08-04 15:25:44 verbose]  Loading facts in /usr/share/foreman-installer/modules/firewall/lib/facter/iptables_persistent_version.rb
[ WARN 2014-08-04 15:25:45 verbose]  Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
[ INFO 2014-08-04 15:25:53 verbose] /usr/lib/ruby/1.8/pathname.rb:287: [BUG] Segmentation fault
[ INFO 2014-08-04 15:25:53 verbose] ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[ INFO 2014-08-04 15:25:53 verbose]
[ INFO 2014-08-04 15:25:53 verbose] sh: line 1:  9739 Done                    echo '$kafo_config_file="/etc/foreman/foreman-installer.yaml"   include kafo_configure'
[ INFO 2014-08-04 15:25:53 verbose]       9740 Aborted                 |    RUBYLIB=/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/../..//modules: puppet apply --verbose --debug --trace --color=false --show_diff --detailed-exitcodes --modulepath /usr/share/foreman-installer/modules:/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/modules
[ INFO 2014-08-04 15:25:53 verbose] Puppet has finished, bye!
[ INFO 2014-08-04 15:25:53 verbose] Executing hooks in group post
[ INFO 2014-08-04 15:25:53 verbose] All hooks in group post finished
    Something went wrong! Check the log for ERROR-level output
    The full log is at /var/log/foreman-installer/foreman-installer.log

有人能帮我找出哪里出了问题吗?

谢谢丹

答案1

解决了

希望这可以帮助其他人:

错误消息没有说明问题是什么。坚持不懈和故障排除突出了对以下软件包的需求:

ruby193-rubygem-foreman_setup ruby​​193-rubygem-foreman_bootdisk genisoimage ipxe-bootimgs

Foreman 1.5 现已启动并运行。

感谢你的帮助。

相关内容