Skip to content

Commit

Permalink
[DNM] Add workaround to avoid having compute node failures
Browse files Browse the repository at this point in the history
  • Loading branch information
cescgina committed Aug 16, 2024
1 parent 0394efb commit a74e33c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions playbooks/06-deploy-architecture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,14 @@
{{ lookup('file', _ssh_file ~ '.pub', rstrip=False)}}
cifmw_ci_gen_kustomize_values_migration_priv_key: >-
{{ lookup('file', _ssh_file, rstrip=False) }}
cifmw_ci_gen_kustomize_values_sshd_ranges: >-
{{
[cifmw_networking_env_definition.networks.ctlplane.network_v4] +
(
[
_ipv4_network_data.network + '/' + _ipv4_network_data.prefix
]
) if (_ipv4_network_data | length > 0) else []
}}
# jgilaber: the previous way of collecting the
# sshd ranges sometimes did not work well in vexxhost, if
# the controller node ends-up in a different subnet than the
# executor node, then the executor would be prevented from
# accessing the compute nodes after the edpm deployment, which
# would cause post_failures when trying to collect logs
cifmw_ci_gen_kustomize_values_sshd_ranges:
- 0.0.0.0/24
rescue:
- name: Debug _ctl_data
ansible.builtin.debug:
Expand Down

0 comments on commit a74e33c

Please sign in to comment.