Altinity / Altinity/helm-charts
Operator could not create Keeper Pods
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 57
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have deployed altinity-clickhouse-operator:0.25.6 and deployed altinity clickhouse helm-chart with enabled clickhouse installation(CHI) and keeper(CHK) to manage repliacation between clickhouse pods. Operator and CR deployments are in same k8s cluster but in different namespaces. Operator deploys ClickhouseInstallation successfully. However it does not deploy Keeper pods.I have checked operator logs, events, and states of resources. There is no significant information or issue to point out issue. Keeper states InProgress. It seems Operator couldnot or does not try to deploy. Do you know whether there is some configuration is missing or is this an operator/helmchart bug.
❯ k get clickhousekeeperinstallations.clickhouse-keeper.altinity.com -w NAME CLUSTERS HOSTS STATUS HOSTS-COMPLETED AGE SUSPEND sentry-dev-clickhouse-keeper 1 1 InProgress 2m32s
`❯ kgp
NAME READY STATUS RESTARTS AGE
chi-sentry-dev-clickhouse-sentry-any-dev-0-0-0 1/1 Running 0 11m
❯ k get clickhouseinstallation
NAME CLUSTERS HOSTS STATUS HOSTS-COMPLETED AGE SUSPEND
sentry-dev-clickhouse 1 1 Completed 12m
`
Operator Logs -->
❯ k logs -n obe-clickhouse-operator-qa clickhouse-operator-5bbfbd6c65-fm4wz | grep -i chk Defaulted container "altinity-clickhouse-operator" out of: altinity-clickhouse-operator, metrics-exporter common: chk/keeper_config.d host: chk/conf.d user: chk/users.d common: chk/keeper_config.d host: chk/conf.d user: chk/users.d common: /etc/clickhouse-operator/chk/keeper_config.d host: /etc/clickhouse-operator/chk/conf.d user: /etc/clickhouse-operator/chk/users.d common: /etc/clickhouse-operator/chk/keeper_config.d host: /etc/clickhouse-operator/chk/conf.d user: /etc/clickhouse-operator/chk/users.d I0113 22:43:08.886470 1 worker-reconciler-chk.go:49] worker-reconciler-chk.go:49:reconcileCR():start:unknown I0113 22:43:10.524836 1 worker-reconciler-chk.go:102] unknown:IPs of the CR obe-sentry-dev/sentry-dev-clickhouse-keeper: len: 0 [] I0113 22:43:10.524956 1 worker-reconciler-chk.go:154] logSWVersion():Host:0-keeper-0[0/0]:obe-sentry-dev/sentry-dev-clickhouse-keeper:Host software version: 0-keeper-0 99.99.99[99.99.99/so far so] I0113 22:43:10.524971 1 worker-reconciler-chk.go:157] logSWVersion():unknown:CR software versions [min, max]: 99.99.99[99.99.99/] 99.99.99[99.99.99/so far so] I0113 22:43:10.532506 1 worker-reconciler-chk.go:55] unknown: I0113 22:43:10.532548 1 worker-reconciler-chk.go:59] reconcileCR():unknown:ActionPlan has actions - continue reconcile
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.
Research direction
Start with the referenced keeper-describe.yaml and the ClickHouseKeeperInstallation output, then inspect the worker-reconciler-chk.go reconciliation logs around the reported InProgress state. Reproduce the separate-namespace deployment using the Helm chart and compare the operator events and logs; done means Keeper pods are created and the CHK reaches a completed state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100