Refactor #2154

Updated by mhrivnak almost 4 years ago

Make all aspects of the task system use django models instead of mongo. For example, pulp_celerybeat and pulp_resource_manager should no longer need connections to mongodb. 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:

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.