Bug 1899322
| 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: | James Jeffers <jjeffers> |
| Component: | Satellite Maintain | Assignee: | Suraj Patil <supatil> |
| Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7.0 | CC: | apatel, aupadhye, egolov, gtalreja, kgaikwad, supatil |
| Target Milestone: | 6.8.2 | 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: | 1894149 | Environment: | |
| Last Closed: | 2020-12-15 13:19:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
James Jeffers
2020-11-18 21:15:20 UTC
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.8.2 snap 1 - rubygem-foreman_maintain-0.6.14-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 Maintenance 6.8.2 Async Bug Fix Update), 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-2020:5466 |