Title: A re-converge of PostgreSQL fails when postgresql.org is slow to serve the signing key · Issue #388 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: A re-converge of PostgreSQL fails when postgresql.org is slow to serve the signing key · Issue #388 · cloudfall-dev/cloudfall
X Title: A re-converge of PostgreSQL fails when postgresql.org is slow to serve the signing key · Issue #388 · cloudfall-dev/cloudfall
Description: Problem The PostgreSQL role downloads the PGDG signing key on every run, even when it is already installed, so a converge that should change nothing fails whenever www.postgresql.org is slow to answer. engine/ansible/roles/cloudfall_post...
Open Graph Description: Problem The PostgreSQL role downloads the PGDG signing key on every run, even when it is already installed, so a converge that should change nothing fails whenever www.postgresql.org is slow to ans...
X Description: Problem The PostgreSQL role downloads the PGDG signing key on every run, even when it is already installed, so a converge that should change nothing fails whenever www.postgresql.org is slow to ans...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/388
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A re-converge of PostgreSQL fails when postgresql.org is slow to serve the signing key","articleBody":"## Problem\n\nThe PostgreSQL role downloads the PGDG signing key on every run, even when it is already installed, so a converge that should change nothing fails whenever `www.postgresql.org` is slow to answer.\n\n`engine/ansible/roles/cloudfall_postgresql/tasks/main.yml:132` (\"Install PostgreSQL repository signing key\") is an `ansible.builtin.get_url` with no retries, and the second log below shows it still requesting the URL with the key already in place. It failed CI's `converge` job twice on 2026-11-15, both with the same error:\n\n```\nfatal: [converge]: FAILED! => {\"dest\": \"/etc/apt/keyrings/postgresql.asc\", \"msg\": \"Request failed: \u003curlopen error _ssl.c:1012: The handshake operation timed out>\", \"url\": \"https://www.postgresql.org/media/keys/ACCC4CF8.asc\"}\n```\n\n- https://github.com/cloudfall-dev/cloudfall/actions/runs/43744907905 (first converge, Services)\n- https://github.com/cloudfall-dev/cloudfall/actions/runs/43745565125 (\"Converge again, changing nothing\": the key was already on disk, `size: 4812`)\n\nOn a real server the same thing makes every re-converge of a PostgreSQL service depend on postgresql.org being reachable.\n\n## Fix\n\nFetch the key only when it is missing, or when its content must change (a pinned checksum), and retry a failed download a few times before failing; a second converge then needs no network for the key.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T18:31:19Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/388"}
| 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:8307bfba-2593-b476-c392-c806ff7e3af3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B14E:3C6CAF:FA5E0A:1571608:6B055C4C |
| html-safe-nonce | a5904ea074cce3e83a2f6efd1f1cf2a9558bb9f331286d35ae320f498ace6a46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTRFOjNDNkNBRjpGQTVFMEE6MTU3MTYwODo2QjA1NUM0QyIsInZpc2l0b3JfaWQiOiI0NDQ0NzU1NzQ2ODI3MzYxMzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6fc0dab39bbe0cdf45410ae89bfab734dba5450cbb333a35b50395888f4080fc |
| hovercard-subject-tag | issue:6407815423 |
| 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/388/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47d20ec29fecc901c1cd1393d04d6e2d44be4fc977280c4f2394d83418a10444/cloudfall-dev/cloudfall/issues/388 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47d20ec29fecc901c1cd1393d04d6e2d44be4fc977280c4f2394d83418a10444/cloudfall-dev/cloudfall/issues/388 |
| og:image:alt | Problem The PostgreSQL role downloads the PGDG signing key on every run, even when it is already installed, so a converge that should change nothing fails whenever www.postgresql.org is slow to ans... |
| 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