OpenLiberty / OpenLiberty/ci.docker
Infinispan connectivity lost when cluster Service changes IP address
@kabicin is already working on this.
Since Sep 12, 2022.
- Dominant language
- Shell
- Stars
- 48
- Forks
- 60
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 3
Description
We're trying to address a situation where our OpenShift OpenLibertyApplication using Infinispan (as Red Hat Data Grid) loses connection to the Infinispan cluster, apparently whenever the Infinispan cluster changes its IP address.
It's unclear when that is, but appears it might be whenever the RHDG Operator updates version. This case is on ROSA. The Infinispan IP, etc. appear to be injected into the OLA pods as environment variables, but they aren't automatically restarted when this changes.
The instructions also clearly tell us to configure the Service name, which we've done, so I'm a bit surprised the IP address is used. Our guess is that maybe for efficiency of not doing DNS lookups all the time, it's looked up once at pod/Liberty start?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.