Apache Curator always uses cluster-internal addresses when reconnecting
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- distributed-systems, infrastructure
Research direction
Start by tracing the operator's ZooKeeper connection configuration and how Apache Curator receives the ensemble addresses after its initial connection. Verify how externally reachable addresses are produced and used during reconnection, then confirm that clients outside the Kubernetes cluster can reconnect without relying on cluster-internal addresses.
Written by the indexing model from the issue text.
Description
Affected Stackable version
24.3.0
Affected Apache ZooKeeper version
3.8.4
Current and expected behavior
See https://stackable-workspace.slack.com/archives/C042UDVBRQF/p1738075756767349, originally reported by @djtfmartin
Once it has connected once, Curator will pull the list of ensemble members from the ZooKeeper cluster, and use that instead of the configured connection string for reconnection attempts. This always contains the internal addresses, so clients that are not inside of the Kubernetes cluster will then fail to reconnect.
Possible solution
Ideally, fix the reported configuration so that it contains the correct addresses.
As a workaround, @gbif patched Curator to disable this functionality.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
- Dominant language
- Rust
- Stars
- 37
- Forks
- 11
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
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.
More from stackabletech/zookeeper-operator
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
stackabletech/zookeeper-operator#1049 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
stackabletech/zookeeper-operator#959 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
type/bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in stackabletech/zookeeper-operator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug core
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Openfuzz
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
linebender/vello_svg#90 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100