Title: Moving into an Elasticsearch service: a guide an agent builds the migration from, and a check that proves it · Issue #232 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Moving into an Elasticsearch service: a guide an agent builds the migration from, and a check that proves it · Issue #232 · cloudfall-dev/cloudfall
X Title: Moving into an Elasticsearch service: a guide an agent builds the migration from, and a check that proves it · Issue #232 · cloudfall-dev/cloudfall
Description: Requested by: @romamo (filed by an agent on his instruction, 2026-11-13; split out of #231) Problem A team that already runs Elasticsearch outside Cloudfall, often on a version Cloudfall will not install, has to get its data into a decla...
Open Graph Description: Requested by: @romamo (filed by an agent on his instruction, 2026-11-13; split out of #231) Problem A team that already runs Elasticsearch outside Cloudfall, often on a version Cloudfall will not i...
X Description: Requested by: @romamo (filed by an agent on his instruction, 2026-11-13; split out of #231) Problem A team that already runs Elasticsearch outside Cloudfall, often on a version Cloudfall will not i...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/232
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Moving into an Elasticsearch service: a guide an agent builds the migration from, and a check that proves it","articleBody":"Requested by: @romamo (filed by an agent on his instruction, 2026-11-13; split out of #231)\n\n## Problem\n\nA team that already runs Elasticsearch outside Cloudfall, often on a version Cloudfall will not install, has to get its data into a declared `Service` of kind `elasticsearch` (#231). Two things are missing:\n\n- Nothing tells an agent how to plan that move: what to read from the source, which path fits (upgrade and join, reindex from remote, a snapshot through an intermediate major), what a generated playbook may touch\n- Nothing in Cloudfall proves a move worked. A migration an agent generated and then reports as done is its own witness; `data copy` has a receipt for PostgreSQL, and Elasticsearch has no equivalent\n\nA built-in migration for every source version is not the answer: the sources differ too much (versions, mappings, writers, access) to test.\n\n## Proposal\n\n1. **A migration guide written for an agent**, `docs/elasticsearch-migration-guide.md`: inspect the source, choose the path, generate a project playbook that runs only through `cloudfall-engine playbook run` behind the usual approval. The source stays read-only unless the operator owns it and it is one major behind a supported line; then the path is upgrade it and join (`existingCluster` in #231)\n2. **`cloudfall data check \u003cservice> --source-url-file \u003cfile>`**: reads both clusters, changes neither, compares per index presence, document count and mappings, and writes a receipt. A move is done when this check says so\n\n## Out of scope\n\n- A built-in `data copy` for Elasticsearch\n- Catching up writes during a move (double writes, delta passes): the application's and the guide's matter\n- Sources other than Elasticsearch\n\n## Notes\n\n- Serves G-3 and G-2\n- Depends on #231\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-13T08:40:34Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/232"}
| 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:51517a4a-93f1-229e-68fc-d149a1afc983 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF14:D410B:266DE03:322A048:6B0550CD |
| html-safe-nonce | eb81a3653769505787eea2ab895e5a289752a8ae38dad55b7813c6841d0fbfb0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjE0OkQ0MTBCOjI2NkRFMDM6MzIyQTA0ODo2QjA1NTBDRCIsInZpc2l0b3JfaWQiOiI3NTY4MzQ4MDAwNzc5ODQ5OTM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7629edcc119f0fdb252a53e38808e3ce5f2b39a71477b7f8391d91c679b6bf9f |
| hovercard-subject-tag | issue:6367899365 |
| 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/232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/998a4f5467f773709655cfeafa0f1a45dc5b1230cb2a73be8e8f290f2b9a1857/cloudfall-dev/cloudfall/issues/232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/998a4f5467f773709655cfeafa0f1a45dc5b1230cb2a73be8e8f290f2b9a1857/cloudfall-dev/cloudfall/issues/232 |
| og:image:alt | Requested by: @romamo (filed by an agent on his instruction, 2026-11-13; split out of #231) Problem A team that already runs Elasticsearch outside Cloudfall, often on a version Cloudfall will not i... |
| 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 | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| 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