Bug #32924
closedIt is possible to specify a compute profile without any attributes in a hostgroup
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1798551
Description of problem:
In Hammer, it is possible to select any compute profile for a hostgroup. However, in WebUI, it is only possible to select a compute profile that has attributes for at least one compute resource (i.e. is not shown as "unspecified" when open through Infrastructure -> Compute Profiles -> <compute_profile>). Furthermore, when selecting a compute profile through Hammer that would be hidden in WebUI, that compute profile is then shown in WebUI when editing that (and only that!) hostgroup.
Version-Release number of selected component (if applicable):
6.7, not a regression (new feature)
How reproducible:
Deterministic
Steps to Reproduce:
1. hammer hostgroup {create,update} ... --compute-profile-id <ID_of_a_profile_without_attributes_for_any_CR>
Actual results:
Compute profile selected. Compute profile shown in WebUI for that hostgroup.
Expected results:
Unable to select that compute profile, consistently with WebUI.