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 6 months ago. Updated 3 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

Also available in: Atom PDF