Story #3778: [Epic] As a user, I can run Pulp 3 in a FIPS-enabled environment
As a user, I'm prevented from changing ALLOWED_CONTENT_CHECKSUMS if I already have content in my DB
Users should not change the
ALLOWED_CONTENT_CHECKSUMS if they already have content in their DB.
Let's add a check at Pulp start time that causes them to not do that
As suggested by @daviddavis, at the bottom of the pulpcore.app.settings, add another check that performs a select like SELECT * FROM artifacts WHERE a IS NULL or b IS NULL ... and if this returns any artifacts, raise an ImproperlyConfigured error.
Since we can't change settings during functional test runs, we cannot reasonably test for this.
Added check for ALLOWED_CONTENT_CHECKSUMS that Artifacts are missing
Please register to edit this issue