tempest/releasenotes/notes/add-target-host-filter-94803e93b701d052.yaml
jamepark4 9d8d631bdd Add configurable hostname pattern to filter hosts
Currently when aggregating potential target hosts via
get_host_other_than, it's hostname filtering only addresses the suffix
'-ironic'. In the event that pattern is located within the hostname e.g.
nova-cell1-compute-ironic-compute-0, then it will still be used as a
target candidate. Update tempest to allow for a configurable hostname
pattern to filter on when searching for candidates.

Also updated additional testcases that are still using the suffix only
check when removing guests with ironic in the name.

Change-Id: If5bab817e04412512186be2195cd2437bd310980
2024-08-16 10:06:44 -04:00

7 lines
233 B
YAML

---
features:
- |
Add a new config option `[compute]/target_hosts_to_avoid` which will
filter out any hypervisor candidates with a hostname that matches the
provided pattern when determining target hosts for migration.