Database access is needed during collectstatic
pulpcore-manager collectstatic pulpcore-manager migrate
My understanding is that collectstatic never needs the database so it should skip these checks.
Added by Ewoud Kohl van Wijngaarden over 1 year ago
Skip allowed content checks on collectstatic
Since 9a9a06f1e37f5367e36a24b9aa3aca6ca78dab53 DB access is always needed. In later commits this was extended with additional checks.
However, collectstatic should be a fully offline operation that doesn't access the network. As such, content checking is not needed.
Doing this allows the Foreman/Katello installer to run it more freely. The alternative is to add additional ordering. However, I'd argue that this is better and also slightly faster.