Chapter 2. Data Grid Operator 8.2


Get version details for Data Grid Operator 8.2 as well as information about issues.

2.1. Data Grid Operator 8.2 GA

Find out what’s new with Data Grid Operator for Data Grid 8.2.

Backup CR and Restore CR

Data Grid Operator watches for custom resources (CR) that let you back up and restore Data Grid cluster state for disaster recovery or when migrating between Data Grid versions.

Backup CR
Archives Data Grid cluster content to a persistent volume.
Restore CR
Restores archived content to a Data Grid cluster.

Batch CR

Data Grid Operator provides a Batch CR that lets you create Data Grid resources in bulk. The Batch CR uses the Data Grid Operator command line interface (CLI) in batch mode to carry out sequences of operations.

Usability improvements with user authentication

Internal endpoint for the operator user

Data Grid Operator now separates the operator user that it uses for internal operations from application users and adds a new *-generated-operator-secret authentication secret.

Note

You no longer need to add credentials to a secret so that Data Grid Operator can access your cluster when creating caches. As of Data Grid 8.2, Data Grid Operator uses the operator user and corresponding password to perform cache operations.

Disabling authentication

You can disable authentication for application users to allow unrestricted access to caches.

Extended configuration options for cross-site replication

Cross-site replication with different cluster names

Data Grid Operator no longer requires Data Grid clusters to have the same name and run in matching namespaces for cross-site replication.

If cluster names or namespaces are different, you can specify them with the spec.sites.locations.clusterName and spec.sites.locations.namespace fields.

Manual cross-site configuration

You can specify static hosts and ports for Data Grid clusters to perform backups to Data Grid clusters running outside OpenShift or where access to the Kubernetes API is not available.

Configuring cross-site replication in the same OpenShift Container Platform cluster

For evaluation and demonstration purposes, you can configure Data Grid to back up between nodes in the same OpenShift cluster.

Ephemeral storage types

Data Grid Operator now lets you set the spec.service.container.ephemeralStorage field to defines whether storage is ephemeral or permanent. Set the value to true to use ephemeral storage, which means all data in storage is deleted when clusters shut down or restart. The default value is false, which means storage is permanent.

Grafana dashboards

Data Grid Operator creates Grafana dashboards that let you visualize metrics to more effectively monitor Data Grid services.

Custom code deployment

Data Grid Operator allows you to add custom code, such as scripts and event listeners, to your Data Grid clusters.

Cloud events

Configure Data Grid as a Knative source by sending CloudEvents to Apache Kafka topics.

Note

Sending cloud events with Red Hat OpenShift Serverless is currently available as a Technology Preview.

Native CLI

Data Grid 8.2 adds a native CLI that you can run on Linux, macOS, or Windows and use as an oc client plugin.

  1. Download the native CLI from the Red Hat customer portal at Data Grid Software Downloads.
  2. Open the README included with the distribution for installation instructions and example usage.
Note

The native CLI is currently available as a Technology Preview.

2.2. Data Grid Operator 8.2.x release information

The following table provides detailed version information for Data Grid Operator.

Note

Data Grid Operator versions do not always directly correspond to Data Grid versions because the release schedule is more frequent.

Important

If you upgrade Data Grid clusters manually and have upgraded the channel for your Data Grid Operator subscription from 8.1.x to 8.2.x you should apply the upgrade for the latest Data Grid 8.2.x version as soon as possible to avoid potential data loss that can result from an issue in 8.2.0.

Data Grid Operator versionData Grid versionFeatures

8.2.8

8.2.3

Fixes the following security vulnerabilities CVE-2021-44832, CVE-2021-45046, and CVE-2021-45105 which affect the Apache Log4j logging library.

Red Hat recommends you upgrade your deployment to this version as soon as possible. If you cannot upgrade, Red Hat recommends that you follow the mitigation steps that are included in the security advisory page for each of the Log4j vulnerabilities mentioned above.

8.2.7

8.2.2

Fixes security vulnerabilities, including CVE-2021-44228, which affects the Apache Log4j logging library.

Red Hat recommends you upgrade your deployment to this version as soon as possible. If you cannot upgrade, Red Hat recommends that you follow the steps to mitigate this vulnerability in the RHSB-2021-009 Log4Shell - Remote Code Execution security bulletin.

8.2.6

8.2.1

Fixes security vulnerabilities.

8.2.5

8.2.1

Fixes security vulnerabilities.

8.2.4

8.2.1

* Upgrades Data Grid Operator to Level 4 - Deep Insights capabilities.

* Improves event logging to enhance deployment monitoring.

* Updates the API version of the Data Grid CRDs. This change removes usage of deprecated OpenShift APIs that will no longer be available as of OpenShift 4.9.

* Adds support for loading external dependencies via HTTP or FTP.

* Fixes security vulnerabilities.

8.2.3

8.2.1

Fixes security vulnerabilities.

8.2.2

8.2.1

* Add configurable ports for Load Balancer services with the spec.expose.port and spec.service.sites.local.expose.port fields.

* Fixes bugs and security vulnerabilities.

8.2.1

8.2.0

* Adds support for security authorization (Role Based Access Control or RBAC).

* Adds support for client certificate authentication.

* Fixes bugs and security vulnerabilities.

8.2.0

8.2.0

See Data Grid Operator 8.2 GA

2.3. Known issues with OpenShift deployments

This section describes issues that affect Data Grid clusters running on Red Hat OpenShift. For complete details about Data Grid, you should refer to the Data Grid 8.2 release notes.

Data Grid pods crash after upgrade or restart on Red Hat OpenShift Container Platform 4.9

Issue: JDG-5026

Description: After upgrading Data Grid, or when restarting a cluster after a graceful shutdowns, some pods do not start running. As a result the Data Grid cluster cannot successfully restart and restore to the correct state.

Data Grid Server nodes running in pods do not log any messages when this occurs. The affected nodes encounter a fatal error and silently crash.

Note

This issue affects installations on Red Hat OpenShift version 4.9 only and is related to changes in how Red Hat OpenShift handles StatefulSet objects.

Workaround: If you install Data Grid Operator on Red Hat OpenShift 4.9, you should use the Backup and Restore CRs to recreate Data Grid clusters. Before you upgrade the Data Grid version or perform a graceful shutdown create a backup. You can then create a new cluster and restore its state.

Alternatively you can scale your cluster to one node replicas=1 before you upgrade or restart. However that node must have capacity for the entire data set.

Clients cannot connect to remote caches that use TLS/SSL encryption

Issue: JDG-4763

Description: Clients cannot connect to remote caches and Data Grid logs print a WARN log message related to SSL.

See the following Red Hat knowledge base article for full details about log messages: Clients are not able to connect a server after update to RHDG 8.2.1

Workaround: Modify your Infinispan CR to use Java TLS/SSL libraries instead of OpenSSL as follows:

spec:
  container:
    extraJvmOpts: "-Dorg.infinispan.openssl=false"

Data Grid Operator upgrades Data Grid clusters only if all pods are in the Ready state

Issue: JDG-4724

Description: Data Grid cluster upgrades fail if Data Grid Operator detects any pods are not fully running and in the Ready state.

Workaround: There is no workaround for this issue. When upgrades fail, Data Grid clusters do not roll back to the previous version. In this case you should delete the cluster and then create a new one with the desired version.

Unexpected pod restarts during upgrade can lead to deployment failure

Issue: JDG-4737

Description: If Data Grid pods restart during OLM upgrade from an earlier version, and the restart does not originate from Data Grid Operator, then Data Grid cluster can fail to deploy successfully.

Workaround: There is no workaround for this issue.

Data Grid Server does not configure a property realm for authentication with the Validate strategy

Issue: JDG-4722

Description: If you configure Data Grid to validate client certificates, spec.security.endpointEncryption.clientCert: Validate, then Data Grid Server disables credentials authentication.

Workaround: There is no workaround for this issue.

Hot Rod clients cannot connect to Data Grid clusters that validate client certificates

Issue: JDG-4688

Description: If you configure Data Grid to validate client certificates, spec.security.endpointEncryption.clientCert: Validate, Hot Rod clients cannot connect to Data Grid clusters using the EXTERNAL authentication mechanism and the following message is written to logs:

Caused by: java.lang.SecurityException: ISPN004031: The selected authentication mechanism 'EXTERNAL' is not among the supported server mechanisms:

Workaround: There is no workaround for this issue. If you require client certificate authentication and use Hot Rod clients, you should configure Data Grid to authenticate client certificates, spec.security.endpointEncryption.clientCert: Authenticate.

Hot Rod clients cannot connect to Data Grid clusters through OpenShift Routes when using client certificate authentication

Issue: JDG-4689

Description: If you expose Data Grid to clients through an OpenShift Route and enable client certificate authentication, Hot Rod clients cannot successfully connect and org.infinispan.client.hotrod.exceptions.TransportException errors are written to logs.

Workaround: There is no workaround for this issue.

Data Grid on OpenShift continually restarts after OOM exceptions

Issue: JDG-3991

Description: If out of memory exceptions cause Data Grid Server to terminate on OpenShift, the nodes cannot restart. The following exception is written to the pod log file:

FATAL (main) [org.infinispan.SERVER] ISPN080028: Red Hat Data Grid Server failed to start java.util.concurrent.ExecutionException: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Initial state transfer timed out for cache org.infinispan.LOCKS on <pod-name-id>

Workaround: There is no workaround for this issue.

Native CLI running as an OpenShift client plugin cannot use encrypted connections

Issue: JDG-4566

Description: Running the native executable of the Data Grid command line interface (CLI) as an oc client plugin, which is currently a technology preview feature, is not possible to use the --trustall argument when connecting to Data Grid clusters that use endpoint encryption.

Workaround: There is no workaround for this issue.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.