Bug 1402432
Summary: | Prefer fqdn instead of IP when tracking if remote execution is enabled for the host | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Michal Dekan <mdekan> | ||||
Component: | Remote Execution | Assignee: | Ivan Necas <inecas> | ||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.2.4 | CC: | bbuckingham, bkearney, brubisch, inecas, jcallaha, kelly.brown1, ktordeur, mlele, peter.vreman, rjerrido, xdmoon, zhunting | ||||
Target Milestone: | Unspecified | Keywords: | PrioBumpGSS, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-foreman_remote_execution-0.3.0.14-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1417083 (view as bug list) | Environment: | |||||
Last Closed: | 2017-03-06 08:35:19 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1417083 | ||||||
Attachments: |
|
Description
Michal Dekan
2016-12-07 14:40:45 UTC
Created redmine issue http://projects.theforeman.org/issues/17603 from this bug Proposed solution https://github.com/theforeman/foreman_remote_execution/pull/213 Upstream bug assigned to inecas Upstream bug assigned to inecas Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17603 has been resolved. Steps to verify: 1. set ip address on host primary interface to other value 2. run the execution job against the host Expected result: Primarily, the host fqdn should be used for addressing the host To switch to the original behavior (which might be useful, when DNS present in the infrastructure), set 'remote_execution_connect_by_ip' to true in Remote Execution settings Verified in Satellite 6.2.8 Snap 2. Steps: 1. Enable remote execution on a remote host. 2. Change the ipaddress of the host's interface(s) 3. Run a job against the host. Result: The job completed successfully, as expected. Negative test steps: 1. Use the host setup above 2. Navigate to Administer -> Settings 3. Click on the RemoteExecution tab 4. Change "remote_execution_connect_by_ip" to "true" 5. Run a job against the host Result: The job failed, as expected. Errno::ETIMEDOUT Connection timed out - connect(2) for "10.19.34.1" port 22 See attached image to see the first job succeed and the second job fail. Created attachment 1250936 [details]
verification screenshot
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/RHBA-2017:0447 |