Issue #9095
closedpulp_installer preflight check is typically not being run when pulp-rpm is being installed
Description
This appears to a regression from #6799 .
It's a bug in the logic, we want to run 2 preflight checks (before and after the prereq_role is loaded).
For the "before" check:
Instead of checking for either pulp-rpm being in pulp_install_plugins
(the common use case now) or any plugin having a prereq_role
(extremely uncommon now), we check for both of those things happening. We use an "and" rather than an "or".
For the "after" check:
We only check for a plugin having a "prereq_role". We should also check for pulp-rpm being in pulp_install_plugins
(the common use case now)
Updated by mdepaulo@redhat.com over 3 years ago
- Subject changed from pulp_installer preflight check is not being run when pulp-rpm is being installed to pulp_installer preflight check is typically not being run when pulp-rpm is being installed
- Description updated (diff)
Added by Mike DePaulo over 3 years ago
Added by Mike DePaulo over 3 years ago
Revision 1754af5e | View on GitHub
Problem: pulp_installer preflight check is
typically not being run when pulp-rpm is being installed
Solution: Ensure that the check is for either pulp-rpm being in the
list or the nested variable prereq_role
is specified.
fixes: #9095
Updated by pulpbot over 3 years ago
- Status changed from NEW to POST
Updated by Anonymous over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|1754af5e3602bc2c127d1c3f9b72e6f2d0a8f5a4.
Problem: pulp_installer preflight check is
typically not being run when pulp-rpm is being installed
Solution: Ensure that the check is for either pulp-rpm being in the list or the nested variable
prereq_role
is specified.fixes: #9095