-
Notifications
You must be signed in to change notification settings - Fork 876
Change default EngineState to online #7417
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
Conversation
@barnabasbusa can you test if this PR fixes your issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree this seems like a safe change to make!
@pawanjay176 Looks like some tests need updating |
Some required checks have failed. Could you please take a look @pawanjay176? 🙏 |
Some required checks have failed. Could you please take a look @pawanjay176? 🙏 |
Issue Addressed
Resolves #7414
Proposed Changes
The health endpoint returns a 503 if the engine state is offline. The default state for the engine is
Offline
. So until the first request to the EL is made and the state is updated, the health endpoint will keep returning 503s.This PR changes the default state to Online to avoid that. I don't think this causes any issues because in case the EL is actually offline, the first fcu will set the state to offline.
Pending testing on kurtosis.