Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1478878

Summary: Remote Execution Job runs multiple times on Hosts with more than one Interface
Product: Red Hat Satellite Reporter: rakesh kumar <rakumar>
Component: Remote ExecutionAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.10CC: aruzicka, bbuckingham, inecas, smeyer, wpinheir
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1480235 (view as bug list) Environment:
Last Closed: 2017-08-08 19:22:38 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: 1480235    

Description rakesh kumar 2017-08-07 12:24:47 UTC
Description of problem:  Only on Hosts with more than one interface:
- Job Invocation found only 1 Host from search query
- Overview Page of the Jobs already shows two Hosts
- The job will be executed two times per hosts found.
- So in total four runs of the job, for one host with two interfaces.



Version-Release number of selected component (if applicable):

tfm-rubygem-foreman_remote_execution-0.3.0.17-1.el7sat.noarch

How reproducible:

Always

Steps to Reproduce:
1.Try to execute a remote command on a host with multiple interfaces and it's a part of host collection.

Actual results:
multiple jobs created for the single host

Expected results:
Single job should be created

Additional info:

Upstream bug:
http://projects.theforeman.org/issues/20318

fix-> https://github.com/theforeman/foreman_remote_execution/pull/259