Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1416106 - [RFE] API to rerun a Remote Execution job against the failed hosts.
[RFE] API to rerun a Remote Execution job against the failed hosts.
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Remote Execution (Show other bugs)
6.2.0
Unspecified Unspecified
medium Severity medium with 1 vote (vote)
: Beta
: Unused
Assigned To: Adam Ruzicka
Peter Ondrejka
: FutureFeature, Triaged, VerifiedUpstream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-24 10:37 EST by Sagar Lutade
Modified: 2018-10-16 11:28 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-16 11:27:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 20692 None None None 2017-08-22 07:45 EDT
Red Hat Product Errata RHSA-2018:2927 None None None 2018-10-16 11:28 EDT

  None (edit)
Comment 3 Adam Ruzicka 2017-08-22 07:45:42 EDT
Created redmine issue http://projects.theforeman.org/issues/20692 from this bug
Comment 4 pm-sat@redhat.com 2017-10-19 06:01:24 EDT
Upstream bug assigned to aruzicka@redhat.com
Comment 5 pm-sat@redhat.com 2017-10-19 06:01:28 EDT
Upstream bug assigned to aruzicka@redhat.com
Comment 6 pm-sat@redhat.com 2018-03-02 12:01:35 EST
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20692 has been resolved.
Comment 7 Peter Ondrejka 2018-04-05 08:29:25 EDT
verified upstream with
foreman-1.18.0-0.develop.201803291734git682269f.el7.noarch
tfm-rubygem-foreman_remote_execution-1.4.6-1.fm1_18.el7.noarch
tfm-rubygem-foreman_remote_execution_core-1.1.1-1.fm1_18.el7.noarch

steps:

curl -X GET -u admin:changeme https://<host>/api/v2/job_invocations -k
{
  "total": 3,
  "subtotal": 3,
...

curl -X POST -u admin:changeme https://<host>/api/v2/job_invocations/3/rerun -k -H "Content-Type:application/json"
{"id":4,"targeting_id":4,"job_category":"Commands","task_id":"5f98d92c-d706-4418-9722-dae93a296ad9","task_group_id":4,"triggering_id":4,"description":"Run cat /etc/hosts","concurrency_level":null,"time_span":null,"execution_timeout_interval":null,"password":null,"key_passphrase":null,"remote_execution_feature_id":null} 

curl -X GET -u admin:changeme https://<host>/api/v2/job_invocations -k
{
  "total": 4,
  "subtotal": 4,
...
Comment 8 Peter Ondrejka 2018-07-02 03:54:49 EDT
Verified on Sat 6.4 snap 10 using steps from c#7
Comment 10 errata-xmlrpc 2018-10-16 11:27:25 EDT
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:2927

Note You need to log in before you can comment on or make changes to this bug.