Bug 1933165
| Summary: | Add check for disk usage in candlepin-directory | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Jeffers <jjeffers> |
| Component: | Satellite Maintain | Assignee: | Amit Upadhye <aupadhye> |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.8.0 | CC: | ahumbe, apatel, gtalreja, kgaikwad, pcreech, zhunting |
| Target Milestone: | 6.8.5 | Keywords: | PrioBumpGSS, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1905801 | Environment: | |
| Last Closed: | 2021-03-31 19:38:10 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
2021-02-25 20:40:21 UTC
Verified. Satellite 6.8.5 Snap 1.0 Version: rubygem-foreman_maintain-0.6.16-1.el7sat.noarch Steps: # foreman-maintain health list | grep available-space-cp [available-space-cp] Check to make sure /var/lib/candlepin has enough space [pre-upgrade] # foreman-maintain health check --label available-space-cp Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check to make sure /var/lib/candlepin has enough space: [OK] -------------------------------------------------------------------------------- # foreman-maintain upgrade check --target-version 6.8.z <snip> Running Checks before upgrading to Satellite 6.8.z ================================================================================ Clean old Kernel and initramfs files from tftp-boot: [OK] -------------------------------------------------------------------------------- Check number of fact names in database: [OK] -------------------------------------------------------------------------------- Check whether all services are running: [OK] -------------------------------------------------------------------------------- Check whether all services are running using the ping call: [OK] -------------------------------------------------------------------------------- Check for paused tasks: [OK] -------------------------------------------------------------------------------- Check to verify no empty CA cert requests exist: [OK] -------------------------------------------------------------------------------- Check whether system is self-registered or not: [OK] -------------------------------------------------------------------------------- Check to make sure root(/) partition has enough space: [OK] -------------------------------------------------------------------------------- Check to make sure /var/lib/candlepin has enough space: [OK] -------------------------------------------------------------------------------- Check to validate candlepin database: [OK] </snip> Observations: We have a check to make sure the candlepin directory (/var/lib/candlepin) has enough space now and if space is more than 90 PERCENT then it points to https://bugzilla.redhat.com/show_bug.cgi?id=1898605 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.5 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-2021:1056 |