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

Replace NetworkManager-wait-online.service with a ping service #25

Open
diamondburned opened this issue Mar 12, 2024 · 4 comments
Open

Comments

@diamondburned
Copy link
Member

NetworkManager-wait-online.service is very unreliable, in that when NetworkManager unexpectedly changes, it stops working.

Ideally, something like a service that pings ecs.fullerton.edu would be far more reliable as an alternative.

@diamondburned
Copy link
Member Author

As a side note, our healthcheck.service already does this, but it's not running at the same frequency. It can certainly be modified to do so, however.

@amyipdev
Copy link
Contributor

Sidenote: healthcheck currently prevents Terraform applys that cause cs306.acmcsuf.com to return anything that isn't 200.

@diamondburned
Copy link
Member Author

Interesting, what's the behavior of that? Does it reboot the server?

healthcheck currently disables itself if there's a user logged into the server. Does that help bypass this issue?

@amyipdev
Copy link
Contributor

Interesting, what's the behavior of that? Does it reboot the server?

Doesn't appear to. This came up when I was trying to test Watch306 - upon running terraform apply, it saw that healthcheck would fail, and didn't appear to actually apply - that or it instantly rolled back after applying.

healthcheck currently disables itself if there's a user logged into the server. Does that help bypass this issue?

Let me test real quick.

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

No branches or pull requests

2 participants