Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pulpbot opened this issue Jan 17, 2022 · 2 comments
Labels

Comments

@pulpbot
Copy link
Member

pulpbot commented Jan 17, 2022

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:

  • When the pulpcore-manager check command is run
  • When pulpcore is run as part of a WSGI stack
@pulpbot
Copy link
Member Author

pulpbot commented Jan 17, 2022

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().

@dralley dralley added Feature and removed New labels Feb 1, 2022
@stale
Copy link

stale bot commented May 24, 2022

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!

@stale stale bot added the stale label May 24, 2022
@dralley dralley removed the stale label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants