Project

General

Profile

Actions

Bug #3670

closed

foreman-installer fails with stacktrace

Added by Og Maciel over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Installed foreman from nightly and attempted to run the installer:

[root@cloud-qe-10 ~]# foreman-installer -i
/usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/wizard.rb:165:in `setup_colors': undefined method `keys' for #<HighLine::ColorScheme:0x7fe58a52b490> (NoMethodError)
    from /usr/lib/ruby/gems/1.8/gems/highline-1.4.0/lib/highline/color_scheme.rb:56:in `initialize'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/wizard.rb:164:in `new'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/wizard.rb:164:in `setup_colors'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/wizard.rb:12:in `initialize'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:79:in `new'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:79:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:64:in `catch'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:64:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
    from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:101:in `run'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:100:in `catch'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:100:in `run'
    from /usr/sbin/foreman-installer:45
[root@cloud-qe-10 ~]# foreman-installer
/usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/hooking.rb:17:in `execute': undefined method `yield' for #<Proc:0x00007f903537d6e8@/usr/sbin/foreman-installer:28> (NoMethodError)
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/hooking.rb:16:in `each_pair'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/hooking.rb:16:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:263:in `run_installation'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:94:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:64:in `catch'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:64:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
    from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:101:in `run'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:100:in `catch'
    from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.0/lib/kafo/kafo_configure.rb:100:in `run'
    from /usr/sbin/foreman-installer:45

Versions:
foreman-release-1.3.9999-7.201311151217gitc67d0d8.el6.noarch
rubygem-foreman_api-0.1.8-1.el6.noarch
foreman-installer-1.3.9999-4.201311140901git76518ec.el6.noarch
rubygem-kafo-0.3.0-1.el6.noarch

Actions #1

Updated by Marek Hulán over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
Actions #2

Updated by Marek Hulán over 10 years ago

These are actually two problems
  • one is old version of highline built for RHEL, we need 1.6.20
  • yield was added in Ruby 1.9 and installer is executed out of SCL
Actions #3

Updated by Marek Hulán over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Marek Hulán over 10 years ago

  • Status changed from Closed to Assigned
  • % Done changed from 100 to 90

reopening since it's not released yet, also new highline is not in repo yet

Actions #5

Updated by Marek Hulán over 10 years ago

  • % Done changed from 90 to 100
  • Status changed from Assigned to Closed
  • Target version set to 1.10.0

Merged and released in kafo 0.3.1

Actions

Also available in: Atom PDF