Project

General

Profile

Bug #8321

Regression in 6e916e5 - Templates for image-based hosts can no longer be rendered

Added by Greg Sutcliffe over 4 years ago. Updated 11 months ago.

Status:
Closed
Priority:
High
Category:
Templates
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
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

Related to Foreman - Feature #746: Generate all the Host template when click on Build to avoid errors during installationClosed2011-03-15

Associated revisions

Revision bde3e87f (diff)
Added by Greg Sutcliffe over 4 years ago

Fixes #8321 - correctly pull Compute Resource image method from compute attributes

Revision c5c28430 (diff)
Added by Greg Sutcliffe over 4 years ago

Fixes #8321 - correctly pull Compute Resource image method from compute attributes

(cherry picked from commit bde3e87fabeb2006508ee9eddf70f66010b9da74)

History

#1 Updated by The Foreman Bot over 4 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 over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

#3 Updated by Dominic Cleal over 4 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 over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF