Bug 2173570
Summary: | 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" | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gaurav Talreja <gtalreja> |
Component: | Installation | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.13.0 | CC: | egolov, ehelms |
Target Milestone: | 6.13.0 | Keywords: | Regression, Triaged, UpgradeBlocker, WorkAround |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | satellite-installer-6.13.0.7-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-03 13:25:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2163425 |
Description
Gaurav Talreja
2023-02-27 09:35:04 UTC
it seems the installer is missing this migration: https://github.com/theforeman/foreman-installer/blob/develop/config/foreman.migrations/20220406150414_foreman_google.rb this was broken in https://gitlab.cee.redhat.com/satellite/satellite-installer/-/commit/96af6dfc224db5ced488ac17fce9ade919d4ebe9 Workaround: # /opt/puppetlabs/puppet/bin/gem install puppet-strings And re-running satellite-maintain again Workaround: # sed -i '/gce/d' /etc/foreman-installer/scenarios.d/satellite-answers.yaml Verified. Tested upgrade from Satellite 6.12.2 to 6.13.0 Snap 13.0 Version: satellite-installer-6.13.0.7-1.el8sat.noarch rubygem-foreman_maintain-1.2.6-1.el8sat.noarch Steps: 1. # foreman-maintain upgrade run --target-version 6.13 --whitelist="repositories-validate,repositories-setup" Observation: Upgrade to Satellite 6.13 completed successfully, Post-upgrade, GCE CR is working as before. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:2097 |