Altinity / Altinity/clickhouse-operator

Keeper log directory misconfiguration

Open
#1,649 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Keeper
Dominant language
Go
Stars
2.6k
Forks
574
Avg merge
8d 6h
Merged PRs (30d)
6

Description

Keeper cannot start when using operator version 0.24.4 and containers with readonly filesystem due to incorrect log directory.

Keeper log directory is hardcoded to /var/log/clickhouse-keeper-log in the:

https://github.com/Altinity/clickhouse-operator/blob/45e37e260a8efa2d74266276495d939a49e33cf0/pkg/model/chk/config/const.go#L63

Clickhouse-keeper however by default uses /var/log/clickhouse-keeper directory.

Edit:
Added clarifications

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in pkg/model/chk/config/const.go at the referenced line and compare the configured Keeper log directory with the directory used by ClickHouse Keeper by default. Update the configuration so Keeper can start with a read-only filesystem, then verify the resulting directory behavior for operator version 0.24.4.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.