René's URL Explorer Experiment
Title: Declare and validate an Elasticsearch service (S-012 slice 1) by shipmill-romamo[bot] · Pull Request #318 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Declare and validate an Elasticsearch service (S-012 slice 1) by shipmill-romamo[bot] · Pull Request #318 · cloudfall-dev/cloudfall
X Title: Declare and validate an Elasticsearch service (S-012 slice 1) by shipmill-romamo[bot] · Pull Request #318 · cloudfall-dev/cloudfall
Description: Fixes #309
Part of #231
Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, sdk/src/cloudfall/inventory.py, sdk/src/cloudfall/validation.py, sdk/src/cloudfall/app.py (config validate warning), tests in sdk/tests/ and engine/tests/, changelog.d/309-elasticsearch-declare.md
Order: slice 1 of 7 of S-012; #310 (converge) builds on it
Proof: S-012-1, S-012-2, S-012-12 and S-012-16 each named by a test; the example project's rendered inventory compared byte for byte before and after the change
Summary
Declares serviceKind: elasticsearch as S-012 writes it, validates it, and carries it in the rendered inventory. Nothing converges it yet: no role, no audit, no backup (those are #310 onwards).
Schema: spec.elasticsearch with version, heapMb (512 to 31744), and optional nodes, clusterName, existingCluster (seedHosts, caCertificateFile), users (name, access, indexPatterns, passwordRef), remoteAccess (the S-006 shape), snapshotRepository (type: s3, bucket, endpoint, basePath, credentialsRef) and restoreCheckIndices. Required for the kind, refused on the others; the PostgreSQL and Redis branches are untouched (one new allOf entry). No field takes a password (D-9)
Supported lines: one table in cloudfall.elasticsearch.SUPPORTED_LINES, 8.19 and 9.x, each with its end-of-life date. config validate warns ELASTICSEARCH_VERSION_ENDING naming the date within 90 days of it, and after it. The check takes the date as an argument (elasticsearch_versions_ending(config, today)); only the command reads the clock
Refusals (all CONFIG_INVALID): service_elasticsearch_version, service_elasticsearch_nodes, service_elasticsearch_existing_cluster, service_elasticsearch_server_shared, service_elasticsearch_snapshot_repository_local, service_elasticsearch_user_reserved, service_elasticsearch_pattern, and remoteAccess under the S-006 codes, checked against the baseline of every node. Also service_elasticsearch_user_duplicate for a user declared twice, and service_port_conflict on every node, not only the home server
Render: the service sits in cloudfall_services of spec.server (its home) with nodes and clusterName resolved; the other nodes are read from nodes by the converge slice. services.yml, backup.yml and the collector template already select by serviceKind, so they skip it
Notes for review
End-of-life dates: Elastic's EOL page (read 2026-11-14) gives only an End of Maintenance date for 9.x (2027-10-15, "the later of" 30 months from GA or 18 months after 10.0); the table uses End of Maintenance for both lines, so 8.19 is 2027-01-15 (its End of Support is 2027-07-15). With that date, 8.19 already warns today
After its date a line keeps validating with the warning, as the spec says; the issue's "refusal after for new services" is not built. A line is refused once it leaves the table
existingCluster.caCertificateFile is resolved against the project directory; resources validated without one (validate_documents, the Ansible reader, which never yields services today) refuse it
Tests
uv run ruff check ., uv run mypy
uv run cloudfall config validate --project config/examples
uv run cloudfall-engine inventory render --project config/examples --output tmp/ansible-inventory.json: rendered on origin/main before the change and after it, cmp reports no difference
uv run pytest sdk/tests/test_s012_elasticsearch.py engine/tests/test_s012_elasticsearch_render.py sdk/tests/test_validation.py sdk/tests/test_inventory.py sdk/tests/test_owned_postgresql.py sdk/tests/test_owned_postgresql_converge.py sdk/tests/test_baseline_rename.py sdk/tests/test_examples_project.py sdk/tests/test_app.py sdk/tests/test_arguments.py
uv run pytest engine/tests -k "render or inventory"
specs.py coverage --spec 012 lists tests for S-012-1, -2, -12 and -16
🤖 Generated with Claude Code
Open Graph Description: Fixes #309
Part of #231
Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, ...
X Description: Fixes #309
Part of #231
Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, ...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/318
X: @github
direct link
Domain: github.com
IPv4 address: 140.82.112.3
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bec95183-8f10-22f2-06ab-b5a32ff57749 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E332:2D2E1:11EFEF:191D21:6B056D1C |
| html-safe-nonce | 533cf708851f192168022b665229817d0a7c699e8cb44f2c2f3edfd020c7fc91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzMyOjJEMkUxOjExRUZFRjoxOTFEMjE6NkIwNTZEMUMiLCJ2aXNpdG9yX2lkIjoiMTg3MDQ5NzI3MDM5MTQ2NzI5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec9d9ca8601a906ada350846ac3e3eaeade091502970d7c24cff51844db02d0c |
| hovercard-subject-tag | pull_request:5311158765 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| twitter:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| og:image:alt | Fixes #309
Part of #231
Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Skip to content | https://github.com/cloudfall-dev/cloudfall/pull/318/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F318%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F318%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| cloudfall-dev | https://github.com/cloudfall-dev |
| cloudfall | https://github.com/cloudfall-dev/cloudfall |
| Code | https://github.com/cloudfall-dev/cloudfall |
| Issues77 (77) | https://github.com/cloudfall-dev/cloudfall/issues |
| Pull requests9 (9) | https://github.com/cloudfall-dev/cloudfall/pulls |
| Discussions | https://github.com/cloudfall-dev/cloudfall/discussions |
| Actions | https://github.com/cloudfall-dev/cloudfall/actions |
| Security and quality | https://github.com/cloudfall-dev/cloudfall/security |
| Insights | https://github.com/cloudfall-dev/cloudfall/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose |
| shipmill-romamo | https://github.com/apps/shipmill-romamo |
| main | https://github.com/cloudfall-dev/cloudfall/tree/main |
| feat/309-elasticsearch-declare | https://github.com/cloudfall-dev/cloudfall/tree/feat/309-elasticsearch-declare |
|
Conversation
2
| https://github.com/cloudfall-dev/cloudfall/pull/318 |
|
Commits
2
| https://github.com/cloudfall-dev/cloudfall/pull/318/commits |
|
Checks
1
| https://github.com/cloudfall-dev/cloudfall/pull/318/checks |
|
Files changed
10
| https://github.com/cloudfall-dev/cloudfall/pull/318/files |
|
Declare and validate an Elasticsearch service (S-012 slice 1)
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#top |
|
Show all changes
2 commits
| https://github.com/cloudfall-dev/cloudfall/pull/318/files |
|
e2500d9
Declare and validate an Elasticsearch service
shipmill-romamo[bot] Nov 14, 2026
| https://github.com/cloudfall-dev/cloudfall/pull/318/commits/e2500d94e261e63fcd484367391041f1b1a95945 |
|
df44a0c
Refuse a seed host that is a node's IPv6 address
shipmill-romamo[bot] Nov 14, 2026
| https://github.com/cloudfall-dev/cloudfall/pull/318/commits/df44a0c0423016d8b3847d3495847077dfa176f9 |
|
Clear filters
| https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
|
309-elasticsearch-declare.md
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-a122402195b30044b53a7001dfd7130be8e40735dd3c604d8309cbdcbbd2de5b |
|
service.schema.json
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
test_s012_elasticsearch_render.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-2890d415430e718cadd26f09e82b8dece0b7d4929b1cd441fb080ac051f31388 |
|
app.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
domain.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b |
|
elasticsearch.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-dfcdda0402041f1a895279c765538a681b5670c43046bafd40797272a7f388f5 |
|
inventory.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-831a4fa33ef337b71dfe913834f1e8a6a13fe7487dc380a944c090d9ae15f99b |
|
validation.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28 |
|
elasticsearch_project.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-58247df15b4bb9d0a72887a1b800e3fe8d72322d4815bc6839e4dc65e9050d9d |
|
test_s012_elasticsearch.py
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-e21ad8721b9dc1d52af7e7684e56585b06d7bbb32ee5e02ef84adff23cb2463c |
| changelog.d/309-elasticsearch-declare.md | https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-a122402195b30044b53a7001dfd7130be8e40735dd3c604d8309cbdcbbd2de5b |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/changelog.d/309-elasticsearch-declare.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }} |
| config/schemas/v1/service.schema.json | https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/config/schemas/v1/service.schema.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }} |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
| engine/tests/test_s012_elasticsearch_render.py | https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-2890d415430e718cadd26f09e82b8dece0b7d4929b1cd441fb080ac051f31388 |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/engine/tests/test_s012_elasticsearch_render.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }} |
| sdk/src/cloudfall/app.py | https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/sdk/src/cloudfall/app.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }} |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
| sdk/src/cloudfall/domain.py | https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/sdk/src/cloudfall/domain.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }} |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b |
|
| https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/318/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |
Response headers:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width
URLs of crawlers that visited me.