Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2355

Outdated config element for JGroups discovery protocols; deprecation warn in logs

XMLWordPrintable

    • CLOUD Maintenance Sprint 24

      Start of an image based on EAP 7.1 or late produces two instances of this in the log:

      15:40:50,276 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool – 9) WFLYCTL0028: Attribute 'socket-binding' in the resource at address '/subsystem=jgroups/stack=udp/protocol=openshift.KUBE_PING' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation

      Beginning with EAP 7.1 the jgroups subsystem wants a "socket-protocol" or a "socket-discovery-protocol" for protocols that use a socket binding config, rather than the generic "protocol".

      This needs discussion with Paul Ferraro as to which is appropriate for KUBE_PING/DNS_PING integration, "socket-protocol" or a "socket-discovery-protocol". My instinct is socket-discovery-protocol since ping protocols are for discovery. It also needs confirmation with Paul that openshift.KUBE_PING/openshift.DNS_PING will both function correctly if configured via a "socket-xxx" resource.

      IMPORTANT: this change is not appropriate for images that use EAP 7.0. So either the fix needs to be limited to later images or we need to be sure we're not building any more 7.0 images!

      The logic that sets this up currently is in os-eap7-launch/added/launch/ha.sh.

              kwills@redhat.com Ken Wills
              bstansbe@redhat.com Brian Stansberry
              Stanislav Kaleta Stanislav Kaleta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: