Project

Profile

Help

Issue #7543

Updated by daviddavis over 2 years ago

When performing a .read(task_href='') using the python client, no "reserved_resources_record" is present, making it impossible to track down which publisher a task was associated with via the python client. 

 ``` 
 >>> tasks.read(task_href='/pulp/api/v3/tasks/1d713b51-22db-4582-bd13-88da822cd91f/') 
 {'child_tasks': [], 
  'created_resources': [None], 
  'error': None, 
  'finished_at': datetime.datetime(2020, 9, 18, 8, 57, 11, 669495, tzinfo=tzutc()), 
  'name': 'pulp_rpm.app.tasks.publishing.publish', 
  'parent_task': None, 
  'progress_reports': [], 
  'pulp_created': datetime.datetime(2020, 9, 18, 8, 57, 11, 387721, tzinfo=tzutc()), 
  'pulp_href': '/pulp/api/v3/tasks/1d713b51-22db-4582-bd13-88da822cd91f/', 
  'started_at': datetime.datetime(2020, 9, 18, 8, 57, 11, 474496, tzinfo=tzutc()), 
  'state': 'completed', 
  'task_group': None, 
  'worker': '/pulp/api/v3/workers/2ab4deb9-897e-43d4-9cdf-a6f95cf8f4e5/'} 
 ``` 

 Version: 3.6.0 

Back