View Issue Details

IDProjectCategoryView StatusLast Update
0009981Talerdeployment and operationspublic2025-06-05 20:39
ReporterFlorian Dold Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status confirmedResolutionopen 
Product Version1.0 
Target Version1.1 
Summary0009981: ansible exchange deployment should do basic checks that the exchange is running properly
DescriptionCurrently it is possible for the ansible scripting to succeed, but for the exchange to have a broken config where taler-exchange-httpd doesn't even start properly.
TagsNo tags attached.

Activities

Christian Grothoff

2025-06-03 20:02

manager   ~0025110

Well, we do now get alerts from prometheus whenever systemd services are failed/not running.
Plus uptimekuma should be monitoring /keys and send alerts. what is left? I could imagine us adding some "final" step that *locally* on the client system runs some taler-harness invocation to check the deployment, but I'd not put this host-side. Is there a subcommand we can use for that?

Florian Dold

2025-06-05 14:28

manager   ~0025154

Hmm. I don't think that an ansible deploy should succeed if, say, the configuration is completely borked.

So IMO we'd need to either:
(a) Check the `/config` endpoint with `ansible.builtin.uri`
(b) Check that systemd services are running after starting them (seems a bit unreliable w.r.t. timing)
(c) Have some "--check-config" mode for all components that the ansible script runs (extra work)

So IMO (a) is probably the easiest, though I'd like to have (c) in the long term (post-2.0?)

WDYT?

Christian Grothoff

2025-06-05 20:39

manager   ~0025171

Sure, let's do (a) for 1.1 and (c) post-2.0.

Issue History

Date Modified Username Field Change
2025-05-20 00:26 Florian Dold New Issue
2025-05-20 21:52 Christian Grothoff Status new => confirmed
2025-06-03 20:02 Christian Grothoff Note Added: 0025110
2025-06-03 20:02 Christian Grothoff Assigned To => Florian Dold
2025-06-03 20:02 Christian Grothoff Status confirmed => feedback
2025-06-05 14:28 Florian Dold Note Added: 0025154
2025-06-05 14:28 Florian Dold Assigned To Florian Dold => Christian Grothoff
2025-06-05 20:39 Christian Grothoff Note Added: 0025171
2025-06-05 20:39 Christian Grothoff Assigned To Christian Grothoff =>
2025-06-05 20:39 Christian Grothoff Severity minor => feature
2025-06-05 20:39 Christian Grothoff Status feedback => confirmed
2025-06-05 20:39 Christian Grothoff Product Version => 1.0