Bug 1899873
| Summary: | [BUG] dependency conflict between satellite 6.8 and cockpit remote execution plugin | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Johannes Scheiber <jscheibe> | |
| Component: | Installation | Assignee: | Eric Helms <ehelms> | |
| Status: | CLOSED ERRATA | QA Contact: | Devendra Singh <desingh> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.8.0 | CC: | ahumbe, egolov, ehelms, gtalreja, janarula, jscheibe, mkalyat, saydas, smeyer, zhunting | |
| Target Milestone: | 6.10.0 | Keywords: | Triaged | |
| Target Release: | Unused | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | foreman-installer-2.4.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1985327 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-16 14:09:33 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: | ||||
I was not able to reproduce this issue. In my default RHEL 7.9 installation no postgresql packages were installed before I installed the Satellite packages. Only then postgresql-libs-9.2.24-4.el7_8.x86_64 was installed based on dependencies. # Enabled repositories [root@sat6-test:/root]# yum repolist Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager, tracer_upload repo id repo name status !rhel-7-server-ansible-2.9-rpms/x86_64 Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server 27 !rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 30.974 !rhel-7-server-satellite-6.8-rpms/x86_64 Red Hat Satellite 6.8 (for RHEL 7 Server) (RPMs) 455 !rhel-7-server-satellite-maintenance-6-rpms/x86_64 Red Hat Satellite Maintenance 6 (for RHEL 7 Server) (RPMs) 42 !rhel-7-server-satellite-tools-6.8-rpms/x86_64 Red Hat Satellite Tools 6.8 (for RHEL 7 Server) (RPMs) 64 !rhel-server-rhscl-7-rpms/7Server/x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server 12.848 # Before "yum install satellite" [root@sat6-test:/root]# rpm -qa|grep postg - No postgres packages installed # After "yum install satellite" [root@sat6-test:/root]# rpm -qa|grep postg foreman-postgresql-2.1.2.19-1.el7sat.noarch postgresql-libs-9.2.24-4.el7_8.x86_64 The postgresql.x86_64 package is still not installed. # After "satellite-installer --scenario satellite" [root@sat6-test:/root]# rpm -qa|grep postg rh-postgresql12-postgresql-libs-12.4-1.el7.x86_64 rh-postgresql12-postgresql-syspaths-12.4-1.el7.x86_64 foreman-postgresql-2.1.2.19-1.el7sat.noarch rh-postgresql12-postgresql-server-12.4-1.el7.x86_64 postgresql-libs-9.2.24-4.el7_8.x86_64 rh-postgresql12-postgresql-12.4-1.el7.x86_64 rh-postgresql12-postgresql-evr-0.0.2-1.el7sat.x86_64 rh-postgresql12-postgresql-server-syspaths-12.4-1.el7.x86_64 rh-postgresql12-runtime-3.4-1.el7.x86_64 Here rh-postgresql12-postgresql-syspaths is already installed. No postgresql.x86_64 package was installed by satellite-installer. # After "satellite-installer --enable-foreman-plugin-remote-execution-cockpit" [root@sat6-test:/root]# rpm -qa|grep postg rh-postgresql12-postgresql-libs-12.4-1.el7.x86_64 rh-postgresql12-postgresql-syspaths-12.4-1.el7.x86_64 foreman-postgresql-2.1.2.19-1.el7sat.noarch rh-postgresql12-postgresql-server-12.4-1.el7.x86_64 postgresql-libs-9.2.24-4.el7_8.x86_64 rh-postgresql12-postgresql-12.4-1.el7.x86_64 rh-postgresql12-postgresql-evr-0.0.2-1.el7sat.x86_64 rh-postgresql12-postgresql-server-syspaths-12.4-1.el7.x86_64 rh-postgresql12-runtime-3.4-1.el7.x86_64 Still no postgresql.x86_64 package installed. Can you share what installed postgresql-9.2.24-4.el7_8.x86_64 on your system? A fresh Satellite 6.8 should not have that packaged installed on it. Upstream bug assigned to ehelms Verified on 6.10 Snap9
Verification points:
1- Ran satellite-installer with enable-foreman-plugin-remote-execution-cockpit and it comepleted successfully.
# satellite-installer --enable-foreman-plugin-remote-execution-cockpit
2021-07-19 04:48:27 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-07-19 04:48:31 [NOTICE] [root] Running installer with log based terminal
...............................
..............................
=============================================
Upgrade Step 2/2: katello:clean_backend_objects. This may take a long while.
0 orphaned consumer id(s) found in candlepin.
Candlepin orphaned consumers: []
Success!
2- Verified the updated settings in satellite-installer --help
# satellite-installer --help|grep "enable-foreman-plugin-remote-execution-cockpit"
--[no-]enable-foreman-plugin-remote-execution-cockpit Enable 'foreman_plugin_remote_execution_cockpit' puppet module (default: true)
3- Verified the foreman-installer version.
# rpm -qa|grep foreman-installer
foreman-installer-2.5.1.1-1.el7sat.noarch
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.10 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-2021:4702 |
Description of problem: satellite-installer fails with conflicting packages: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-4.el7_8.x86_64 Version-Release number of selected component (if applicable): RHEL 7.9 Satellite 6.8 # yum list installed|grep postgre foreman-postgresql.noarch 2.1.2.19-1.el7sat @rhel-7-server-satellite-6.8-rpms postgresql.x86_64 9.2.24-4.el7_8 @rhel-7-server-rpms postgresql-libs.x86_64 9.2.24-4.el7_8 @rhel-7-server-rpms rh-postgresql12-postgresql.x86_64 rh-postgresql12-postgresql-evr.x86_64 rh-postgresql12-postgresql-libs.x86_64 rh-postgresql12-postgresql-server.x86_64 rh-postgresql12-postgresql-server-syspaths.x86_64 rh-postgresql12-runtime.x86_64 How reproducible: always Steps to Reproduce: 1. Install *fresh* Satellite 6.8 using the following plugins --enable-foreman-plugin-remote-execution --enable-foreman-proxy-plugin-remote-execution-ssh 2. After Satellite is installed, up and running execute satellite installer as per documentation https://access.redhat.com/documentation/en-us/red_hat_satellite/6.8/html/managing_hosts/host_management_and_monitoring_using_red_hat_web_console#integrating_satellite_with_red_hat_web_console # satellite-installer --enable-foreman-plugin-remote-execution-cockpit Actual results: # satellite-installer --enable-foreman-plugin-remote-execution-cockpit Package versions are locked. Continuing with unlock. Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-syspaths' returned 1: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-4.el7_8.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Expected results: satellite-installer finishes without errors Additional info: