Title: No CLI command applies one Domain: its vhost and certificate come only from `migrate`, which converges every server · Issue #87 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: No CLI command applies one Domain: its vhost and certificate come only from `migrate`, which converges every server · Issue #87 · cloudfall-dev/cloudfall
X Title: No CLI command applies one Domain: its vhost and certificate come only from `migrate`, which converges every server · Issue #87 · cloudfall-dev/cloudfall
Description: Problem Found while deploying Abecra's staging on 2026-10-19 to a server lent from another fleet. That server's baseline, firewall and services belong to its owner's project, so the Abecra project may run per-component cloudfall deploy o...
Open Graph Description: Problem Found while deploying Abecra's staging on 2026-10-19 to a server lent from another fleet. That server's baseline, firewall and services belong to its owner's project, so the Abecra project ...
X Description: Problem Found while deploying Abecra's staging on 2026-10-19 to a server lent from another fleet. That server's baseline, firewall and services belong to its owner's project, so the Abe...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/87
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No CLI command applies one Domain: its vhost and certificate come only from `migrate`, which converges every server","articleBody":"## Problem\n\nFound while deploying Abecra's staging on 2026-10-19 to a server lent from another fleet. That server's baseline, firewall and services belong to its owner's project, so the Abecra project may run per-component `cloudfall deploy` on it, never `migrate` or baseline convergence.\n\nThe Domain was declared (`abecra.cloudfall.dev`, proxy and origin on the lent server), but there was no safe way to apply it:\n\n- `cloudfall migrate` is the only CLI path to `domains.yml` (`sdk/src/cloudfall/migrate.py`: steps `domains-http`, `dns-verify`, `domains-tls`), and the same plan runs `baseline` and `services` on every declared server first\n- the `converge_domains` MCP tool runs `domains.yml` without the baseline, but it is MCP only, renders every declared domain on every server in `cloudfall_servers`, and takes no domain or server argument\n- `task domains:deploy` exists in the repository Taskfile, not in the installed CLI\n\nSo the nginx vhost and the Let's Encrypt certificate were written by hand, outside the receipts, and the next `domains.yml` run from anywhere will overwrite that file with no record of what it replaced.\n\n## Proposal\n\nA `domains` command group matching `deploy`'s shape:\n\n```\ncloudfall domains apply \u003cdomain> [--issue-certificate] [--yes]\ncloudfall domains observe \u003cdomain>\n```\n\n- `apply` runs `cloudfall_nginx_site` for one Domain, limited to its `proxy.server` (and `origin.server` when it differs); without `--yes` it shows the plan, like `deploy`\n- `--issue-certificate` runs the HTTP-then-TLS sequence `migrate` uses (`domains-http`, then issuance), refusing when DNS for `primaryName` and `aliases` does not resolve to the proxy server\n- It touches no baseline, firewall or service, so it is safe on a server whose baseline another project owns\n- A `DeploymentReceipt` per run, as today, with the hash of the vhost it replaced if one was there\n- The same scoping (`domain` argument) added to the `converge_domains` MCP tool\n\n## Alternatives\n\n- `migrate --only domains-http,domains-tls`: reuses the plan, but a step filter on a resumable plan is easy to get wrong and still reads as \"migrate\"\n- A server-level `managedBaseline: false` flag that makes `migrate` skip baseline on lent servers: useful too, but a per-domain command is needed regardless (adding a domain to a running fleet should not mean rerunning a migration)\n\n## Acceptance\n\n- In a project with two servers, `cloudfall domains apply \u003cd> --yes` changes only the Domain's proxy server, and its Ansible run reports no baseline, firewall or service tasks\n- `--issue-certificate` on a fresh domain ends with a valid Let's Encrypt certificate, `certbot.timer` enabled, and a receipt; a second run reports no changes\n- Without `--yes` it exits 0 and changes nothing\n- An unknown domain id fails with `CONFIG_INVALID` before any SSH connection\n\nDepends on cloudfall-dev/cloudfall#116\nDepends on cloudfall-dev/cloudfall#117\nDepends on cloudfall-dev/cloudfall#118","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-19T18:01:49Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/87"}
| 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:a46426a9-6305-f9ea-c3c2-1bdae72e6f24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E234:29A85A:2498D8E:300A3BA:6B0550D1 |
| html-safe-nonce | 64941d991ee9e4e3d59812dc34ee1c7ef38133b3c60e2b4a46abe2b680e0cd69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjM0OjI5QTg1QToyNDk4RDhFOjMwMEEzQkE6NkIwNTUwRDEiLCJ2aXNpdG9yX2lkIjoiNzQ3NzE1OTM5ODMzOTg1ODY0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5d3edc3fa47d9267cad5a8b0c93ca3d3fdeae8700dffc7f69b6543bc09708e48 |
| hovercard-subject-tag | issue:5928925603 |
| 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/87/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a454308db7d377826f74077adc23408d86c6ef16a272ab0dc6095d7d8c65a298/cloudfall-dev/cloudfall/issues/87 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a454308db7d377826f74077adc23408d86c6ef16a272ab0dc6095d7d8c65a298/cloudfall-dev/cloudfall/issues/87 |
| og:image:alt | Problem Found while deploying Abecra's staging on 2026-10-19 to a server lent from another fleet. That server's baseline, firewall and services belong to its owner's project, so the Abecra project ... |
| 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