Bug 1465628
Summary: | A remote job runs multiple times on a single server that belongs to multiple Host Collections | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Brian Coca <brcoca> | ||||||||
Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 6.2.10 | CC: | adprice, ahumbe, arunas.vaznevicius, aruzicka, asahni, bkearney, ccvc-p-linux-cdc, cduryee, inecas, jcallaha, pghadge, swestrich, vivpatil, will_darton, wpinheir | ||||||||
Target Milestone: | Unspecified | Keywords: | FieldEngineering, PrioBumpField | ||||||||
Target Release: | Unused | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | tfm-rubygem-foreman_remote_execution-1.3.3,rubygem-foreman_remote_execution-0.3.0.19-1 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 1480352 (view as bug list) | Environment: | |||||||||
Last Closed: | 2017-09-25 18:59:44 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
Brian Coca
2017-06-27 19:26:13 UTC
*** Bug 1465621 has been marked as a duplicate of this bug. *** Created redmine issue http://projects.theforeman.org/issues/20260 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20260 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20260 has been resolved. *** Bug 1479091 has been marked as a duplicate of this bug. *** Verified in Satellite 6.3 Snap 10. Added an RE-enabled host to 3 host collections, then executed the following command. -bash-4.2# hammer job-invocation create --job-template "Run Command - SSH Default" --inputs command='date +"%H:%M:%S.%N" >> /root/test.txt' --search-query "host_collection = collection2" Job invocation 3 created [......................................] [100%] 1 task(s), 1 success, 0 fail --- on the host --- -bash-4.2# cat test.txt 20:09:45.333383189 Verified in Satellite 6.2.12 Snap 1. Added a single host to two host collections then ran the below command. -bash-4.1# hammer job-invocation create --job-template "Run Command - SSH Default" --inputs command='date +"%H:%M:%S.%N" >> /root/test.txt' --search-query "host_collection = coll2" [Foreman] Password for admin: Job invocation 1 created [..............................................................] [100%] 1 task(s), 1 success, 0 fail on the target host, it is clear that it only ran once. [root@ibm-x3250m4-06 ~]# cat test.txt 15:46:30.231378802 Finally, see attached screenshot for job page. Created attachment 1319206 [details]
verification screenshot
Created attachment 1324496 [details]
rhel7_hotfix
Created attachment 1324497 [details]
rhel6_hotfix
=== HOTFIX INSTRUCTIONS FOR SATELLITE 6.2.11 ONLY === 1. Download attached hotfix RPM depending on your Satellite host OS version 2. Stop Satellite katello-service stop 3. Extract the tarball and install the package 4. Start Satellite katello-service start Amendment to 6.2.11 hotfix instructions: The hotfix RPMs are not archived, so there isn't a tarball to extract in step 3. 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:2803 |