Title: Add the MariaDB service guide (S-019) by shipmill-romamo[bot] · Pull Request #472 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Add the MariaDB service guide (S-019) by shipmill-romamo[bot] · Pull Request #472 · cloudfall-dev/cloudfall
X Title: Add the MariaDB service guide (S-019) by shipmill-romamo[bot] · Pull Request #472 · cloudfall-dev/cloudfall
Description: Summary Adds docs/mariadb-service-guide.md, the guide spec 019's Documentation section names, in the shape of the logging service guide, and links it from the README's documentation table. It covers declaring a standalone server, adding a replica, backups and the restore drill on the replica, a planned switch, a promotion after the primary is lost, bringing a former primary back, and moving in from a server Cloudfall does not manage with the steps on the source. That last path is described as not built: on main the cloudfall_mariadb role refuses a replica with source (#424, open PR #444). Plan Serves: G-1, G-3 Files: docs/mariadb-service-guide.md, README.md, changelog.d/466-mariadb-service-guide.md Order: read spec 019 and the code on main (validation, the role's replication plan, the services converge's answer), write the guide section by section, link it, add the changelog fragment Proof: every command, field and code in the guide checked against main by grep and --help; uv run ruff check .; uv run pytest sdk/tests/test_s017_compatibility_doc.py sdk/tests/test_deploy_approval.py (the tests that read README and changelog.d) How the guide was checked against the code Commands: cloudfall baseline converge, config validate, requirements show, secrets generate, backup run, backup verify, audit, cloudfall-engine inventory render, cloudfall-engine playbook run services|inspect (--limit, --inventory) from --help and playbook list. There is no cloudfall command for a services converge: the guide names the converge_services MCP tool, cloudfall operator approve (one server), and cloudfall-engine playbook run services, which stages the passwords but creates no volume and signs no certificate (prepared_nodes runs only in the SDK path; storage.yml and tls.yml say so) Validation codes: the ERROR_MARIADB_* constants and service_database_owner_reserved in sdk/src/cloudfall/validation.py, the S-014 pool codes, and the warnings in sdk/src/cloudfall/mariadb.py; IPv6 networks refused per D-26 Converge outcomes and refusals: filter_plugins/mariadb_replication.py (replication_plan, account_wait, _promotion, _undeclared_promotion), tasks/replication*.yml, defaults/main.yml (cloudfall_mariadb_waits, the 60 s promotion wait), and the answer's shape in sdk/src/cloudfall/mariadb_replication.py, lifecycle.py and engine/src/cloudfall_engine/cli.py (PRECONDITION with code, sourcePosition, replicaPosition; mariadb_replication with last_applied_gtid) Role change: walked both host orders of a planned swap through replication_plan on main after #461: each ends after two converges (the first answers demote or wait-promotion), matching S-019-15's "at most two", with no baseline step since services.yml enforces the firewall (#459). The new primary's replication password must be generated first (mariadb_replication_passwords reads one per primary) Backups: templates/backup.sh.j2 and restore-check.sh.j2; audit checks from sdk/src/cloudfall/audit.py Not run against a host; the full suite is left to CI. Fixes #466 🤖 Generated with Claude Code
Open Graph Description: Summary Adds docs/mariadb-service-guide.md, the guide spec 019's Documentation section names, in the shape of the logging service guide, and links it from the README's documentation table. ...
X Description: Summary Adds docs/mariadb-service-guide.md, the guide spec 019's Documentation section names, in the shape of the logging service guide, and links it from the README's documentation...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/472
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
| 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:71eb0475-1d16-04ac-e28d-a86dd48d42d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D764:1E782F:19F8D42:221AE6A:6B055916 |
| html-safe-nonce | 416264bfcebb67eecf1f4b21e49faca3db38a5d1b7395616d11b48bc192159d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzY0OjFFNzgyRjoxOUY4RDQyOjIyMUFFNkE6NkIwNTU5MTYiLCJ2aXNpdG9yX2lkIjoiNDE4ODkzMzU0ODkxODc5MDQyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 676292697504d6313ce5ee80e685e93b2fd42a99582598c9002d563c57c42d15 |
| hovercard-subject-tag | pull_request:5350501029 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/472/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 | Summary Adds docs/mariadb-service-guide.md, the guide spec 019's Documentation section names, in the shape of the logging service guide, and links it from the README's documentation table. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| 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 | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width