Bug 1867753
Summary: | Add check for checkpoint_segments postgres parameter | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Roberts <chrobert> |
Component: | Satellite Maintain | Assignee: | Suraj Patil <supatil> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8.0 | CC: | apatel, kgaikwad, mawerner, pcreech, supatil |
Target Milestone: | 6.8.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rubygem-foreman_maintain-0.6.10 | Doc Type: | Known Issue |
Doc Text: |
Add check for checkpoint_segments postgres parameter
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 12:38:46 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
Chris Roberts
2020-08-10 16:40:05 UTC
Created redmine issue https://projects.theforeman.org/issues/30729 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30729 has been resolved. Hello, Can we get a 0.6.z upstream release of foreman_maintain with this fix in it? Thanks, Patrick Verified Verified with: - rubygem-foreman_maintain-0.6.10 Test steps: - Install rubygem-foreman_maintain-0.6.10 - On Satellite 6.7 edit /etc/foreman-installer/custom-hiera.yaml : postgresql::server::config_entries: checkpoint_segments: 32 - Try upgrading to satellite 6.8 OR - foreman-maintain health check --label check-postgresql-checkpoint-segments Observations: - New check check-postgresql-checkpoint-segments is now added to detect checkpoint_segments postgres parameter, if set the foreman-maintain check fails. [root@dhcp-2-39 ~]# foreman-maintain health check --label check-postgresql-checkpoint-segments Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check if checkpoint_segments configuration exists on the system: [OK] -------------------------------------------------------------------------------- [root@dhcp-2-39 ~]# vim /etc/foreman-installer/custom-hiera.yaml [root@dhcp-2-39 ~]# foreman-maintain health check --label check-postgresql-checkpoint-segments Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check if checkpoint_segments configuration exists on the system: [FAIL] ERROR: Tuning option 'checkpoint_segments' found. This option is no longer valid for PostgreSQL 9.5 or newer. Please remove it from following file and re-run the command. - /etc/foreman-installer/custom-hiera.yaml The presence of checkpoint_segments in /etc/foreman-installer/custom-hiera.yaml indicates manual tuning. Manual tuning can override values provided by the --tuning parameter. Review /etc/foreman-installer/custom-hiera.yaml for values that are already provided by the built in tuning profiles. Built in tuning profiles also provide a supported upgrade path. -------------------------------------------------------------------------------- Scenario [ForemanMaintain::Scenario::FilteredScenario] failed. The following steps ended up in failing state: [check-postgresql-checkpoint-segments] Resolve the failed steps and rerun the command. In case the failures are false positives, use --whitelist="check-postgresql-checkpoint-segments" [root@dhcp-2-39 ~]# vim /etc/foreman-installer/custom-hiera.yaml [root@dhcp-2-39 ~]# foreman-maintain health check --label check-postgresql-checkpoint-segments Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check if checkpoint_segments configuration exists on the system: [FAIL] ERROR: 'postgresql::server::config_entries' cannot be null. Please remove it from following file and re-run the command. - /etc/foreman-installer/custom-hiera.yaml -------------------------------------------------------------------------------- Scenario [ForemanMaintain::Scenario::FilteredScenario] failed. The following steps ended up in failing state: [check-postgresql-checkpoint-segments] Resolve the failed steps and rerun the command. In case the failures are false positives, use --whitelist="check-postgresql-checkpoint-segments" 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.8 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-2020:4365 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |