Merge "Support actual hostnames in DeploymentServerBlacklist" into stable/wallaby

This commit is contained in:
Zuul 2023-03-22 11:47:00 +00:00 committed by Gerrit Code Review
commit 57a2a69e14
2 changed files with 21 additions and 7 deletions

View File

@ -195,14 +195,23 @@ parameter_groups:
conditions:
server_blacklisted:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
or:
- equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
- equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: [HostnameMap, {get_param: Hostname}]}]}
- 1
server_not_blacklisted:
not:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
and:
- not:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
- not:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: [HostnameMap, {get_param: Hostname}]}]}
- 1
{%- if role.deprecated_param_image is defined %}
deprecated_param_image_set:
not:

View File

@ -0,0 +1,5 @@
---
features:
- |
DeploymentServerBlacklist parameter now supports both
heat and actual hostnames.