Project

General

Profile

Actions

Bug #17503

closed

Host model load causes unnecessary loads on instantiation

Added by Tomer Brisker almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The fix for #12634 introduced a PXELoaderSuggestion mechanism that is executed as an `after_initialize` hook. This causes any Host object instantiation to execute this suggestion mechanism, which may lead to up to 3 extra queries per host. However, this is only needed for the host creation form to populate the PXELoader field when choosing OS.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #12634: New HW Model flag pxe_loader in UI/APIClosedLukas Zapletal11/30/2015Actions
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request https://github.com/theforeman/foreman/pull/4063 added
Actions #2

Updated by Tomer Brisker almost 8 years ago

  • Related to Feature #12634: New HW Model flag pxe_loader in UI/API added
Actions #3

Updated by Daniel Lobato Garcia almost 8 years ago

  • Target version set to 1.4.3
Actions #4

Updated by Anonymous almost 8 years ago

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

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 209
Actions

Also available in: Atom PDF