From 3d4792ee322198848d55ceecad4acbb514e1d085 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 29 Jul 2021 12:57:29 +0200 Subject: [PATCH] Document variables to configure connectivity check If ICMP is filtered, it can be useful to change the IP and hostname used by the network connectivity check feature. Change-Id: I7432287dcb43992688600415fbb360709a532565 --- doc/source/administration/general.rst | 5 +++++ etc/kayobe/networks.yml | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/doc/source/administration/general.rst b/doc/source/administration/general.rst index 55d7aadb4..e33e4bc75 100644 --- a/doc/source/administration/general.rst +++ b/doc/source/administration/general.rst @@ -71,3 +71,8 @@ Note that this will run on the seed, seed hypervisor, and overcloud hosts. If any of these hosts are not expected to be active (e.g. prior to overcloud deployment), the set of target hosts may be limited using the ``--limit`` argument. + +These checks will attempt to ping the external IP address ``8.8.8.8`` and +external hostname ``google.com``. They can be configured with the +``nc_external_ip`` and ``nc_external_hostname`` variables in +``$KAYOBE_CONFIG_PATH/networks.yml``. diff --git a/etc/kayobe/networks.yml b/etc/kayobe/networks.yml index eabe52eb3..904311677 100644 --- a/etc/kayobe/networks.yml +++ b/etc/kayobe/networks.yml @@ -196,6 +196,15 @@ # 'name' items. These tables will be added to /etc/iproute2/rt_tables. #network_route_tables: +############################################################################### +# Network connectivity check configuration. + +# External IP address to check. Default is 8.8.8.8. +#nc_external_ip: + +# External hostname to check. Default is google.com. +#nc_external_hostname: + ############################################################################### # Dummy variable to allow Ansible to accept this file. workaround_ansible_issue_8743: yes