New worker nodes join without `FQDN` when scaling out after upgrading to OpenShift v4.14
Issue
-
After upgrading the OpenShift cluster to
v4.14.16
when scaling out the nodes, the nodes join withoutFQDN
.$ oc get nodes NAME STATUS ROLES AGE VERSION ip-10-XXX-XXX-XXX.example.compute.internal Ready infra,worker 382d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX.example.compute.internal Ready infra,worker 382d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX.example.compute.internal Ready infra,worker 382d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX.example.compute.internal Ready master 547d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX.example.compute.internal Ready master 547d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX.example.compute.internal Ready master 547d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX.example.compute.internal Ready worker 382d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX Ready worker 27m v1.27.10+c79e5e2 <---- ip-10-XXX-XXX-XXX.example.compute.internal Ready worker 382d v1.27.10+c79e5e2 ip-10-XXX-XXX-XXX Ready worker 56m v1.27.10+c79e5e2 <----
-
After upgrading to
OpenShift v4.14.16
and scaling out themachineset
, new nodes are appearing with a short name formatip-10-XXX-XXX-XXX
instead of the expected completeFQDN
nameip-10-XXX-XXX-XXX.example.compute.internal
. -
From
DHCP
, thehostname
is getting set toip-10-XXX-XXX-XXX
but upon queryingDNS
server, getting properFQDN
as the answer:[root@user ~]# dig -x 10-XXX-XXX-XXX; <<>> DiG 9.11.36-RedHat-9.11.36-3.el8_6.1 <<>> -x 10-XXX-XXX-XXX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11698 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;152.XXX.XXX.XXX.in-addr.arpa. IN PTR;; ANSWER SECTION: 152.XXX.XXX.XXX.in-addr.arpa. 159 IN PTR ip-10-XXX-XXX-XXX.example.compute.internal.;; Query time: 0 msec ;; SERVER: 10.XXX.XXX.XXX#53(10.XXX.XXX.XXX) ;; WHEN: Wed Mar 27 12:24:38 +08 2024 ;; MSG SIZE rcvd: 121
-
EC2 instances
showFQDN
on theAWS console
, butOpenShift CLI
depicts short domain names for all newly provisioned nodes.
Environment
-
Red Hat OpenShift Container Platform (RHOCP)
- 4
- Installer-provisioned Infrastructure (IPI)
-
Amazon Web Services (AWS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.