Actions
Story #851
closedAs a user, I can see tasks in particular states
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
April 2015
Quarter:
Description
Deliverables
- "tasks list" by default only shows waiting and running
- "tasks list" has options to specify which states you want, including maybe a "--all", maybe "--states" as a CSV field, etc.
- "tasks list" by default sorts chronologically by queued time (we can use the mongo ID for that)
Related issues
Updated by ipanova@redhat.com over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Updated by ipanova@redhat.com over 8 years ago
- Status changed from ASSIGNED to POST
- % Done changed from 0 to 100
Added by ipanova@redhat.com over 8 years ago
Added by ipanova@redhat.com over 8 years ago
Revision 1d2bf73b | View on GitHub
As a user, I can see tasks in particular states.
closes #851
Updated by ipanova@redhat.com over 8 years ago
- Status changed from POST to MODIFIED
- Sprint/Milestone set to 15
- Platform Release set to 2.7.0
Updated by ipanova@redhat.com over 8 years ago
Applied in changeset pulp|1d2bf73b9eb5cb10253e09bbd1c1a2aa209b15aa.
Updated by bmbouter over 8 years ago
- Related to Story #941: As a user, I can list tasks by resource name added
Updated by bmbouter over 8 years ago
- Sprint Candidate set to Yes
- Tags deleted (
Sprint Candidate)
Updated by dkliban@redhat.com over 8 years ago
- Status changed from MODIFIED to 5
Updated by ipanova@redhat.com over 8 years ago
To verify this:
- check that '--all' works as supposed
- check that '--state' works as supposed
- check that only waiting and running tasks are showed by default
Updated by pthomas@redhat.com over 8 years ago
- Status changed from 5 to ASSIGNED
fails-qa
Looks like the --state is not working
[root@qe-blade-10 ~]# pulp-admin tasks list --state
Usage: pulp-admin [options]
Command: list
Description: lists tasks queued (waiting) or running on the server
Available Arguments:
--all, -a - if specified, all tasks in all states are shown
--state, -s - comma-separated list of tasks states desired to be shown.
Example: "running,waiting,canceled,successful,failed". Do not
include spaces
[root@qe-blade-10 ~]# pulp-admin tasks list --state successful
+----------------------------------------------------------------------+
Tasks
+----------------------------------------------------------------------+
No tasks found
[root@qe-blade-10 ~]#
[root@qe-blade-10 ~]# pulp-admin tasks list --all
+----------------------------------------------------------------------+
Tasks
+----------------------------------------------------------------------+
Operations: sync
Resources: zoo (repository)
State: Successful
Start Time: 2015-06-30T14:46:27Z
Finish Time: 2015-06-30T14:46:38Z
Task Id: 50097163-c90f-49fa-80ff-a301620a5ad6
Operations: publish
Resources: zoo (repository)
State: Successful
Start Time: 2015-06-30T14:46:38Z
Finish Time: 2015-06-30T14:46:38Z
Task Id: 2d47229d-258a-4c7d-83e6-24f1dd1f136c
Operations: unassociate
Resources: zoo (repository)
State: Successful
Start Time: 2015-06-30T14:47:17Z
Finish Time: 2015-06-30T14:47:17Z
Task Id: 20d8c6bb-d0cb-460c-8c5a-f1e9c07b1407
Operations: unassociate
Resources: zoo (repository)
State: Successful
Start Time: 2015-06-30T14:47:42Z
Finish Time: 2015-06-30T14:47:42Z
Task Id: 402f0ff7-414a-401f-952e-454fe2ac0047
Updated by ipanova@redhat.com over 8 years ago
- Related to Issue #1041: Fix the discrepancy in the task state shown in the api and pulp-admin added
Updated by ipanova@redhat.com over 8 years ago
- Related to Task #1028: Search and destroy the word 'cancelled' and modify to 'canceled' added
Updated by ipanova@redhat.com over 8 years ago
- Status changed from ASSIGNED to POST
Added by ipanova@redhat.com over 8 years ago
Revision 745f1443 | View on GitHub
Adding temporary fix for task state discrepancies.
Added by ipanova@redhat.com over 8 years ago
Revision 745f1443 | View on GitHub
Adding temporary fix for task state discrepancies.
Updated by ipanova@redhat.com over 8 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|745f1443d175d7fae6d379581d0201a13e1a8120.
Updated by dkliban@redhat.com about 8 years ago
- Status changed from MODIFIED to 5
Updated by rbarlow almost 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
As a user, I can see tasks in particular states.
closes #851