-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: instance initialization cloud-init status check #11
Conversation
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.
LGTM
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.
I think src/github_runner_manager/openstack_cloud/openstack_runner_manager.py
line 654 (
github-runner-manager/src/github_runner_manager/openstack_cloud/openstack_runner_manager.py
Line 654 in a7a210d
if RUNNER_STARTUP_PROCESS not in result.stdout: |
if RUNNER_STARTUP_PROCESS not in result.stdout:
to if RUNNER_STARTUP_PROCESS not in result.stdout or RUNNER_WORKER_PROCESS not in result.stdout or RUNNER_LISTENER_PROCESS not in result.stdout
.
Else if the runner is already at the stage of RUNNER_WORKER_PROCESS/RUNNER_LISTENER_PROCESS
then this startup check will fail.
Edit: Yanks pointed out the RUNNER_STARTUP_PROCESS
is the parent process of RUNNER_WORKER_PROCESS/RUNNER_LISTENER_PROCESS
. Therefore this is not an issue.
Test coverage for d0f8fc5
Static code analysis report
|
Applicable spec: N/A
Overview
Also include cloud-init status check for when instantiating runners on wait_runner checks.
Rationale
Fixes issue with short running jobs already being done before health checks.
Module Changes
Library/Dependency Changes
Checklist
src-docs
urgent
,trivial
,complex
)pyproject.toml
is incremented