Project

Profile

Help

Refactor #2154

Convert task system to use django models

Added by mhrivnak about 3 years ago. Updated 6 months ago.

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

100%

Platform Release:
Blocks Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Complexity:
Verified:
No
Verification Required:
No
Sprint:
Sprint 9

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.0 CLOSED - CURRENTRELEASE Actions
Blocked by Pulp - Refactor #2087: create django models for task system MODIFIED Actions
Blocked by Pulp - Task #2245: Replace all old settings file usage with the new settings file and delete the old one MODIFIED Actions
Blocks Pulp - Task #2275: Configure Celery to log using the Pulp syslog handler MODIFIED Actions
Blocks Pulp - Refactor #2157: Convert pulp_resource_manager to use a django lock model MODIFIED Actions

Associated revisions

Revision aba8ba20 View on GitHub
Added by bmbouter about 3 years ago

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

Revision aba8ba20 View on GitHub
Added by bmbouter about 3 years ago

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

Revision aba8ba20 View on GitHub
Added by bmbouter about 3 years ago

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

History

#1 Updated by mhrivnak about 3 years ago

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

#2 Updated by bmbouter about 3 years ago

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

#3 Updated by mhrivnak about 3 years ago

  • Description updated (diff)

#4 Updated by jortel@redhat.com about 3 years ago

  • Tags Pulp 3 Modeling added

#5 Updated by mhrivnak about 3 years ago

  • Sprint/Milestone set to 25

#6 Updated by bmbouter about 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter

#7 Updated by mhrivnak about 3 years ago

  • Sprint/Milestone changed from 25 to 26

#8 Updated by mhrivnak about 3 years ago

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

#9 Updated by bmbouter about 3 years ago

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

#10 Updated by fdobrovo about 3 years ago

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

#11 Updated by mhrivnak about 3 years ago

  • Sprint/Milestone changed from 26 to 27

#12 Updated by bmbouter about 3 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100

#13 Updated by ttereshc almost 3 years ago

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

#14 Updated by bmbouter about 2 years ago

  • Tags deleted (Pulp 3 Modeling)

#15 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 9

#16 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (27)

#17 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#18 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF