Project

Profile

Help

Issue #3382

listing tasks with pulp-admin -vvv returns incorrect information for task_type

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

This is a similar issue to the recent worker_name issue, but it only applies to the list view

pulp-admin -vvv tasks list --all

[
......
  {                                                                                                                                                                                                                
    "exception": null,                                                                                                                                                                                             
    "task_type": null,                                                                                                                                                                                             
    "_href": "/pulp/api/v2/tasks/2c45e8a8-b796-47a3-8130-c1288a9e5ed2/",                                                                                                                                           
    "task_id": "2c45e8a8-b796-47a3-8130-c1288a9e5ed2",                                                                                                                                                             
    "tags": [                                                                                                                                                                                                      
      "pulp:repository:zoo",                                                                                                                                                                                       
      "pulp:action:publish"                                                                                                                                                                                        
    ],                                                                                                                                                                                                             
    "finish_time": "2018-02-17T20:45:15Z",                                                                                                                                                                         
    "_ns": "task_status",                                                                                                                                                                                          
    "start_time": "2018-02-17T20:45:15Z",                                                                                                                                                                          
    "traceback": null,                                                                                                                                                                                             
    "spawned_tasks": [],                                                                                                                                                                                           
    "progress_report": {},                                                                                                                                                                                         
    "state": "finished",                                                                                                                                                                                           
    "worker_name": "reserved_resource_worker-0@pulp2.dev",                                                                                                                                                         
    "result": null,                                                                                                                                                                                                
    "error": null,                                                                                                                                                                                                 
    "_id": {                                                                                                                                                                                                       
      "$oid": "5a88945bc7fdea845d0b29c7"                                                                                                                                                                           
    },                                                                                                                                                                                                             
    "id": "5a88945bc7fdea845d0b29c7"                                                                                                                                                                               
  }                                                                                                                                                                                                                
]                                                                                                                                                                                                                  

pulp-admin -vvv tasks details --task-id 2c45e8a8-b796-47a3-8130-c1288a9e5ed2

 {                                                                                                                                                                                                                 
  "exception": null,                                                                                                                                                                                               
  "task_type": "pulp.server.managers.repo.publish.publish",                                                                                                                                                        
  "_href": "/pulp/api/v2/tasks/2c45e8a8-b796-47a3-8130-c1288a9e5ed2/",                                                                                                                                             
  "task_id": "2c45e8a8-b796-47a3-8130-c1288a9e5ed2",                                                                                                                                                               
  "tags": [                                                                                                                                                                                                        
    "pulp:repository:zoo",                                                                                                                                                                                         
    "pulp:action:publish"                                                                                                                                                                                          
  ],                                                                                                                                                                                                               
  "finish_time": "2018-02-17T20:45:15Z",                                                                                                                                                                           
  "_ns": "task_status",                                                                                                                                                                                            
  "start_time": "2018-02-17T20:45:15Z",                                                                                                                                                                            
  "traceback": null,                                                                                                                                                                                               
  "spawned_tasks": [],                              
  "progress_report": {},                            
  "queue": "reserved_resource_worker-0@pulp2.dev.dq2",                                                   
  "state": "finished",                              
  "worker_name": "reserved_resource_worker-0@pulp2.dev",                                                 
  "result": {                                       
    "exception": null,                              
    "repo_id": "zoo",                               
    "started": "2018-02-17T20:45:15Z",              
    "_ns": "repo_publish_results",                  
    "completed": "2018-02-17T20:45:15Z",            
    "traceback": null,                              
    "distributor_type_id": "yum_distributor",       
    "error_message": null,                          
    "summary": "Skipped: Repository content has not changed since last publish.",                        
    "result": "skipped",                            
    "distributor_id": "yum_distributor",            
    "id": "5a88945b30f2524eb69dbd81",               
    "details": "Skipped: Repository content has not changed since last publish."                         
  },                                                
  "error": null,                                    
  "_id": {                                          
    "$oid": "5a88945bc7fdea845d0b29c7"              
  },                                                
  "id": "5a88945bc7fdea845d0b29c7"                  
}                                         

History

#1 Updated by dalley almost 4 years ago

  • 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