Bug #4287

Template associations on HG & Env is broken

Added by Greg Sutcliffe over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Greg Sutcliffe
Category:Unattended installations
Target version:Sprint 23
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.0Release relationshipAuto

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

Duplicated by Foreman - Bug #5717: Provisioning template selection issue Duplicate 05/14/2014

Associated revisions

Revision 1443ec13
Added by Greg Sutcliffe over 3 years ago

Fixes #4287 - Join directly to template_combinations when resolving templates

History

#1 Updated by Greg Sutcliffe over 3 years ago

  • Release set to 1.5.0

#2 Updated by Dominic Cleal over 3 years ago

  • Target version set to Sprint 23

#3 Updated by Greg Sutcliffe over 3 years ago

  • Assigned To set to Greg Sutcliffe

#4 Updated by Dominic Cleal over 3 years ago

  • Status changed from New to Assigned

#5 Updated by Dominic Cleal over 3 years ago

  • Status changed from Assigned to Ready For Testing

#6 Updated by Greg Sutcliffe over 3 years ago

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

#7 Updated by Dominic Cleal over 3 years ago

  • Duplicated by Bug #5717: Provisioning template selection issue added

Also available in: Atom PDF