Project

General

Profile

Bug #4287

Template associations on HG & Env is broken

Added by Greg Sutcliffe over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Seems like the template associations are using OR instead of AND.

reproduce:
  • Ensure you have an os which can be provisioned, create a new host, use the OS, click Resolve Templates, see the default finish template
  • Create a new finish template, associate it to a specific env & hg
  • Create a new host, assign the OS, HG, and env. Observe Resolve templates correctly showing the new template will be used
  • Change the env and resolve again, the output still shows the new template (despite the env not matching)
  • Change the HG and resolve again, the output now correctly goes back to the default finish template

Related issues

Has duplicate Foreman - Bug #5717: Provisioning template selection issueDuplicate2014-05-14

Associated revisions

Revision 1443ec13 (diff)
Added by Greg Sutcliffe over 5 years ago

Fixes #4287 - Join directly to template_combinations when resolving templates

Revision 0412ca1f (diff)
Added by Greg Sutcliffe over 5 years ago

Fixes #4287 - Join directly to template_combinations when resolving templates

(cherry picked from commit 1443ec139bdb0a31faeef80f6c177d4f30fa4bdb)

History

#1 Updated by Greg Sutcliffe over 5 years ago

  • Legacy Backlogs Release (now unused) set to 4

#2 Updated by Dominic Cleal over 5 years ago

  • Target version set to 1.8.3

#3 Updated by Greg Sutcliffe over 5 years ago

  • Assignee set to Greg Sutcliffe

#4 Updated by Dominic Cleal over 5 years ago

  • Status changed from New to Assigned

#5 Updated by Dominic Cleal over 5 years ago

  • Status changed from Assigned to Ready For Testing

#6 Updated by Greg Sutcliffe over 5 years ago

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

#7 Updated by Dominic Cleal over 5 years ago

  • Has duplicate Bug #5717: Provisioning template selection issue added

Also available in: Atom PDF