Project

General

Profile

Actions

Bug #4367

closed

lib/kafo/validator.rb:67:in `engine': undefined method `name' for nil:NilClass (NoMethodError)

Added by Dominic Cleal almost 11 years ago. Updated over 6 years ago.

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

Description

systest failed using kafo 0.3.14 on both EL6 with Puppet 2.7.23 and F19 with 3.4.2 and the following error running foreman-installer:

 # [ INFO 2014-02-17 18:37:12 verbose] Running validation checks
    # /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/validator.rb:67:in `engine': undefined method `name' for nil:NilClass (NoMethodError)
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/validator.rb:51:in `method_missing'
    # from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:33:in `send'
    # from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:33:in `evaluate'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/param.rb:72:in `valid?'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/param.rb:71:in `map!'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/param.rb:71:in `valid?'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:281:in `validate_all'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:280:in `map'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:280:in `validate_all'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:79:in `execute'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:61:in `catch'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:61: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.14/lib/kafo/kafo_configure.rb:98:in `run'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:97:in `catch'
    # from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.14/lib/kafo/kafo_configure.rb:97:in `run'
Actions #1

Updated by Marek Hulán almost 11 years ago

  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
  • Target version set to 1.9.1

I'm not sure what was wrong in my testing procedure on debian, maybe there were more versions of kafo or puppet at the same time. I'm able to reproduce on RHEL, so working on fix.

Actions #2

Updated by Marek Hulán almost 11 years ago

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

Updated by Marek Hulán almost 11 years ago

  • Translation missing: en.field_release set to 5
Actions

Also available in: Atom PDF