Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Wait command failure #46

Open
JulienBalestra opened this issue Jun 13, 2018 · 0 comments
Open

Wait command failure #46

JulienBalestra opened this issue Jun 13, 2018 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@JulienBalestra
Copy link
Collaborator

Describe what happened:

When using pupernetes wait before pupernetes.service actually started, go-systemd returns a dead state.

+ sudo -kE pupernetes wait --unit-to-watch pupernetes.service --logging-since 2h --timeout 20m
E0613 15:47:43.809421     958 wait.go:93] Unexpected state of systemd job: systemd job pupernetes.service is dead
E0613 15:47:43.819300     958 main.go:27] Exiting on error: 2

So we may dig into the unit status returned by the library to check if the systemd service should start soon.

@JulienBalestra JulienBalestra added bug Something isn't working good first issue Good for newcomers labels Jun 13, 2018
@JulienBalestra JulienBalestra added this to the v0.5.0 milestone Jun 13, 2018
@JulienBalestra JulienBalestra self-assigned this Jun 13, 2018
@JulienBalestra JulienBalestra modified the milestones: v0.5.0, v0.6.0 Jun 21, 2018
@JulienBalestra JulienBalestra modified the milestones: v0.6.0, v0.7.0 Jul 2, 2018
@JulienBalestra JulienBalestra removed this from the v0.7.0 milestone Jul 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant