Project

Profile

Help

Refactor #2154

closed

Convert task system to use django models

Added by mhrivnak over 7 years ago. Updated about 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
Actions #1

Updated by mhrivnak over 7 years ago

  • Blocked by Refactor #2087: create django models for task system added
Actions #2

Updated by bmbouter over 7 years ago

  • Description updated (diff)
  • Groomed changed from No to Yes
Actions #3

Updated by mhrivnak over 7 years ago

  • Description updated (diff)
Actions #4

Updated by jortel@redhat.com over 7 years ago

  • Tags Pulp 3 Modeling added
Actions #5

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone set to 25
Actions #6

Updated by bmbouter over 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
Actions #7

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone changed from 25 to 26
Actions #8

Updated by mhrivnak over 7 years ago

  • Blocked by Task #2245: Replace all old settings file usage with the new settings file and delete the old one added
Actions #9

Updated by bmbouter over 7 years ago

  • Blocks Task #2275: Configure Celery to log using the Pulp syslog handler added
Actions #10

Updated by fdobrovo over 7 years ago

  • Blocks Refactor #2157: Convert pulp_resource_manager to use a django lock model added
Actions #11

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone changed from 26 to 27

Added by bmbouter over 7 years ago

Revision aba8ba20 | View on GitHub

Converts tasking system to use Django models

Moves all tasking code to pulp.platform.tasks and updates existing usage to use the new location. Also the code itself is converted to use the new Django models.

https://pulp.plan.io/issues/2154 closes #2154

Added by bmbouter over 7 years ago

Revision aba8ba20 | View on GitHub

Converts tasking system to use Django models

Moves all tasking code to pulp.platform.tasks and updates existing usage to use the new location. Also the code itself is converted to use the new Django models.

https://pulp.plan.io/issues/2154 closes #2154

Actions #12

Updated by bmbouter over 7 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100
Actions #13

Updated by ttereshc over 7 years ago

  • Related to Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 added
Actions #14

Updated by bmbouter over 6 years ago

  • Tags deleted (Pulp 3 Modeling)
Actions #15

Updated by bmbouter almost 6 years ago

  • Sprint set to Sprint 9
Actions #16

Updated by bmbouter almost 6 years ago

  • Sprint/Milestone deleted (27)
Actions #17

Updated by daviddavis almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #18

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #19

Updated by bmbouter about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF