ClusterRoleBinding applied asynchronously leading to topology provider failures
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- kubernetes, rust
- Domain
- infrastructure
Research direction
Start by locating the HdfsCluster reconciliation entry point that applies ClusterRoleBindings and StatefulSets, then trace how the Topology Provider starts. Verify the current concurrent ordering and change the flow so the ClusterRoleBinding is applied first; done means a new HdfsCluster cannot start the provider before its Kubernetes API permissions exist.
Written by the indexing model from the issue text.
Description
Affected Stackable version
All up until and including SDP 26.3.0
Affected Apache HDFS version
N/A
Current and expected behavior
When the Topology Provider runs, it is assumed that the necessary permissions are there for the Kubernetes API.
There is a small window for a new HdfsCluster's where the ClusterRoleBinding hasn't been applied by the time the Topology Provider starts.
Possible solution
Instead of concurrently applying ClusterRoleBindings and StatefulSets, do them in sequence.
The overhead should be negligible.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
yes
- Dominant language
- Rust
- Stars
- 53
- Forks
- 9
- Avg merge
- 1d 13h
- 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/hdfs-operator
-
Topology Provider permissions briefly dropped during reconciliation when the reflector watch resets Opentype/bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
stackabletech/hdfs-operator#774 ·
-
type/internal-debt
Difficulty 5/5 Over a week Newbie friendliness 15/100
stackabletech/hdfs-operator#769 ·
-
type/bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
stackabletech/hdfs-operator#763 ·
-
type/bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
stackabletech/hdfs-operator#712 ·
-
type/bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
stackabletech/hdfs-operator#686 ·
All issues in stackabletech/hdfs-operator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100