CSCfi / CSCfi/HPCS

Dev: Make ansible playbook for server more robust for retries

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When setting up the HPCS server on kind cluster with Ansible playbook [k8s/deploy-all.yaml](https://github.com/CSCfi/HPCS/blob/main/k8s/deploy-all.yaml), if the first try fails after _"Initialize vault"_, succeeding tries skip all tasks with `when: vault_init.rc == 0`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with k8s/deploy-all.yaml and inspect the "Initialize vault" task, its registered vault_init result, and the following when condition. Run the playbook on the kind cluster with a forced first failure, then retry; done means later attempts do not skip all remaining tasks because of the initial result.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.