Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Resetting of journal causes phosphor-gevent to stop working #26

Open
geissonator opened this issue Sep 10, 2018 · 0 comments
Open

Resetting of journal causes phosphor-gevent to stop working #26

geissonator opened this issue Sep 10, 2018 · 0 comments
Assignees

Comments

@geissonator
Copy link
Contributor

Our automation does this to hard reset the journal at the end of a run:

systemctl stop systemd-journald.service && rm -rf /var/log/journal && systemctl start systemd-journald.service

When this is run, phosphor-gevent stops responding to REST queries. My guess is some race condition with the new code that logs REST calls to the journal.

A workaround is to just run "systemctl restart phosphor-gevent"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants