Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-16152

Installer fails in upgrade with "No Puppet module parser is installed and no cache of the file /usr/share/foreman-installer/modules/foreman/manifests/compute/gce.pp is available"

XMLWordPrintable

    • Critical
    • Yes

      Description of problem:

      Version-Release number of selected component (if applicable):
      Satellite 6.13.0 Snap13

      How reproducible:

      Steps to Reproduce:
      1. Setup 6.12 with ohsnap repos of 6.13 and update rubygem-foreman_maintain
      2. # foreman-maintain upgrade run --target-version 6.13 --whitelist="repositories-validate,repositories-setup"
      ...
      --------------------------------------------------------------------------------
      Procedures::Installer::Upgrade: /usr/share/gems/gems/kafo-6.5.0/lib/kafo/puppet_module.rb:70:in `parse': No Puppet module parser is installed and no cache of the file /usr/share/foreman-installer/modules/foreman/manifests/compute/gce.pp is available. Please check debug logs and install optional dependencies for the parser. (Kafo::ParserError)
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/configuration.rb:133:in `block in modules'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/configuration.rb:133:in `map'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/configuration.rb:133:in `modules'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/kafo_configure.rb:253:in `modules'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/kafo_configure.rb:257:in `module'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hook_context.rb:113:in `module_present?'
      from /usr/share/foreman-installer/hooks/boot/20-certs_update.rb:2:in `block (4 levels) in load'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hooking.rb:36:in `instance_eval'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hooking.rb:36:in `block (4 levels) in load'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hook_context.rb:19:in `instance_eval'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hook_context.rb:19:in `execute'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hooking.rb:67:in `block in execute'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hooking.rb:65:in `each'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/hooking.rb:65:in `execute'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/kafo_configure.rb:140:in `initialize'
      from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `new'
      from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
      from /usr/share/gems/gems/kafo-6.5.0/lib/kafo/kafo_configure.rb:50:in `run'
      from /usr/sbin/satellite-installer:8:in `<main>'
      [FAIL]
      Failed executing satellite-installer, exit status 1
      --------------------------------------------------------------------------------
      ...

      Actual results:
      Upgrade fails with mentioned error

      Expected results:
      Upgrade to 6.13 complete successfully

      Additional info:

              ehelms@redhat.com Eric Helms
              jira-bugzilla-migration RH Bugzilla Integration
              Gaurav Talreja Gaurav Talreja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: