informalsystems / informalsystems/got

Fix race-condition between user-data and library.bash

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When stark or whitewalker is started, the CA certificate is injected using user-data. `rc.local` might start the experiments earlier than user-data was able to inject the CA certificate and at the first `log` command (influxdb connection over TLS), things fall apart.

- Implement a flag to see if the CA certificate was added already
- Only start stark.bash/whitewalker.bash when the flag is present
- If the flag is not present, random backoff and wait (until a timeout?)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.