Bug 1384527
Summary: | allow user to force installation of distro from excluded family | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jan Stancek <jstancek> |
Component: | general | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 21 | CC: | dcallagh, dowang, fweimer, jburke, mjia, rjoost |
Target Milestone: | 24.0 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-21 18:48:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Stancek
2016-10-13 13:15:28 UTC
Lets try to get this in Beaker 24.0 So we could adjust the pair of Recipe.candidate_systems() and Recipe.hypothetical_candidate_systems() methods (they are mirror images of each other) so that the system excluded families are not applied when force=True. The problem is that we use hypothetical_candidate_systems() to determine which systems to show in the Reserve Workflow, when the user has picked their distro and they want to look at systems which are compatible. So even though we use force=True in the Reserve Workflow we probably *don't* want the Reserve Workflow to suddenly start offering systems which are known to be incompatible. (In reply to Dan Callaghan from comment #3) Seems like we might as well just divorce the Reserve Workflow system listing from the hypothetical_candidate_systems() method, it's already doing slightly different filtering (excluding Broken) and will probably have more differences in future (bug 1099142). So no big deal really. Verify passed on beaker-server-24.0-0.git.194.c515848 Steps: 1. Choose a system then add RHEL 7 to it exclude distro. 2. Use Reserve workflow try to reserve this system with exclude distro. Results: Beaker not allow this action. 3. Use xml force install this distro. Results: Job can complete install. job link --> https://beaker-devel.app.eng.bos.redhat.com/recipes/17250#task141135 Beaker 24.0 has been released. |