Bug 1385535

Summary: [RFE] PXELoader options should be filtered based on available Provisioning Templates
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Roman Plevka <rplevka>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: inecas, lzap
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
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: 2018-09-04 19:12:46 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:

Description Roman Plevka 2016-10-17 09:50:03 UTC
Description of problem:
PXELoader field in New Host -> Operating System
seems to be hardcoded and contains all possible values. However, If the selected OS has no appropriate Provisioning template set (e.g. PXEGrub), the new host creation will fail with:

"No PXEGrub templates were found for this host, make sure you define at least one in your Fedora 24 settings or change PXE loader"

It would be nice to have the pxe loaders linked to the appropriate provisioning templates and simply not offer them if such provisioning template is not assigned to the used OS.

Version-Release number of selected component (if applicable):
sat6.3

How reproducible:
always

Steps to Reproduce:
1. create an OS and make sure it has no PXEGrub template or PXEGrub2 template assigned (this should be by default)
2. try to create a new host with selecting one of the 'Grub*' values for a PXELoader field on Operating System tab of the NEw Host dialog.


Actual results:
All values available to be selected, resulting in error message

Expected results:
The field offers only appropriate loaders (based on the selected provisioning templates for a specified OS)

Additional info:

Comment 2 Lukas Zapletal 2016-10-21 13:04:06 UTC
Sure, valid option, I had no time to do this for the release.

Comment 3 Bryan Kearney 2018-09-04 19:00:37 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 4 Bryan Kearney 2018-09-04 19:12:46 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.