Project

Profile

Help

Refactor #2154

closed

Convert task system to use django models

Added by mhrivnak over 7 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 9
Quarter:

Description

Make all aspects of the task system use django models instead of mongo. Any code which uses the old mongoengine objects corresponding with these tables needs to use the new one.

  • reserved_resources
  • task_status
  • workers

Almost all of it will be contained here: https://github.com/pulp/pulp/tree/master/server/pulp/server/async

This does not include any REST API work.
This does not include the models used by the resource manager and celery beat processes to obtain a lock.
This does not include scheduled calls.


Related issues

Related to Pulp - Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0CLOSED - CURRENTRELEASEttereshc

Actions
Blocked by Pulp - Refactor #2087: create django models for task systemCLOSED - CURRENTRELEASEpcreech

Actions
Blocked by Pulp - Task #2245: Replace all old settings file usage with the new settings file and delete the old oneCLOSED - CURRENTRELEASEbizhang

Actions
Blocks Pulp - Task #2275: Configure Celery to log using the Pulp syslog handlerCLOSED - CURRENTRELEASEfdobrovo

Actions
Blocks Pulp - Refactor #2157: Convert pulp_resource_manager to use a django lock modelCLOSED - CURRENTRELEASEfdobrovo

Actions

Also available in: Atom PDF