Browse Source

Don't look for primary_role ips in AllNodesValidationConfig

We changed the AllNodesValidationConfig to be role specific.
However, we still use primary_role_name ips.

Change-Id: I0aa1174992f6f049f1e64faea6d88e377d357bad
Closes-Bug: #1817087
Rabi Mishra 1 month ago
parent
commit
95362173c2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      overcloud.j2.yaml

+ 2
- 2
overcloud.j2.yaml View File

@@ -919,12 +919,12 @@ resources:
919 919
         - ' '
920 920
         - - yaql:
921 921
               expression: coalesce($.data, []).first(null)
922
-              data: {get_attr: [{{primary_role_name}}, ip_address]}
922
+              data: {get_attr: [{{role.name}}, ip_address]}
923 923
   {%- for network in networks %}
924 924
     {%- if network.enabled|default(true) and network.name in role.networks|default([]) %}
925 925
           - yaql:
926 926
               expression: coalesce($.data, []).first(null)
927
-              data: {get_attr: [{{primary_role_name}}, {{network.name_lower}}_ip_address]}
927
+              data: {get_attr: [{{role.name}}, {{network.name_lower}}_ip_address]}
928 928
     {%- endif %}
929 929
   {%- endfor %}
930 930
 {%- endfor %}

Loading…
Cancel
Save