Project

General

Profile

Bug #17124

No Puppet module parser is installed

Added by Denis Müller over 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I wanted to try the new version of katello-capsule:

Installed Repos:

yum -y localinstall http://fedorapeople.org/groups/katello/releases/yum/3.2/katello/el7/x86_64/katello-repos-latest.rpm
yum -y localinstall http://yum.theforeman.org/releases/1.13/el7/x86_64/foreman-release.rpm
rpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm (to provide puppet 4 from during installation)
yum -y localinstall http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install foreman-release-scl

yum install -y katello-capsule

foreman-installer --scenario capsule --help
/usr/share/gems/gems/kafo-0.9.8/lib/kafo/puppet_module.rb:69:in `parse': No Puppet module parser is installed and no cache of the file /usr/share/katello-installer-base/modules/certs/manifests/init.pp is available. Please check debug logs and install optional dependencies for the parser. (Kafo::ParserError)

from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:89:in `block in modules'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:89:in `map'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:89:in `modules'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:189:in `params'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:199:in `preset_defaults_from_puppet'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:270:in `set_parameters'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:99:in `initialize'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `new'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:154:in `run'
from /usr/sbin/foreman-installer:8:in `<main>'

rpm -qa | grep -i parser
rubygem-kafo_parsers-0.1.2-1.el7.noarch
yum-metadata-parser-1.1.4-10.el7.x86_64

Name : rubygem-kafo_parsers
Architektur : noarch
Version : 0.1.2
Ausgabe : 1.el7

puppet -V
4.7.0

  1. rpm -qa | grep -i katello
    katello-ca-consumer-theforeman.nodes.rto.de-1.0-3.noarch
    katello-installer-base-3.2.0-3.rc4.el7.noarch
    katello-repos-3.2.0-3.rc2.el7.noarch
    katello-service-3.2.0-3.rc3.el7.noarch
    foreman-installer-katello-3.2.0-3.rc4.el7.noarch
    katello-certs-tools-2.4.0-1.el7.noarch
    katello-selinux-3.0.1-1.el7.noarch
    katello-capsule-3.2.0-3.rc3.el7.noarch

Greets,
Denis

History

#1 Updated by Rob Sanders over 2 years ago

I've got exactly the same problem after following the official puppet 4 upgrade documentation - http://www.katello.org/docs/3.2/upgrade/puppet.html

I've upgraded Katello to 3.2 first - it finished with no problems. Running "foreman-installer --upgrade-puppet" finished and upgraded puppet to version 4. Now any action involving puppet on the server returns the above error message. The client log shows:



# puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Find /production/node/MY_NODE_NAME_HERE?transaction_uuid=d666431a-d215-412b-b509-ae9a42ad119c&fail_on_404... resulted in 404 with the message: {"message":"Not Found: Could not find node MY_NODE_NAME_HERE","issue_kind":"RESOURCE_NOT_FOUND"}
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Could not find node 'MY_NODE_NAME_HERE'; cannot compile","issue_kind":"RUNTIME_ERROR"}
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

#2 Updated by Chris Duryee over 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Chris Duryee

#3 Updated by The Foreman Bot over 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/428 added

#4 Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/429 added

#5 Updated by Justin Sherrill over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF