Skip to content

Conversation

@olethanh
Copy link
Collaborator

Problem: error org.freedesktop.systemd1.NoSuchUnit: Unit aleph-vm-controller@...

Jira issue: ALEPH-113

This happened because we tried to check if the service was running before checking if it was enabled. It resulted in no proper error but was creating an error message in the logs

Solution: Check if service is enabled before checking if it is active

How to test:
Launch instances. Restart the aleph-vm process, stop them. That error message should not display

…troller@...

Jira issue: ALEPH-113

This happened because we tried to check if the service was running
before checking if it was enabled. It resulted in no proper error
but was creating an error message in the logs

Solution: Check if service is enabled before checking if it is active

How to test:
Launch instances. Restart the aleph-vm process, stop them. That error
message should not display
@hoh
Copy link
Member

hoh commented Sep 20, 2024

Would it make sense to invest time adding tests on this ?

@olethanh
Copy link
Collaborator Author

For this bug in particular no, it was just a message with no effect visible for the user. For the whole systemd subsystem absolutely yes.

@olethanh olethanh merged commit 5518086 into main Sep 20, 2024
20 of 22 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.

3 participants