René's URL Explorer Experiment


Title: Enforce the declared firewall in the services converge (#453) by shipmill-romamo[bot] · Pull Request #459 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Enforce the declared firewall in the services converge (#453) by shipmill-romamo[bot] · Pull Request #459 · cloudfall-dev/cloudfall

X Title: Enforce the declared firewall in the services converge (#453) by shipmill-romamo[bot] · Pull Request #459 · cloudfall-dev/cloudfall

Description: Summary After a MariaDB role change, the new primary's nftables did not admit its new replica until cloudfall baseline converge ran: only baseline.yml and logging.yml run the cloudfall_firewall role, and services.yml never touched nftables, so the new link failed with a bare timeout. services.yml now enforces the declared firewall on each host before it converges that host's services, as logging.yml does for the gateway rule (S-011's port provider: "rendered into the firewall the baseline already owns"). The ruleset is the host's rendered cloudfall_firewall, the same one baseline converge applies, which already carries the services' port rules (replication, remoteAccess, Elasticsearch transport), so a services converge never opens a port the baseline wouldn't. A host without a declared firewall is left alone. The task runs after the pre-task refusals, so a refused server is still left unchanged. The Elasticsearch role's own "Enforce the declared firewall with the transport rule" stays: it now applies a ruleset already in place, so it changes nothing. No guide changes: the triage planned a line in docs/mariadb-service-guide.md, but that guide doesn't exist on main, and S-019 already describes a role change as "the declaration changes and a converge runs". The proving-run record (docs/proving-runs/2026-11-16-hetzner-mariadb-pair.md) is left as the record of that run. Plan Serves: quality bar Files: engine/ansible/playbooks/services.yml, engine/tests/test_s019_mariadb_replication_role.py, changelog.d/453-services-enforce-firewall.md Order: the failing test first (after a role swap, the services converge enforces a ruleset on the new primary that admits 3306 from the new replica only, with the old primary's rule gone, and leaves a host without a firewall alone), then the firewall task in services.yml Proof: the new S-019-15 test in test_s019_mariadb_replication_role.py, failing on main and passing here; the existing services.yml task-order tests (S-012-4, S-019-4, #329) still pass Test plan uv run pytest engine/tests/test_s019_mariadb_replication_role.py engine/tests/test_s019_mariadb_role.py engine/tests/test_s012_elasticsearch_role.py engine/tests/test_s012_elasticsearch_access.py engine/tests/test_s012_elasticsearch_cluster_role.py engine/tests/test_s012_elasticsearch_existing_cluster_role.py engine/tests/test_services_passwords.py engine/tests/test_component_hosts.py: 233 passed; the new test failed on main (services.yml had no firewall task) uv run ruff check ., uv run mypy, uv run ansible-lint engine/ansible (with CI's ANSIBLE_CONFIG=engine/ansible/ansible.cfg) pass The full suite is left to CI Not verified on a live host: that the services converge after a role swap now links without a baseline step, and that a second services converge reports the firewall unchanged (the role is the one baseline converge already runs idempotently) Fixes #453 🤖 Generated with Claude Code

Open Graph Description: Summary After a MariaDB role change, the new primary's nftables did not admit its new replica until cloudfall baseline converge ran: only baseline.yml and logging.yml run the cloudfall_firewall...

X Description: Summary After a MariaDB role change, the new primary's nftables did not admit its new replica until cloudfall baseline converge ran: only baseline.yml and logging.yml run the cloudfall_fire...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/459

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:52f9c5a0-b349-22df-4733-706f019eb3c9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC162:29A85A:26B707D:32E5727:6B0559E4
html-safe-nonceb43e73c6c5b87f0c0490112c2bb60730e45c3bbebb3d6f2ecc7c324f4d682626
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTYyOjI5QTg1QToyNkI3MDdEOjMyRTU3Mjc6NkIwNTU5RTQiLCJ2aXNpdG9yX2lkIjoiMjcxNDI0NzUxNjk5NTgwMzYyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0d8542c16b9527335b23a3c17c23badb85ee6632c46b8c703fd1d2657cedfa53
hovercard-subject-tagpull_request:5347413044
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/459/files
twitter:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
og:image:altSummary After a MariaDB role change, the new primary's nftables did not admit its new replica until cloudfall baseline converge ran: only baseline.yml and logging.yml run the cloudfall_firewall...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/459/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F459%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F459%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/459/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/459/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/459/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
shipmill-romamohttps://github.com/apps/shipmill-romamo
mainhttps://github.com/cloudfall-dev/cloudfall/tree/main
fix/453-services-enforce-firewallhttps://github.com/cloudfall-dev/cloudfall/tree/fix/453-services-enforce-firewall
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/459
Commits 1 https://github.com/cloudfall-dev/cloudfall/pull/459/commits
Checks 2 https://github.com/cloudfall-dev/cloudfall/pull/459/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/459/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/459/files
Enforce the declared firewall in the services converge (#453) https://github.com/cloudfall-dev/cloudfall/pull/459/files#top
Show all changes 1 commit https://github.com/cloudfall-dev/cloudfall/pull/459/files
f03d583 Enforce the declared firewall in the services converge (#453) shipmill-romamo[bot] Nov 16, 2026 https://github.com/cloudfall-dev/cloudfall/pull/459/commits/f03d583fdc8e8eb1d86bbb8e0c843b56345f1085
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/459/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/459/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/459/files
453-services-enforce-firewall.md https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-bfb98f4af66b1a8a14343af7c6440257fe35361149777945fce885419ddf1304
services.yml https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
test_s019_mariadb_replication_role.py https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-621512c6040e4c36871b54bc4b37af5dfea96f527e5a357da7a9604cf7bc2035
changelog.d/453-services-enforce-firewall.mdhttps://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-bfb98f4af66b1a8a14343af7c6440257fe35361149777945fce885419ddf1304
View file https://github.com/cloudfall-dev/cloudfall/blob/f03d583fdc8e8eb1d86bbb8e0c843b56345f1085/changelog.d/453-services-enforce-firewall.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/459/{{ revealButtonHref }}
engine/ansible/playbooks/services.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
View file https://github.com/cloudfall-dev/cloudfall/blob/f03d583fdc8e8eb1d86bbb8e0c843b56345f1085/engine/ansible/playbooks/services.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/459/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
engine/tests/test_s019_mariadb_replication_role.pyhttps://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-621512c6040e4c36871b54bc4b37af5dfea96f527e5a357da7a9604cf7bc2035
View file https://github.com/cloudfall-dev/cloudfall/blob/f03d583fdc8e8eb1d86bbb8e0c843b56345f1085/engine/tests/test_s019_mariadb_replication_role.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/459/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-621512c6040e4c36871b54bc4b37af5dfea96f527e5a357da7a9604cf7bc2035
https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-621512c6040e4c36871b54bc4b37af5dfea96f527e5a357da7a9604cf7bc2035
https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-621512c6040e4c36871b54bc4b37af5dfea96f527e5a357da7a9604cf7bc2035
https://github.com/cloudfall-dev/cloudfall/pull/459/files#diff-621512c6040e4c36871b54bc4b37af5dfea96f527e5a357da7a9604cf7bc2035
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/459/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.