Bug 2029807
Summary: | foreman-maintain service fails for external postgres service, when no psql utility installed | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gaurav Talreja <gtalreja> |
Component: | Satellite Maintain | Assignee: | Amit Upadhye <aupadhye> |
Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.10.1 | CC: | apatel, aupadhye, ehelms, jbhatia, kgaikwad, lvrtelov, pcreech |
Target Milestone: | 6.11.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | rubygem-foreman_maintain-1.0.10 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:30:51 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
Gaurav Talreja
2021-12-07 11:00:36 UTC
Created redmine issue https://projects.theforeman.org/issues/34136 from this bug The 6.11 should stay in 1.0.x versions and accordingly correct version to pick is 1.0.10 and there are cherry picks of psql dependency in that, https://github.com/theforeman/foreman-packaging/pull/7887 Verified. Tested on Satellite 6.11.0 Snap 21.0 Version: rubygem-foreman_maintain-1.0.10-1.el7sat.noarch Steps: 1. Install satellite/rubygem-foreman_maintain packages Observation: psql utility comes with a package "rh-postgresql12-postgresql-syspaths" for el7, which is now added as direct dependency to `rubygem-foreman_maintain` package, which fixes both BZ 2029793 and this BZ. For EL8 and onward, it is done similarly by requiring /usr/bin/psql in the spec file of `rubygem-foreman_maintain` package. ``` Installed: rubygem-foreman_maintain.noarch 1:1.0.10-1.el7sat Dependency Installed: rh-postgresql12-postgresql.x86_64 0:12.9-1.el7 rh-postgresql12-postgresql-libs.x86_64 0:12.9-1.el7 rh-postgresql12-postgresql-syspaths.x86_64 0:12.9-1.el7 rh-postgresql12-runtime.x86_64 0:3.4-1.el7 ruby.x86_64 0:2.0.0.648-39.el7_9 ruby-irb.noarch 0:2.0.0.648-39.el7_9 ruby-libs.x86_64 0:2.0.0.648-39.el7_9 rubygem-bigdecimal.x86_64 0:1.2.0-39.el7_9 rubygem-clamp.noarch 0:1.1.2-7.el7sat rubygem-highline.noarch 0:2.0.3-2.el7sat rubygem-io-console.x86_64 0:0.4.2-39.el7_9 rubygem-json.x86_64 0:1.7.7-39.el7_9 rubygem-psych.x86_64 0:2.0.0-39.el7_9 rubygem-rdoc.noarch 0:4.0.0-39.el7_9 rubygems.noarch 0:2.0.14.1-39.el7_9 scl-utils.x86_64 0:20130529-19.el7 Complete! ``` 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 (Moderate: Satellite 6.11 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-2022:5498 |