Browse Source

Relax filtering in krb-service-principals jinja

The filtering added to fix Bug: #1821377 filters any
network without a VIP address. This filtering is to
agressive and cause deployment failure when a management
network without a VIP is used.

Change-Id: If189eb6fc0b2dc2c78323a7c08f7e303be2b6124
Resolves: rhbz#1778719
Closes-Bug: #1854846
(cherry picked from commit af79ae34ad)
changes/00/697600/1
Harald Jensås 2 months ago
parent
commit
bc0bd3f151
2 changed files with 8 additions and 1 deletions
  1. +1
    -1
      extraconfig/nova_metadata/krb-service-principals/role.role.j2.yaml
  2. +7
    -0
      releasenotes/notes/fix-krb-service-principals-do-not-filter-on-vip-in-jinja-c8f996ffed94d3cd.yaml

+ 1
- 1
extraconfig/nova_metadata/krb-service-principals/role.role.j2.yaml View File

@@ -60,7 +60,7 @@ resources:
role_data: {get_param: RoleData}
role_networks:
- ctlplane
{%- for network in networks if network.vip|default(false) and network.name in role.networks %}
{%- for network in networks if network.name in role.networks %}
{%- if network.service_net_map_replace is defined %}
- {{network.service_net_map_replace}}
{%- else %}

+ 7
- 0
releasenotes/notes/fix-krb-service-principals-do-not-filter-on-vip-in-jinja-c8f996ffed94d3cd.yaml View File

@@ -0,0 +1,7 @@
---
fixes:
- |
Fixes an issue where filtering of networks for kerberos service principals
was too aggressive, causing deployment failure. See bug `1854846
<https://bugs.launchpad.net/tripleo/+bug/1854846>`_.


Loading…
Cancel
Save