Bug 1894149
Summary: | Check for verifying syntax "/etc/foreman-installer/custom-hiera.yaml" file in foreman-maintain upgrade check command failed with misguiding error "Check if checkpoint_segments configuration exists on the system" | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Naina Jain <naijain> | |
Component: | Satellite Maintain | Assignee: | Suraj Patil <supatil> | |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.7.0 | CC: | apatel, egolov, gtalreja, kgaikwad, supatil | |
Target Milestone: | 6.9.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | rubygem-foreman_maintain-0.6.14 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1899322 (view as bug list) | Environment: | ||
Last Closed: | 2021-04-21 14:48:24 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: |
Description
Naina Jain
2020-11-03 16:28:51 UTC
Created redmine issue https://projects.theforeman.org/issues/31253 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31253 has been resolved. Verified Verified with: - Satelllite 6.9.0 snap 5 - rubygem-foreman_maintain-0.7.0-1.el7sat.noarch Test steps: - Have an invalid /etc/foreman-installer/custom-hiera.yaml file - Run "foreman-maintain health check --label check-postgresql-checkpoint-segments" Observations: - If /etc/foreman-installer/custom-hiera.yaml is not valid yaml then the check gives proper error message. Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check if checkpoint_segments configuration exists on the system: [FAIL] Error: File /etc/foreman-installer/custom-hiera.yaml is not a yaml file. -------------------------------------------------------------------------------- Scenario [ForemanMaintain::Scenario::FilteredScenario] failed. 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 (Satellite 6.9 Satellite Maintenance 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/RHBA-2021:1312 |