Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make microservices robust against late /config/server @eriknordmark #4152

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

eriknordmark
Copy link
Contributor

@eriknordmark eriknordmark commented Aug 16, 2024

This is a set of fixes which were used to enable the FDO demo in #3859, but they are useful if we have other cases where /config/server and/or /config/root-certificate.pem are initially missing and are added (e.g., using some config tool) during the first boot since the fixes makes sure that the microservices do not exit or fail but wait for these files to appear.

Handling an empty or missing file by waiting for it to be added.

Signed-off-by: eriknordmark <erik@zededa.com>
This is no longer useful.

Signed-off-by: eriknordmark <erik@zededa.com>
(cherry picked from commit 73a797f)
The device-steps.sh will wait forever instead of exit. This shows where
something like FDO would fit in.

Signed-off-by: eriknordmark <erik@zededa.com>
@eriknordmark eriknordmark merged commit 7348c25 into lf-edge:master Sep 2, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants