Merge "Improve connectivity check" into stable/train

This commit is contained in:
Zuul 2022-03-03 19:13:41 +00:00 committed by Gerrit Code Review
commit 30352d0c32
1 changed files with 3 additions and 1 deletions

View File

@ -32,10 +32,12 @@
- name: Network availability validation block
block:
- name: Check IP responsiveness
command: "{{ _ping_cmd }} -w 10 -c 1 {{ controller }}"
command: "{{ _ping_cmd }} -w 10 -c 5 {{ controller }}"
retries: 10
delay: 60
changed_when: false
register: ping_result
until: ping_result.rc == 0
- name: Validate packet with {{ _mtu }} MTU size can reach controller from {{ _nic }}
command: "{{ _ping_cmd }} -w 10 -s {{ _mtu }} -c 1 {{ controller }}"