Project

Profile

Help

Issue #9095

closed

pulp_installer preflight check is typically not being run when pulp-rpm is being installed

Added by mdepaulo@redhat.com almost 3 years ago. Updated over 2 years ago.

Status:
MODIFIED
Priority:
Normal
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)

Also available in: Atom PDF