Actions
Issue #9095
closedpulp_installer preflight check is typically not being run when pulp-rpm is being installed
Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
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)
Actions
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