Bug 1992624
| Summary: | Remote Execution fails to honor remote_execution_connect_by_ip override on host | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Stefan Meyer <smeyer> | |
| Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> | |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 6.8.0 | CC: | ahumbe, aruzicka, lstejska, myarboro, pondrejk, wclark, zhunting | |
| Target Milestone: | 6.11.0 | Keywords: | Triaged | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | tfm-rubygem-foreman_remote_execution-4.5.5 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2027365 2043698 (view as bug list) | Environment: | ||
| Last Closed: | 2022-07-05 14:29:34 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: | ||||
| Attachments: | ||||
|
Description
Stefan Meyer
2021-08-11 12:48:03 UTC
Created redmine issue https://projects.theforeman.org/issues/33242 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33242 has been resolved. Created attachment 1814947 [details]
HOTFIX RPM for Satellite 6.8.6
HOTFIX RPM for Satellite 6.8.6
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.8.6 server
2. Download the hotfix RPM attached to this BZ and copy it to Satellite server
3. # yum install tfm-rubygem-foreman_remote_execution-3.3.7.2-3.HOTFIXRHBZ1992624.el7sat.noarch.rpm --disableplugin=foreman-protector
4. # systemctl restart httpd
Created attachment 1815192 [details]
Optional tfm-rubygem-foreman_remote_execution-cockpit hotfix RPM
The previous hotfix can fail to install with a dependency conflict when tfm-rubygem-foreman_remote_execution-cockpit is installed
This dependency conflict is due solely to bumped release number in the hotfix RPM, so one workaround is to ignore the dependency conflict and install anyway since there is no corresponding change in the code that is actually required for the cockpit plugin
The other workaround is to also install tfm-rubygem-foreman_remote_execution-cockpit with a bumped release number to satisfy the dependency.
I've attached a 2nd "hotfix" RPM for the cockpit plugin, which is identical to the non-hotfix version in every way except that the release number is bumped.
The original fix should work for non-ansible REX. Ansible will need this PR[1]. Kudos to smeyer for pointing this out [1] - https://github.com/theforeman/foreman_ansible/pull/449 After adding Adams fix from #9 it works. So we need that one too. Attached Redmine https://projects.theforeman.org/issues/33284 for the related foreman_ansible issue to this BZ for tracking. When https://github.com/theforeman/foreman_ansible/pull/449 is reviewed and merged, I can build a hotfix RPM for tfm-rubygem-foreman_ansible https://github.com/theforeman/foreman_ansible/pull/449 is now reviewed and merged Created attachment 1819117 [details]
tfm-rubygem-foreman_ansible hotfix RPM for Satellite 6.8.6
HOTFIX RPM is available for foreman_ansible plugin
The installation steps are the same as before but with this additional RPM
Verified on Satellite 6.10 sn 23 @wclark - looking over the previous 6.9.7 triage notes, the query used to determine hotfixes was checking only items that contained a 6.9.z flag. So perhaps that is the root of the issue? Created attachment 1842428 [details]
HOTFIX tfm-rubygem-foreman_ansible RPM for Satellite 6.9.7
Created attachment 1842429 [details]
HOTFIX tfm-rubygem-foreman_remote_execution RPM for Satellite 6.9.7
Created attachment 1842430 [details]
HOTFIX tfm-rubygem-foreman_remote_execution-cockpit RPM for Satellite 6.9.7
HOTFIX RPMs are available for Satellite 6.9.7
To obtain the Hotfix RPMs, download the below Bugzilla attachments:
- HOTFIX tfm-rubygem-foreman_ansible RPM for Satellite 6.9.7
- HOTFIX tfm-rubygem-foreman_remote_execution RPM for Satellite 6.9.7
- HOTFIX tfm-rubygem-foreman_remote_execution-cockpit RPM for Satellite 6.9.7
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.9.7 server
2. Copy the downloaded Hotfix RPMs to Satellite server
3. # yum install tfm-rubygem-foreman_remote_execution-4.2.3.1-2.HOTFIXRHBZ1992624.el7sat.noarch.rpm \
tfm-rubygem-foreman_remote_execution-cockpit-4.2.3.1-2.HOTFIXRHBZ1992624.el7sat.noarch.rpm \
tfm-rubygem-foreman_ansible-6.1.1-2.HOTFIXRHBZ1992624.el7sat.noarch.rpm \
--disableplugin=foreman-protector
4. # satellite-maintain service restart
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 |