Project

Profile

Help

Issue #3368

batch_regenerate_applicability tasks have no action tag, so pulp-admin can't tell you what they were

Added by dalley almost 4 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

[vagrant@pulp2 ~]$ pulp-admin -vv tasks details --task-id 8951c4b6-2b3c-460d-b84d-e9574b093c1e
+----------------------------------------------------------------------+
                              Task Details
+----------------------------------------------------------------------+

2018-02-13 16:06:24,701 - DEBUG - sending GET request to /pulp/api/v2/tasks/8951c4b6-2b3c-460d-b84d-e9574b093c1e/
2018-02-13 16:06:24,739 - INFO - GET request to /pulp/api/v2/tasks/8951c4b6-2b3c-460d-b84d-e9574b093c1e/ with parameters None
2018-02-13 16:06:24,739 - INFO - Response status : 200 

2018-02-13 16:06:24,739 - INFO - Response body :
 {
  "exception": null, 
  "task_type": "pulp.server.managers.consumer.applicability.batch_regenerate_applicability", 
  "_href": "/pulp/api/v2/tasks/8951c4b6-2b3c-460d-b84d-e9574b093c1e/", 
  "task_id": "8951c4b6-2b3c-460d-b84d-e9574b093c1e", 
  "tags": [], 
  "finish_time": "2018-02-13T16:02:33Z", 
  "_ns": "task_status", 
  "start_time": "2018-02-13T16:02:31Z", 
  "traceback": null, 
  "spawned_tasks": [], 
  "progress_report": {}, 
  "queue": "reserved_resource_worker-3@pulp2.dev.dq2", 
  "state": "finished", 
  "worker_name": "reserved_resource_worker-3@pulp2.dev", 
  "result": null, 
  "error": null, 
  "_id": {
    "$oid": "5a830bf49664af7dc4901870"
  }, 
  "id": "5a830bf49664af7dc4901870"
}

Operations:       
Resources:        
State:            Successful
Start Time:       2018-02-13T16:02:31Z
Finish Time:      2018-02-13T16:02:33Z
Result:           N/A
Task Id:          8951c4b6-2b3c-460d-b84d-e9574b093c1e
Worker Name:      reserved_resource_worker-3@pulp2.dev
Progress Report:  

The only way to know what a task did is to view the "task_type" field from the record. pulp-admin's "Operations" field works based off of "tags", which are not provided for batch_regenerate_applicability tasks [0].

Tanya suspects it might have something to do with task groups.

[0] https://github.com/pulp/pulp/blob/master/server/pulp/server/managers/consumer/applicability.py#L169

History

#1 Updated by dalley almost 4 years ago

  • Priority changed from Normal to Low
  • Severity changed from 2. Medium to 1. Low
  • Triaged changed from No to Yes

#2 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF