Bug 1365956
Summary: | Installer doesn't affect remote execution-related settings | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Maxim Burgerhout <mburgerh> | ||||
Component: | Remote Execution | Assignee: | Ivan Necas <inecas> | ||||
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 6.2.0 | CC: | ahumbe, aladke, bbuckingham, bkearney, cdonnell, egolov, ehelms, emarquez, inecas, jcallaha, karnsing, ktordeur, lennard.klein, lpramuk, rajgupta, tris.hoar, vgunasek | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-21 16:54:37 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
Maxim Burgerhout
2016-08-10 15:12:39 UTC
Created redmine issue http://projects.theforeman.org/issues/16050 from this bug I've updated the subject of the bug to better describe the current state without implying how it should be fixed. From the implementaiton perspective, we will address mainly the fact, that the installer attributes should affect the system and that the files will be where smart_proxy_remote_execution_core expects them to be. Upstream bug assigned to inecas Upstream bug assigned to inecas *** Bug 1371674 has been marked as a duplicate of this bug. *** Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16050 has been resolved. Created attachment 1222730 [details]
patch to add more logging around smart_proxy_dynflow_settings
To apply the patch:
cd /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.3
git init; git add -A .; git commit -m original
patch -p1 < ~/ssh-settings-log.patch
service smart_proxy_dynflow_core restart
After running that, please share /var/log/foreman-proxy/ssh_settings.log
file with us
Additional note for the workaround: Make sure the files in /etc/smart_proxy_dynflow_core/ are readable by the foreman-proxy user chown -R :foreman-proxy /etc/smart_proxy_dynflow_core/ VERIFIED. @satellite-6.3.0-22.0.el7sat.noarch foreman-installer-1.15.6.4-1.el7sat.noarch rubygem-smart_proxy_dynflow-0.1.8-1.el7sat.noarch tfm-rubygem-smart_proxy_dynflow_core-0.1.8-1.fm1_15.el7sat.noarch rubygem-smart_proxy_remote_execution_ssh-0.1.6-1.el7sat.noarch by the manual reproducer: 1. Have a provisioned host registered to SAT with REX enabled 2. Enable hourly recurring job - Run Command - SSH Default "yum -y install mc" 3. @Host: Check /var/tmp for REX content 4. Run installer and modify ssh remote working dir @Host: # mkdir /var/tmp2 @SAT: # satellite-installer --foreman-proxy-plugin-remote-execution-ssh-remote-working-dir /var/tmp2 5. Check whether installer modified config file option # grep remote /etc/foreman-proxy/settings.d/remote_execution_ssh.yml :remote_working_dir: /var/tmp2 >>> installer affects REX settings file 6. @Host: Watch new REX content appearing in /var/tmp2 >>> the new setting in yaml file is really effective for REX jobs 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, 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-2018:0336
|