| Summary: | [RFE] hammer task list --search option should cover "Action" field | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Kamudini Gazdikova <kshirsal> |
| Component: | Tasks Plugin | Assignee: | Katello Bug Bin <katello-bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Hellebrandt <lhellebr> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1.7 | CC: | aruzicka, bkearney, jnikolak, kshirsal, ktordeur, lhellebr, vijsingh |
| Target Milestone: | Unspecified | Keywords: | FutureFeature |
| Target Release: | Unused | Flags: | ktordeur:
needinfo-
|
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://projects.theforeman.org/issues/14650 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-16 11:55:42 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: | |
|
Comment 1
Bryan Kearney
2016-04-14 16:09:46 UTC
Upstream bug component is Tasks Plugin Something like this would also be useful.
See states of tasks in running or pending
hammer task list | egrep -i "\| running"
8e2845ce-035e-4f11-bd7b-8a8d3386e1b6 | | | 2016/11/01 15:23:43 | | running | pending | Listen on candlepin events |
--> Currently no option to do otherwise
#######################################
# hammer task list --help
Usage:
hammer task list [OPTIONS]
Options:
--by BY Field to sort the results on
--order ORDER Sort field and order, e.g. 'name DESC'
--page PAGE Page number, starting at 1
--per-page PER_PAGE Number of results per page to return
--search SEARCH Search string
-h, --help print help
[root@jnik source]#
##########################################
(In reply to jnikolak from comment #4) Searching by task states and results can be done like this: # hammer task list --search "state = running and result = pending" We should get this for free when BZ1417130[1] gets fixed. Keeping this one open to track the hammer part of things in case some more changes are needed. [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1417130 |