Project

Profile

Help

Refactor #2154

Convert task system to use django models

Added by mhrivnak about 4 years ago. Updated 10 months 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 - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Pulp - Refactor #2087: create django models for task systemCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Pulp - Task #2245: Replace all old settings file usage with the new settings file and delete the old oneCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Task #2275: Configure Celery to log using the Pulp syslog handlerCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Refactor #2157: Convert pulp_resource_manager to use a django lock modelCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision aba8ba20 View on GitHub
Added by bmbouter almost 4 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 almost 4 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 4 years ago

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

#2 Updated by bmbouter about 4 years ago

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

#3 Updated by mhrivnak about 4 years ago

  • Description updated (diff)

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

  • Tags Pulp 3 Modeling added

#5 Updated by mhrivnak about 4 years ago

  • Sprint/Milestone set to 25

#6 Updated by bmbouter about 4 years ago

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

#7 Updated by mhrivnak about 4 years ago

  • Sprint/Milestone changed from 25 to 26

#8 Updated by mhrivnak about 4 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 4 years ago

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

#10 Updated by fdobrovo almost 4 years ago

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

#11 Updated by mhrivnak almost 4 years ago

  • Sprint/Milestone changed from 26 to 27

#12 Updated by bmbouter almost 4 years ago

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

#13 Updated by ttereshc almost 4 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 3 years ago

  • Tags deleted (Pulp 3 Modeling)

#15 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 9

#16 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (27)

#17 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#18 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#19 Updated by bmbouter 10 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF