-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
OpenShift 4.13 dual-stack cluster
EAP 7.4.12 image from EAP7-1992 (details)
Cluster network setup:
Name: cluster
Namespace:
Labels: <none>
Annotations: <none>
API Version: config.openshift.io/v1
Kind: Network
Metadata:
Creation Timestamp: 2023-08-02T12:11:49Z
Generation: 2
Managed Fields:
API Version: config.openshift.io/v1
Fields Type: FieldsV1
fieldsV1:
f:spec:
f:clusterNetwork:
f:externalIP:
f:policy:
f:networkType:
f:serviceNetwork:
f:status:
f:clusterNetwork:
f:clusterNetworkMTU:
f:networkType:
f:serviceNetwork:
Manager: cluster-network-operator/operconfig
Operation: Apply
Time: 2023-08-02T12:13:17Z
API Version: config.openshift.io/v1
Fields Type: FieldsV1
fieldsV1:
f:spec:
.:
f:clusterNetwork:
f:externalIP:
.:
f:policy:
f:networkType:
f:serviceNetwork:
f:status:
Manager: cluster-bootstrap
Operation: Update
Time: 2023-08-02T12:11:49Z
Resource Version: 3099
UID: 62d21fdc-767c-4cd6-a8e7-a440da32e610
Spec:
Cluster Network:
Cidr: 10.128.0.0/14
Host Prefix: 23
Cidr: fd00:10:128::/56
Host Prefix: 64
External IP:
Policy:
Network Type: OVNKubernetes
Service Network:
172.122.0.0/16
fd00:172:16::/112
Status:
Cluster Network:
Cidr: 10.128.0.0/14
Host Prefix: 23
Cidr: fd00:10:128::/56
Host Prefix: 64
Cluster Network MTU: 1400
Network Type: OVNKubernetes
Service Network:
172.122.0.0/16
fd00:172:16::/112
Events: <none>
Simple application built with SERVER_USE_IPV6=true
DNS_PING configuration:
JGROUPS_PING_PROTOCOL=dns.DNS_PING OPENSHIFT_DNS_PING_SERVICE_NAME=ping-service OPENSHIFT_DNS_PING_SERVICE_PORT=8888
Servers don't form the cluster.
from debug log, I can see that DNS_PING sends discovery requests only to IPv4
14:48:14,748 TRACE [org.jgroups.protocols.dns.DefaultDNSResolver] (thread-4,null,eap-server-1-c82xm) resolving DNS query: ping-service of a type: A 14:48:14,750 DEBUG [org.jgroups.protocols.dns.DNS_PING] (thread-4,null,eap-server-1-c82xm) eap-server-1-c82xm: entries collected from DNS (in 2 ms): [10.129.2.109:0, 10.131.0.6:0] 14:48:14,751 DEBUG [org.jgroups.protocols.dns.DNS_PING] (thread-4,null,eap-server-1-c82xm) eap-server-1-c82xm: sending discovery requests to hosts [10.129.2.109:0, 10.131.0.6:0] on ports [7600 .. 7600] 14:48:14,751 TRACE [org.jgroups.protocols.dns.DNS_PING] (thread-7,ee,eap-server-1-c82xm) eap-server-1-c82xm: sending discovery request to 10.131.0.6:7600 14:48:14,751 TRACE [org.jgroups.protocols.dns.DNS_PING] (thread-5,null,eap-server-1-c82xm) eap-server-1-c82xm: sending discovery request to 10.129.2.109:7600
DNS_PING allows switching dns_record_type but it is not possible in OpenShift images.
https://github.com/belaban/JGroups/blob/master/src/org/jgroups/protocols/dns/DNS_PING.java#L34C23-L34C38
https://github.com/wildfly/wildfly-cekit-modules/blob/main/jboss/container/wildfly/launch/jgroups/added/launch/ha.sh#L275