Bug 1568063
Summary: | [RFE] Hammer Job Cancellation | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Camry Fedei <cfedei> |
Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> |
Status: | CLOSED ERRATA | QA Contact: | jcallaha |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.14 | CC: | akarsale, apatel, aruzicka, bkearney, cwelton, dhlavacd, inecas, kgaikwad, mhulan, pcreech, rabajaj, wlehman |
Target Milestone: | 6.5.0 | Keywords: | FutureFeature |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | hammer_cli_foreman_remote_execution-0.1.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-14 12:37:13 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: | 1465521 | ||
Bug Blocks: | 1582380 |
Description
Camry Fedei
2018-04-16 17:06:02 UTC
This was implemented in upstream commit https://github.com/theforeman/hammer_cli_foreman_remote_execution/commit/d00830ba17a076c30fd6ce436695e2ff0fb7f900 hammer_cli_foreman_remote_execution-0.1.0 containing the needed bits and pieces was released in upstream. Verified in Satellite 6.5.0 Snap 10 [vagrant@sat-6-5-qa-rhel7 ~]$ hammer job-invocation list ---|--------------------------|--------|---------|--------|---------|-------|------------------------ ID | DESCRIPTION | STATUS | SUCCESS | FAILED | PENDING | TOTAL | START ---|--------------------------|--------|---------|--------|---------|-------|------------------------ 1 | Run ping -c 5 google.com | queued | N/A | N/A | N/A | N/A | 2019-01-11 21:46:00 UTC ---|--------------------------|--------|---------|--------|---------|-------|------------------------ [vagrant@sat-6-5-qa-rhel7 ~]$ hammer job-invocation cancel --id 1 Job invocation 1 cancelled [vagrant@sat-6-5-qa-rhel7 ~]$ hammer job-invocation list ---|--------------------------|--------|---------|--------|---------|-------|------------------------ ID | DESCRIPTION | STATUS | SUCCESS | FAILED | PENDING | TOTAL | START ---|--------------------------|--------|---------|--------|---------|-------|------------------------ 1 | Run ping -c 5 google.com | failed | N/A | N/A | N/A | 0 | 2019-01-11 21:46:00 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:1222 |