Bug 1465521

Summary: [RFE] API to cancel/delete Remote Execution tasks before their scheduled time
Product: Red Hat Satellite Reporter: Ash Westbrook <awestbro>
Component: Remote ExecutionAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Lucie Vrtelova <lvrtelov>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.9CC: aruzicka, bkearney, brcoca, chrobert, cmarinea, dvoss, greartes, inecas, jcallaha, ktordeur, mhulan, patalber, wpinheir
Target Milestone: 6.6.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
This action can not be done via the cli. It will be added in a future release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-22 12:46:40 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: 1568063, 1582380    

Description Ash Westbrook 2017-06-27 14:42:31 UTC
Description of problem:

Ability via the API to remove schedule Remote Execution tasks for a future date.

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

6.2.9

How reproducible:

Always

Steps to Reproduce:
1. Org Admin schedules a future task on a remote host
2. Determines task should not be executed and would like to remove it.
3.

Comment 1 Adam Ruzicka 2017-08-22 11:41:46 UTC
Cancelling shouldn't care whether job is scheduled or running.

Comment 2 Satellite Program 2017-10-19 10:21:24 UTC
Upstream bug assigned to aruzicka

Comment 3 Satellite Program 2017-10-19 10:21:29 UTC
Upstream bug assigned to aruzicka

Comment 4 patalber 2018-01-11 20:31:17 UTC
Client on 6.2.12 has the issue similar to OP, but on a larger scale (2430 remote execution jobs that need to be canceled). The jobs are not all the same types of jobs, unfortunately.

It would be excellent if users could check a box next to a remote execution job and be able to cancel the task, as well as a 'select all' ability.

Comment 5 Satellite Program 2018-03-01 11:22:48 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20496 has been resolved.

Comment 17 errata-xmlrpc 2019-10-22 12:46:40 UTC
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-2019:3172