Bug #8321
Regression in 6e916e5 - Templates for image-based hosts can no longer be rendered
Pull request:
Fixed in Releases:
Found in Releases:
Description
in #746, the method which retrieves available templates was refactored. In doing so, an error was introduced, where we try to call
self.compute_attributes.cr.image_param_name
however, compute_attributes is a normal hash, it has no cr method. It should be
self.compute_attributes[cr.image_param_name]
PR incoming, with a test to cover it.
Related issues
Associated revisions
Fixes #8321 - correctly pull Compute Resource image method from compute attributes
(cherry picked from commit bde3e87fabeb2006508ee9eddf70f66010b9da74)
History
#1
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1909 added
- Pull request deleted (
)
#2
Updated by Dominic Cleal about 6 years ago
- Legacy Backlogs Release (now unused) set to 21
#3
Updated by Dominic Cleal about 6 years ago
- Related to Feature #746: Generate all the Host template when click on Build to avoid errors during installation added
#4
Updated by Greg Sutcliffe about 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset bde3e87fabeb2006508ee9eddf70f66010b9da74.
Fixes #8321 - correctly pull Compute Resource image method from compute attributes