pulp / pulpcore

Pulp 3 pulpcore package https://pypi.org/project/pulpcore/
GNU General Public License v2.0
294 stars 115 forks source link

As a user, I have checks that are run when starting Pulp and when I run "pulpcore-manager check" #1972

Open pulpbot opened 2 years ago

pulpbot commented 2 years ago

Author: daviddavis (daviddavis)

Redmine Issue: 8265, https://pulp.plan.io/issues/8265


Right now we have checks in two different places in our application:

The first set of checks aren't being run except by Katello. This is because "checks are not run as part of the WSGI stack that is used in deployment".

We should standardize on one approach to checks that will be run:

pulpbot commented 2 years ago

From: daviddavis (daviddavis) Date: 2021-02-22T19:52:07Z


We should also try to move to models instead of using a db cursor. One thing that might help is using django's get_model() function. We could probably call this in the check if it's done after/at AppConfig's ready().

stale[bot] commented 2 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!