Project

General

Profile

Actions

Bug #32924

closed

It is possible to specify a compute profile without any attributes in a hostgroup

Added by Tomer Brisker over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by yifat makias over 2 years ago

  • Status changed from New to Assigned
  • Assignee set to yifat makias
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8641 added
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.0.0 added
Actions #4

Updated by yifat makias over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF