This fixes an issue where the default filters are loaded before
IronicHostManager overrides the default, which is the intended behavior
when CONF.scheduler_use_baremetal_filters is True.
Creates a _load_filters method on the base HostManager class that
returns a list of filters to be loaded at initialization, and overrides
it in IronicHostManager to return the default baremetal filters when
scheduler_use_baremetal_filters is set.
Reviewed: https:/ /review. openstack. org/170299 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c4dc66994c5 548afa4a13b4206 9d77435b6df6bb
Committed: https:/
Submitter: Jenkins
Branch: master
commit c4dc66994c5548a fa4a13b42069d77 435b6df6bb
Author: Jim Rollenhagen <email address hidden>
Date: Thu Apr 2 14:55:18 2015 -0700
Respect CONF.scheduler_ use_baremetal_ filters
This fixes an issue where the default filters are loaded before anager overrides the default, which is the intended behavior use_baremetal_ filters is True.
IronicHostM
when CONF.scheduler_
Creates a _load_filters method on the base HostManager class that use_baremetal_ filters is set.
returns a list of filters to be loaded at initialization, and overrides
it in IronicHostManager to return the default baremetal filters when
scheduler_
Change-Id: I1801c62d85665a 6a3423428e91e1a eeb546613d7
Closes-Bug: #1439868