Title: Prove S-019 live: a MariaDB pair and a replica of an outside 10.11 and 11.x source · Issue #482 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Prove S-019 live: a MariaDB pair and a replica of an outside 10.11 and 11.x source · Issue #482 · cloudfall-dev/cloudfall
X Title: Prove S-019 live: a MariaDB pair and a replica of an outside 10.11 and 11.x source · Issue #482 · cloudfall-dev/cloudfall
Description: Spec 019 (docs/specs/019-mariadb-service.md, feature issue #409) is built. Several criteria, though, are proven only by replaying the role against stand-in hosts (PR #481's Verification lists each one): S-019-12, S-019-13 and S-019-15 fa...
Open Graph Description: Spec 019 (docs/specs/019-mariadb-service.md, feature issue #409) is built. Several criteria, though, are proven only by replaying the role against stand-in hosts (PR #481's Verification lists each ...
X Description: Spec 019 (docs/specs/019-mariadb-service.md, feature issue #409) is built. Several criteria, though, are proven only by replaying the role against stand-in hosts (PR #481's Verification lists e...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/482
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prove S-019 live: a MariaDB pair and a replica of an outside 10.11 and 11.x source","articleBody":"Spec 019 (`docs/specs/019-mariadb-service.md`, feature issue #409) is built. Several criteria, though, are proven only by replaying the role against stand-in hosts (PR #481's Verification lists each one):\n\n- S-019-12, S-019-13 and S-019-15 failed in the 2026-11-16 Hetzner run (`docs/proving-runs/2026-11-16-hetzner-mariadb-pair.md`). Their fixes (#449 to #453) are proven on stand-ins only\n- S-019-17 and S-019-18 (PR #444): the in-house client `cloudfall_mariadb_source` reads the source before anything is installed, and it has run only against a stand-in. On #444 the maintainer chose a live run against MariaDB 10.11 and 11.x before the stable release\n- S-019-3, S-019-5, S-019-11 and S-019-21 were never read on a host\n\nNo agent session runs this on its own, because it creates paid cloud servers. The run follows the disposable proving-run pattern:\n\n1. Create three `cx23` hosts on Debian 13: `h1`, `h2` and `h3`. On `h3`, install MariaDB 10.11 by hand (it isn't managed by Cloudfall), with a row-based binary log, a replication account holding the rights `docs/mariadb-service-guide.md` section 8 lists, and a TLS certificate from a test CA\n2. Declare a primary on `h1` and an empty replica on `h2` (S-019-12's pair), run `cloudfall secrets generate`, then converge `baseline` and `services` twice\n3. Run the pair checks below, then the role swap of S-019-15\n4. Re-declare `h2` as a replica of the outside source on `h3` (`replication.source` with `credentialsRef` and `caCertificateFile`), after recreating its volume, and converge. Then run the source checks below, the refusals, and the promotion\n5. Repeat step 4 with `h3` on MariaDB 11.4 or 11.8\n6. Delete the hosts\n\nWhen it passes, record the run in `docs/proving-runs/` and update S-019's Verification lines for each criterion it proved (a docs PR).\n\n## Check\n\nPair (S-019-12, S-019-13, S-019-15):\n\n- on `h2`, `mariadb -e 'SHOW REPLICA STATUS\\G'` shows `Slave_IO_Running: Yes`, `Slave_SQL_Running: Yes`, `Using_Gtid: Slave_Pos`, and `SELECT @@read_only` returns `1`\n- a row inserted on `h1` afterwards is on `h2`; an insert on `h2` as `billing` is refused\n- `nft list ruleset` on `h1` admits 3306 from `h2`'s addresses only\n- the second converge's play recap shows `changed=0` and no seed\n- after the swap (at most two converges), the roles are reversed with every row on both and no seed\n\nOutside source (S-019-17, S-019-18), on each source version:\n\n- `h2` holds every database and row of `h3` and none of its users; a user created on `h3` afterwards doesn't appear on `h2`\n- `h3`'s `binlog_format=STATEMENT`, then binary log off, then a missing `RELOAD` right: each stops the converge with `service_mariadb_source_unfit` before `mariadb-server` is installed on a fresh `h2`\n- the source password appears in no playbook output (`-v`), command answer or receipt\n- with `h3` stopped, promoting `h2` makes it writable with no replication configured; declaring one of its databases with an `owner` adopts it with its rows\n\nDepends on cloudfall-dev/cloudfall#494\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T07:54:15Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/482"}
| 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:500c3fbd-3931-aa5e-903d-916c8b148340 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B69C:3A7F30:1B4720E:249A597:6B054C4E |
| html-safe-nonce | c86a8f79a94bf155dcd7d4d4a04266a77c9dac4ceee6c4c777fdf8bfda55169b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjlDOjNBN0YzMDoxQjQ3MjBFOjI0OUE1OTc6NkIwNTRDNEUiLCJ2aXNpdG9yX2lkIjoiODYzNjUxMDA5MTAzMTY5NDQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f22e20c1ad2818f8eb95baa562e06587356185bec02a46f9f40dcb34fb3e0a2f |
| hovercard-subject-tag | issue:6440013302 |
| 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/482/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83f467d617f8188d62164d18328b7e830115ab540347ea0a8e0c86e8cac59718/cloudfall-dev/cloudfall/issues/482 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83f467d617f8188d62164d18328b7e830115ab540347ea0a8e0c86e8cac59718/cloudfall-dev/cloudfall/issues/482 |
| og:image:alt | Spec 019 (docs/specs/019-mariadb-service.md, feature issue #409) is built. Several criteria, though, are proven only by replaying the role against stand-in hosts (PR #481's Verification lists each ... |
| 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