Title: ClickHouse service: one replica converged, with its databases and owners (S-022-3, S-022-4, S-022-5, S-022-6, S-022-7) · Issue #568 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: ClickHouse service: one replica converged, with its databases and owners (S-022-3, S-022-4, S-022-5, S-022-6, S-022-7) · Issue #568 · cloudfall-dev/cloudfall
X Title: ClickHouse service: one replica converged, with its databases and owners (S-022-3, S-022-4, S-022-5, S-022-6, S-022-7) · Issue #568 · cloudfall-dev/cloudfall
Description: Builds part of spec S-022, docs/specs/022-clickhouse-service.md: the acceptance criteria below. Each needs a test that names its id (test_s022_
Open Graph Description: Builds part of spec S-022, docs/specs/022-clickhouse-service.md: the acceptance criteria below. Each needs a test that names its id (test_s022_
X Description: Builds part of spec S-022, docs/specs/022-clickhouse-service.md: the acceptance criteria below. Each needs a test that names its id (test_s022_<k>_..., or a proves: S-022-3 comment line). Sco...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/568
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ClickHouse service: one replica converged, with its databases and owners (S-022-3, S-022-4, S-022-5, S-022-6, S-022-7)","articleBody":"Builds part of spec S-022, `docs/specs/022-clickhouse-service.md`: the acceptance criteria below. Each needs a test that names its id (`test_s022_\u003ck>_...`, or a `proves: S-022-3` comment line).\n\nScope: the `cloudfall_clickhouse` role for one replica with no `clientAccess`: the S-011 requirements (packages at `version` from the `lts` suite and held, the `clickhouse` volume, the generated `cloudfall` password), the managed `config.d` and `users.d` files, the memory limit and its refusal above nine tenths of the host, Keeper inside the server, the removal of `default`, the `cloudfall` account from loopback only, and declared databases with the `Replicated` engine whose owners' passwords arrive as a hash (D-9). The replica is configured as a pair that waits for its second: replica and shard names, replicated table engines only.\n\n- S-022-3: After `services.yml` converges a service with one replica and no `clientAccess` on a fresh Debian 13 host, `SELECT version()` as `cloudfall` on `127.0.0.1:9000` reports the declared version, the packages are held, `max_server_memory_usage` is the declared one, the data directory is on the `clickhouse` volume, no listener of ClickHouse or Keeper exists on a non-loopback address, a login as `default` is refused, and the declared database has the `Replicated` engine\n- S-022-4: A second converge changes nothing (`changed=0`) and restarts no server; a `maxServerMemoryMb` above nine tenths of the host's memory stops the converge before any task changes the host\n- S-022-5: `events` connects on loopback with its password, can create a table in `events` with `ENGINE = MergeTree`, and the table's engine is the replicated form; a table with `ENGINE = Memory` is refused; `events` is refused on another database and can't create a user. With Keeper stopped, `cloudfall` still logs in\n- S-022-6: The password of `events`, of `cloudfall` and the replication credentials appear in none of the rendered inventory, playbook output, command answers or receipts; the statement and the file that set a password hold a hash and never the password; a `passwordRef` whose file or key is missing stops the converge with `PRECONDITION` before any playbook runs\n- S-022-7: Removing a declared database and converging leaves the database and its rows in place, the user can no longer log in, and `audit` lists both as undeclared; a user created by hand is left alone and listed as unmanaged\n\nDepends on cloudfall-dev/cloudfall#566\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-20T19:19:21Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/568"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:56136656-465b-9222-e7b8-52fbcc718a24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCFA:104CA3:EEAA13:14725FF:6B05598A |
| html-safe-nonce | 4a17c606ca4c0a729411166d5a2b2a99c4886c02e7263eee2c6a5e0b73d36c4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0ZBOjEwNENBMzpFRUFBMTM6MTQ3MjVGRjo2QjA1NTk4QSIsInZpc2l0b3JfaWQiOiI4NzM1NTcyNzk4NzQ5MzY2NjY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6713d1f9689f5424fd5d8a3cf55f69adf15462a1e395d20836c004fa6613f095 |
| hovercard-subject-tag | issue:6518107050 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/568/issue_layout |
| twitter:image | https://opengraph.githubassets.com/125140de36fc5b07b2cb09ff5935a650db057ad987cfe2d8a5360ae3122acfca/cloudfall-dev/cloudfall/issues/568 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/125140de36fc5b07b2cb09ff5935a650db057ad987cfe2d8a5360ae3122acfca/cloudfall-dev/cloudfall/issues/568 |
| og:image:alt | Builds part of spec S-022, docs/specs/022-clickhouse-service.md: the acceptance criteria below. Each needs a test that names its id (test_s022_ |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width