Title: A PostgreSQL owner with a passwordRef reports a change on every converge · Issue #398 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: A PostgreSQL owner with a passwordRef reports a change on every converge · Issue #398 · cloudfall-dev/cloudfall
X Title: A PostgreSQL owner with a passwordRef reports a change on every converge · Issue #398 · cloudfall-dev/cloudfall
Description: Split from #361, found in a whole-project review at 03e2faa. Problem engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml stores the owner role's password with changed_when: true, so every services converge of a PostgreSQL ...
Open Graph Description: Split from #361, found in a whole-project review at 03e2faa. Problem engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml stores the owner role's password with changed_when: true, so ...
X Description: Split from #361, found in a whole-project review at 03e2faa. Problem engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml stores the owner role's password with changed_when: true,...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/398
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A PostgreSQL owner with a passwordRef reports a change on every converge","articleBody":"Split from #361, found in a whole-project review at 03e2faa.\n\n## Problem\n\n`engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml` stores the owner role's password with `changed_when: true`, so every services converge of a PostgreSQL service whose owner declares a `passwordRef` reports a change, even when the stored verifier is already the one staged. A second converge that must change nothing (D-17) can't pass for such a service; the converge fixture declares no `passwordRef`, so CI never sees it.\n\n## Fix\n\n- Report a change only when the role's stored SCRAM-SHA-256 verifier differs from the staged one (compare `pg_authid.rolpassword` before the `ALTER ROLE`, or skip it when equal), keeping the password and verifier out of every command line, task argument and output as D-9 requires\n- Add a `passwordRef` to the converge fixture's PostgreSQL owner, so the second converge proves it changes nothing\n- A test of the role's task that an unchanged verifier reports no change\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T21:16:39Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/398"}
| 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:99424089-2db0-cb80-0573-dbe2d64899a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C79E:24A077:2698D14:32B8794:6B0558A5 |
| html-safe-nonce | 25c6083b1f19ece9990fac5992fa539fb2fd416d53a6662aef85eafb520434b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzlFOjI0QTA3NzoyNjk4RDE0OjMyQjg3OTQ6NkIwNTU4QTUiLCJ2aXNpdG9yX2lkIjoiMzMyOTM2ODI1MzQ3ODAzMzU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9641d03e47de553e59fc91eb8343265a8921f0f05a0474df016dded1fe4ed247 |
| hovercard-subject-tag | issue:6409618178 |
| 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/398/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8f4f53fbfedec28fc0421b27ad84709038f829ce41c879fb6d2e34d8bb9f6d9/cloudfall-dev/cloudfall/issues/398 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8f4f53fbfedec28fc0421b27ad84709038f829ce41c879fb6d2e34d8bb9f6d9/cloudfall-dev/cloudfall/issues/398 |
| og:image:alt | Split from #361, found in a whole-project review at 03e2faa. Problem engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml stores the owner role's password with changed_when: true, so ... |
| 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 | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| 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 | 10dff83edfd4f3617a7792a152d44991587b434c |
| 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