[Katello] undefined method `value' for nil:NilClass

I am having trouble getting katello installed

I run these commands:

yum -y update

yum -y install katello

foreman-installer --scenario katello
then get the following error:
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb:22:in block (4 levels) in load': undefined methodvalue' for nil:NilClass
(NoMethodError)
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:34:in
instance_eval' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:34:inblock
(4 levels) in load'
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hook_context.rb:15:in
instance_exec' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hook_context.rb:15:inexecute'
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:51:in block in execute' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:49:ineach'
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:49:in
execute' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/kafo_configure.rb:408:inrun_installation'
from
/usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/kafo_configure.rb:147:in
execute' from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:inrun'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in run' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/kafo_configure.rb:154:inrun'
from /sbin/foreman-installer:8:in `<main>'

Does anyone know what causes this error and how to fix it?

Thanks

Brittany,

What version of katello are you trying to install?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Fri, Nov 18, 2016 at 5:17 PM, Brittany Biggs wrote:

I am having trouble getting katello installed

I run these commands:

yum -y update

yum -y install katello

foreman-installer --scenario katello
then get the following error:
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb:22:in
block (4 levels) in load': undefined methodvalue’ for nil:NilClass
(NoMethodError)
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:34:in
instance_eval' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:34:inblock (4 levels) in load’
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hook_context.rb:15:in
instance_exec' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hook_context.rb:15:inexecute’
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:51:in
block in execute' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:49:ineach’
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/hooking.rb:49:in
execute' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/kafo_configure.rb:408:inrun_installation’
from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/kafo_configure.rb:147:in
execute' from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:inrun’
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in run' from /usr/local/share/gems/gems/kafo-1.0.4/lib/kafo/kafo_configure.rb:154:inrun’
from /sbin/foreman-installer:8:in `’

Does anyone know what causes this error and how to fix it?

Thanks


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.