|
| 1 | +// This module is included in the following assemblies: |
| 2 | +// |
| 3 | +// installing/installing_bare_metal_ipi/ipi-install-troubleshooting.adoc |
| 4 | + |
| 5 | +:_content-type: PROCEDURE |
| 6 | +[id="worker-nodes-cannot-join-the-cluster_{context}"] |
| 7 | += Troubleshooting worker nodes that cannot join the cluster |
| 8 | + |
| 9 | +Installer-provisioned clusters deploy with a DNS server that includes a DNS entry for the `api-int.<cluster_name>.<base_domain>` URL. If the nodes within the cluster use an external or upstream DNS server to resolve the `api-int.<cluster_name>.<base_domain>` URL and there is no such entry, worker nodes might fail to join the cluster. Ensure that all nodes in the cluster can resolve the domain name. |
| 10 | + |
| 11 | +.Procedure |
| 12 | + |
| 13 | +. Add a DNS A/AAAA or CNAME record to internally identify the API load balancer. For example, when using dnsmasq, modify the `dnsmasq.conf` configuration file: |
| 14 | ++ |
| 15 | +[source,terminal,options="nowrap",role="white-space-pre"] |
| 16 | +---- |
| 17 | +$ sudo nano /etc/dnsmasq.conf |
| 18 | +---- |
| 19 | ++ |
| 20 | +[source,terminal,options="nowrap",role="white-space-pre"] |
| 21 | +---- |
| 22 | +address=/api-int.<cluster_name>.<base_domain>/<IP_address> |
| 23 | +address=/api-int.mycluster.example.com/192.168.1.10 |
| 24 | +address=/api-int.mycluster.example.com/2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
| 25 | +---- |
| 26 | + |
| 27 | +. Add a DNS PTR record to internally identify the API load balancer. For example, when using dnsmasq, modify the `dnsmasq.conf` configuration file: |
| 28 | ++ |
| 29 | +[source,terminal,options="nowrap",role="white-space-pre"] |
| 30 | +---- |
| 31 | +$ sudo nano /etc/dnsmasq.conf |
| 32 | +---- |
| 33 | ++ |
| 34 | +[source,terminal,options="nowrap",role="white-space-pre"] |
| 35 | +---- |
| 36 | +ptr-record=<IP_address>.in-addr.arpa,api-int.<cluster_name>.<base_domain> |
| 37 | +ptr-record=10.1.168.192.in-addr.arpa,api-int.mycluster.example.com |
| 38 | +---- |
| 39 | + |
| 40 | +. Restart the DNS server. For example, when using dnsmasq, execute the following command: |
| 41 | ++ |
| 42 | +[source,terminal,subs="+quotes",options="nowrap",role="white-space-pre"] |
| 43 | +---- |
| 44 | +$ sudo systemctl restart dnsmasq |
| 45 | +---- |
| 46 | + |
| 47 | +These records must be resolvable from all the nodes within the cluster. |
0 commit comments