Project

General

Profile

Actions

Bug #6927

closed

Capsule installer 'succeeds' very quickly (but fails with no error) if system is not registered.

Added by Ivan Necas almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1104781
Description of problem:

When running a capsule install the install completed within just a few seconds with no error, but there was some information in the logs:

[ INFO 2014-06-04 11:23:46 main] /usr/share/katello-installer/modules/common/lib/puppet/parser/functions/validate_pulp.rb:21:in `function_validate_pulp'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:33:in `send'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:33:in `evaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:73:in `safeevaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:25:in `evaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:20:in `each'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:20:in `evaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:73:in `safeevaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/ifstatement.rb:25:in `evaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:73:in `safeevaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:25:in `evaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:20:in `each'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:20:in `evaluate'
[ INFO 2014-06-04 11:23:46 main] /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:73:in `safeevaluate'

looking at /usr/share/katello-installer/modules/common/lib/puppet/parser/functions/validate_pulp.rb:21:in `function_validate_pulp'

revealed:

raise Puppet::ParseError,
"The system has to be registered to a Katello instance before installing the node"

for some reason this exception did not trickle up to kafo.


Related issues 1 (0 open1 closed)

Related to Kafo - Bug #6978: Report validation messages to the end userClosedDominic Cleal08/07/2014Actions
Actions

Also available in: Atom PDF