Project

General

Profile

Actions

Bug #38910

closed

Host #template_kinds does not return image template kind when compute attributes are not set

Added by Shimon Shtein 5 months ago. Updated about 2 months ago.

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

Description

During image based provisioning the template check orchestration is rescheduled (supposedly by the `built` call). During this call the compute_attributes property of the host is nil, so when template_kinds method is called it will return an empty array of template kinds.

Expected: since the `image` property of the host is set, we can use it to understand which template kind should be returned.

Actions #1

Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10770 added
Actions #2

Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 3.18.0 added
Actions #3

Updated by Shimon Shtein 5 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden 4 months ago

  • Red Hat JIRA set to SAT-38859
Actions #5

Updated by Ondřej Gajdušek about 2 months ago

  • Subject changed from host #template_kinds does not return image template kind when compute attributes are not set to Host #template_kinds does not return image template kind when compute attributes are not set
Actions

Also available in: Atom PDF