Can someone help me with node configuration issue...
# proj-sdk
s
Can someone help me with node configuration issues for the agent-sdk evaluation workflow? đź§µ
Evaluation PR https://github.com/OpenHands/evaluation/pull/51/commits/8811cbcc532927b5529a05ae642c31bf4f24ee2a - The SDK eval workflow now explicitly requests runtime_class='sysbox-runc' when it calls the runtime API. The eval runtime cluster (eval-runtime in project evaluation-092424) has only sysbox-capable nodes (kubectl get nodes -l sysbox-runtime=running shows four Ready nodes) and zero gVisor nodes. - The runtime API deployment in evaluation currently ignores the client’s runtime_class and always sets runtimeClassName=gvisor with nodeSelector: sandbox.gke.io/runtime=gvisor (because RUNTIME_CLASS is unset in deploy/envs/evaluation/values.yaml). As a result, every runtime pod hits the scheduler with “0/7 nodes are available: 6 node(s) didn’t match Pod’s node affinity/selector” and stays Pending. - Legacy workflows (e.g., eval-daily-main) succeed because they target the OpenHands V0 stack, which still runs on clusters with gVisor nodes.
Possible solutions • Set RUNTIME_CLASS: "sysbox-runc" in the eval runtime Helm values and redeploy the runtime API via the Deploy Eval Runtime workflow. That will make the controller honor runtime_class='sysbox-runc' and target the sysbox node pool that actually exists, allowing the SDK eval jobs to schedule again.https://github.com/OpenHands/runtime-api/pull/360
@chilly-france-44439 @limited-student-10747 fyi
I'm not exactly sure of the issue... My code was working yesterday but now it fails. The agent diagnosis:
Copy code
- Yesterday's logs (from the GCS tarball) show sysbox runtimes provisioning just fine. That code path still exists and still sends
    runtime_class='sysbox-runc'.
  - Today's pods, as scheduled by the runtime API, are definitely runtimeClass=gvisor with sandbox.gke.io/runtime=gvisor selectors. That comes entirely
    from the runtime API deployment, not from the evaluation repo or the benchmarks code. None of the recent commits in those repos touch runtime class
    handling.
  - The only reproducible mismatch is that the runtime API controller is emitting gVisor pods on a cluster that only has sysbox nodes. That's why
    everything now hangs in _wait_until_runtime_alive().
Copy code
I pulled the actual tarball from GCS and inspected the logs: they clearly show the SDK flow starting remote runtimes with runtime_class: 'sysbox-runc',
  successfully waiting until the pod becomes alive, and completing all steps. That run took place on Nov 17. Nothing in evaluation or runtime-api code
  changed since; the only difference now is that the running runtime API deployment is emitting runtimeClass: gvisor despite the SDK asking for sysbox,
  so today's pods never schedule. In other words, sysbox does work—yesterday's tarball proves it—but the current runtime deployment isn't honoring the
  runtime class anymore. Setting RUNTIME_CLASS=sysbox-runc in the Helm values and redeploying the runtime API will restore the behavior we saw yesterday.
c
What was the exact failure? pod never schedules due to gvisor?
s
Yes
Worked yesterday. Today not anymore
Copy code
Every SDK evaluation job now finishes the "deploy" step in GitHub Actions, but once the pod starts running inside eval-core-application it can't get a
  remote workspace. The child logs look like this:

  INFO Starting runtime … 'runtime_class': 'sysbox-runc'
  INFO Runtime xyz at https://xyz.eval-runtime.all-hands.dev
  WARNING Runtime not yet ready (status: pending)
  WARNING Instance … failed (attempt 1/3): Runtime not yet ready (status: pending)

  Repeated across all three retries.

  If you inspect the matching runtime pod in runtime-pods you see the scheduler errors:

  Runtime Class Name: gvisor
  Node-Selectors: sandbox.gke.io/runtime=gvisor
  Events:
    Warning  FailedScheduling  ... 0/7 nodes are available: 6 node(s) didn't match Pod's node affinity/selector.

  The eval runtime cluster currently only has sysbox nodes (kubectl get nodes -l sysbox-runtime=running lists them; kubectl get nodes -l sandbox.gke.io/
  runtime=gvisor returns nothing), so pods emitted with runtimeClass=gvisor can never schedule. That's why every SDK run ends with "Runtime not yet ready
  (status: pending)" even though the GitHub workflow shows "success."
c
this is very weird, lemme take a look. do you have specific runtime id?
s
Copy code
One concrete example is runtime ID zivlvalfypfftmfz. Its pod (runtime-zivlvalfypfftmfz-b976fc64d-tkmhd in namespace runtime-pods) has been pending for
  16+ hours with:

  - Runtime Class Name: gvisor
  - Node-Selectors: sandbox.gke.io/runtime=gvisor
  - Scheduler events: "0/7 nodes are available: 6 node(s) didn't match Pod's node affinity/selector."

  The instance log on the eval job side shows the matching session ID agent-server-adbe53b2-86a1-4184-9424-a12ef3f87fac failing three times with "Runtime
  not yet ready (status: pending)."

  So that runtime ID is a live example of the failure: the controller emitted a gVisor pod even though the eval runtime cluster only has sysbox nodes, so
  the scheduler never places it and every SDK evaluation run times out waiting for it.
c
ugh, looks like the workflow you hard coded 1.0.0?
irrc we didn't set the runtime for v1.0.0
it was setted in a later version
can you try lastest main?