Skip to content

[CI] GAIE Deploy Test: vLLM 0.30 disagg KV transfers fail with NIXL_ERR_NO_TELEMETRY (operator sets NIXL_TELEMETRY_ENABLE=n) #15565

Closed

Description

@devin-ai-integration

Job

Post-Merge CI Pipeline › GAIE Deploy Test (tests/deploy/test_dgd.py::test_gaie_deployment)

Error excerpt

Prefill/decode worker (EngineCore) logs:

W1002 06:45:53 nixl_agent.cpp:215] NIXL telemetry is disabled; ignoring telemetry requested through agent config
E1002 06:46:37 nixl_agent.cpp:1304] getXferTelemetry: cannot return values when telemetry is not enabled.
    res = self.nixl_wrapper.get_xfer_telemetry(handle)
  File ".../nixl_cu13/_api.py", line 687, in get_xfer_telemetry
nixl_cu13._bindings.nixlNoTelemetryError: NIXL_ERR_NO_TELEMETRY
Failing 1 request(s) due to KV load failure

Test:

AssertionError: Model 'Qwen/Qwen3-0.6B' did not become available within the timeout period

Root cause

  1. The vLLM v0.30.0 runtime bump (first failing commit) brings nixl==1.4.1 (vLLM requirements/kv_connectors.txt).
  2. vLLM's NIXL connector always builds its agent with nixl_agent_config(..., capture_telemetry=True) and calls get_xfer_telemetry(handle) for every DONE transfer (vllm/distributed/kv_transfer/kv_connector/v1/nixl/base_worker.py, still the case on vLLM main).
  3. The operator injects NIXL_TELEMETRY_ENABLE=n into every worker container (deploy/operator/internal/dynamo/component_worker.go).
  4. NIXL changed precedence between v1.3.2 and v1.4.0 (src/core/nixl_agent.cpp): in v1.3.2, captureTelemetry in config overrode env n; in v1.4.x/v1.5.0/main, env n vetoes it ("NIXL telemetry is disabled; ignoring telemetry requested through agent config") and getXferTelemetry returns NIXL_ERR_NO_TELEMETRY.

So every disaggregated KV transfer fails, requests 500, and the model never shows up as available through the GAIE gateway. This is not a GAIE-specific or runner issue. It likely affects any operator-deployed vLLM disagg DGD on the current runtime image.

Proposed fix (ready, couldn't be pushed from automation)

Make the vLLM component handle it: in setup_vllm_engine, before the engine core/workers spawn, if NIXL_TELEMETRY_ENABLE is set to a NIXL false value (n/0/no/off/false/disable), drop it along with the sink selectors NIXL_TELEMETRY_EXPORTER / NIXL_TELEMETRY_DIR. With those unset, NIXL 1.4 honors vLLM's capture_telemetry=True through the collect-only in-process NOP sink, so nothing is exported. That matches what n meant before NIXL 1.4. Includes unit tests (components/src/dynamo/vllm/tests/test_vllm_nixl_telemetry.py, 10 pass locally).

Patch (git am-able), commit fix(ci): keep NIXL telemetry capture for vLLM workers when NIXL_TELEMETRY_ENABLE=n:

patch
From 71fdb08894d8a18c4181b00f46ddeee10fbe688c Mon Sep 17 00:00:00 2001
From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Date: Fri, 2 Oct 2026 14:36:12 +0000
Subject: [PATCH] fix(ci): keep NIXL telemetry capture for vLLM workers when
 NIXL_TELEMETRY_ENABLE=n

Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
---
 components/src/dynamo/vllm/main.py            |  5 ++
 components/src/dynamo/vllm/nixl_telemetry.py  | 38 +++++++++++
 .../vllm/tests/test_vllm_nixl_telemetry.py    | 65 +++++++++++++++++++
 3 files changed, 108 insertions(+)
 create mode 100644 components/src/dynamo/vllm/nixl_telemetry.py
 create mode 100644 components/src/dynamo/vllm/tests/test_vllm_nixl_telemetry.py

diff --git a/components/src/dynamo/vllm/main.py b/components/src/dynamo/vllm/main.py
index 9c13d75b03..034ed1f14e 100644
--- a/components/src/dynamo/vllm/main.py
+++ b/components/src/dynamo/vllm/main.py
@@ -51,6 +51,7 @@ from dynamo.llm import (
 from dynamo.runtime import Endpoint
 from dynamo.runtime.logging import configure_dynamo_logging
 from dynamo.vllm.kv_hints import publish_kv_hint_capabilities
+from dynamo.vllm.nixl_telemetry import allow_nixl_telemetry_capture
 from dynamo.vllm.worker_factory import WorkerFactory
 
 from . import envs
@@ -635,6 +636,10 @@ def setup_vllm_engine(
 
     os.environ["VLLM_NO_USAGE_STATS"] = "1"  # Avoid internal HTTP requests
     os.environ["VLLM_WORKER_MULTIPROC_METHOD"] = "spawn"
+    # NIXL_TELEMETRY_ENABLE=n (injected by the operator) makes NIXL >=1.4
+    # refuse the telemetry capture vLLM's NIXL connector requires; reset it
+    # before engine core / workers spawn so they inherit the fixed env.
+    allow_nixl_telemetry_capture()
 
     engine_args = config.engine_args
 
diff --git a/components/src/dynamo/vllm/nixl_telemetry.py b/components/src/dynamo/vllm/nixl_telemetry.py
new file mode 100644
index 0000000000..de189dc201
--- /dev/null
+++ b/components/src/dynamo/vllm/nixl_telemetry.py
@@ -0,0 +1,38 @@
+# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# SPDX-License-Identifier: Apache-2.0
+
+"""NIXL telemetry environment handling for the vLLM backend."""
+
+import logging
+import os
+
+logger = logging.getLogger(__name__)
+
+_NIXL_FALSE_VALUES = frozenset({"n", "0", "no", "off", "false", "disable"})
+_NIXL_TELEMETRY_SINK_ENVS = ("NIXL_TELEMETRY_EXPORTER", "NIXL_TELEMETRY_DIR")
+
+
+def allow_nixl_telemetry_capture() -> bool:
+    """Ensure NIXL telemetry capture is not vetoed by the environment.
+
+    vLLM's NIXL connector requests telemetry capture and reads it for each
+    completed KV transfer; NIXL_TELEMETRY_ENABLE set false makes NIXL refuse
+    that request and fail the transfer. Replace the false setting with
+    collect-only capture: drop it and the sink selectors so NIXL keeps stats
+    in process without exporting them.
+
+    Returns True if the environment was changed.
+    """
+    enable = os.environ.get("NIXL_TELEMETRY_ENABLE")
+    if enable is None or enable.strip().lower() not in _NIXL_FALSE_VALUES:
+        return False
+
+    os.environ.pop("NIXL_TELEMETRY_ENABLE", None)
+    for sink_env in _NIXL_TELEMETRY_SINK_ENVS:
+        os.environ.pop(sink_env, None)
+    logger.info(
+        "NIXL_TELEMETRY_ENABLE was set false; removed it and the telemetry "
+        "sink selectors so export stays disabled while collect-only capture "
+        "is kept for vLLM's NIXL connector."
+    )
+    return True
diff --git a/components/src/dynamo/vllm/tests/test_vllm_nixl_telemetry.py b/components/src/dynamo/vllm/tests/test_vllm_nixl_telemetry.py
new file mode 100644
index 0000000000..24dbeec8c0
--- /dev/null
+++ b/components/src/dynamo/vllm/tests/test_vllm_nixl_telemetry.py
@@ -0,0 +1,65 @@
+# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# SPDX-License-Identifier: Apache-2.0
+
+import os
+
+import pytest
+
+from dynamo.vllm.nixl_telemetry import allow_nixl_telemetry_capture
+
+pytestmark = [
+    pytest.mark.unit,
+    pytest.mark.vllm,
+    pytest.mark.gpu_0,
+    pytest.mark.pre_merge,
+]
+
+_NIXL_ENV_VARS = (
+    "NIXL_TELEMETRY_ENABLE",
+    "NIXL_TELEMETRY_EXPORTER",
+    "NIXL_TELEMETRY_DIR",
+    "NIXL_TELEMETRY_PROMETHEUS_PORT",
+)
+
+
+@pytest.fixture(autouse=True)
+def _clean_nixl_env(monkeypatch):
+    for var in _NIXL_ENV_VARS:
+        monkeypatch.delenv(var, raising=False)
+
+
+@pytest.mark.parametrize("value", ["n", "N", " off ", "false", "0"])
+def test_false_enable_switches_to_collect_only(monkeypatch, value):
+    monkeypatch.setenv("NIXL_TELEMETRY_ENABLE", value)
+    monkeypatch.setenv("NIXL_TELEMETRY_EXPORTER", "prometheus")
+    monkeypatch.setenv("NIXL_TELEMETRY_DIR", "/tmp/x")
+    monkeypatch.setenv("NIXL_TELEMETRY_PROMETHEUS_PORT", "19090")
+
+    assert allow_nixl_telemetry_capture() is True
+
+    assert "NIXL_TELEMETRY_ENABLE" not in os.environ
+    assert "NIXL_TELEMETRY_EXPORTER" not in os.environ
+    assert "NIXL_TELEMETRY_DIR" not in os.environ
+    assert os.environ["NIXL_TELEMETRY_PROMETHEUS_PORT"] == "19090"
+
+
+@pytest.mark.parametrize("value", ["y", "1", "true", "bogus"])
+def test_truthy_or_garbage_enable_untouched(monkeypatch, value):
+    monkeypatch.setenv("NIXL_TELEMETRY_ENABLE", value)
+    monkeypatch.setenv("NIXL_TELEMETRY_EXPORTER", "prometheus")
+    monkeypatch.setenv("NIXL_TELEMETRY_DIR", "/tmp/x")
+
+    assert allow_nixl_telemetry_capture() is False
+
+    assert os.environ["NIXL_TELEMETRY_ENABLE"] == value
+    assert os.environ["NIXL_TELEMETRY_EXPORTER"] == "prometheus"
+    assert os.environ["NIXL_TELEMETRY_DIR"] == "/tmp/x"
+
+
+def test_unset_enable_leaves_sink_envs(monkeypatch):
+    monkeypatch.setenv("NIXL_TELEMETRY_EXPORTER", "prometheus")
+
+    assert allow_nixl_telemetry_capture() is False
+
+    assert "NIXL_TELEMETRY_ENABLE" not in os.environ
+    assert os.environ["NIXL_TELEMETRY_EXPORTER"] == "prometheus"
-- 
2.34.1

Alternatives the owners may prefer: stop defaulting NIXL_TELEMETRY_ENABLE=n in the operator (affects all backends and the Prometheus port reservation logic in backend_sglang.go), or make upstream vLLM tolerate NIXL_ERR_NO_TELEMETRY.

Suspected owner (CODEOWNERS)

  • /components/src/dynamo/vllm/ → @ai-dynamo/dynamo-backend-vllm-codeowners (proposed fix)
  • /deploy/operator/ → @ai-dynamo/dynamo-operator-codeowners (env default)

Next step

A vLLM codeowner applies the patch above (or picks the operator-side alternative) and opens a PR, then re-runs Post-Merge GAIE Deploy Test. The automation could not open the PR because git push to ai-dynamo/dynamo is denied for its credentials (HTTP 403).

Written by Devin

Activity

  1. added
    ci
    on Oct 2, 2026
  2. added
    backend::vllm
    bug
    deployment::k8s
    nixl
    on Oct 2, 2026
  3. devin-ai-integration commented on Oct 6, 2026

    @devin-ai-integration
    ContributorAuthor

    Still failing on main (2026-10-06): same root cause, no fix PR yet

    GAIE Deploy Test is the longest-running Post-Merge failure on main. It has failed in every non-skipped Post-Merge run in the last 48h: 20 of 20 completed, non-cancelled runs. The two runs where it was skipped are 37364594665 and 37364420508.

    The latest decode pod log (artifact pod-logs-gaie-amd64-37425848010-112159356459, test_gaie_deployment/decode/qwen-0-decode-*.main.log) shows the same signature as above. It appears 30 times:

    E1006 07:38:06.536145 803 nixl_agent.cpp:1304] getXferTelemetry: cannot return values when telemetry is not enabled.
        return self.agent.getXferTelemetry(handle._handle)
    nixl_cu13._bindings.nixlNoTelemetryError: NIXL_ERR_NO_TELEMETRY
    ERROR scheduler._handle_invalid_blocks: Failing 1 request(s) due to KV load failure (failure_policy=fail, 9 tokens affected)
    

    Test result: FAILED tests/deploy/test_dgd.py::test_gaie_deployment - AssertionError: Model 'Qwen/Qwen3-0.6B' did not become available within the timeout period. The test only ever got HTTP 500s from the gateway.

    The patch in the issue body still applies cleanly (git apply --check) on main at 6ebaf07bcb (2026-10-06).

    Why there's no PR again: the CI-fix automation still can't reach ai-dynamo/dynamo over git. Its git proxy returns HTTP 403 for both fetch and push, so it can't open the PR itself.

    Next step (unchanged): someone in @ai-dynamo/dynamo-backend-vllm-codeowners applies the patch from the issue body and opens a fix(ci) PR. Alternatively, @ai-dynamo/dynamo-operator-codeowners stop injecting NIXL_TELEMETRY_ENABLE=n for vLLM workers. Either way, re-run Post-Merge GAIE Deploy Test afterwards. The same bug probably also breaks any operator-deployed vLLM disagg DGD on the current runtime image, not just CI.

    Written by Devin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend::vllmbugcideployment::k8snixl

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions