[https://nvbugs/5911594][fix] Restrict HTTP cluster storage to loopback - #14161
Conversation
📝 WalkthroughWalkthroughThis pull request adds HTTP cluster storage scope validation to prevent insecure disaggregated serving configurations. It introduces loopback host detection and a validator that ensures HTTP/HTTPS cluster URIs are only used when both the cluster URI hostname and server hostname are loopback addresses, then integrates this validation into the OpenAI disaggregated server initialization. ChangesHTTP Cluster Storage Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tensorrt_llm/serve/cluster_storage.py`:
- Line 5: Add the required NVIDIA Apache 2.0 license header at the very top of
this modified source file (above the existing import ipaddress), using the
NVIDIA copyright header with the latest modification year (2026) and the Apache
License, Version 2.0 text; ensure the header matches other TensorRT-LLM files
and appears before any imports or code (so functions/classes that reference this
file like cluster storage utilities will have the mandated license header).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 63e3bf74-5158-426e-853b-2ba0e099e2ff
📒 Files selected for processing (2)
tensorrt_llm/serve/cluster_storage.pytensorrt_llm/serve/openai_disagg_server.py
|
/bot run |
|
PR_Github #48657 [ run ] triggered by Bot. Commit: |
|
/bot kill |
572af5c to
c97683f
Compare
|
PR_Github #48677 [ kill ] triggered by Bot. Commit: |
|
PR_Github #48657 [ run ] completed with state
|
|
PR_Github #48677 [ kill ] completed with state |
|
/bot run |
|
PR_Github #48678 [ run ] triggered by Bot. Commit: |
|
PR_Github #48678 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48684 [ run ] triggered by Bot. Commit: |
|
PR_Github #48684 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48698 [ run ] triggered by Bot. Commit: |
|
/bot kill |
|
PR_Github #48700 [ kill ] triggered by Bot. Commit: |
|
PR_Github #48698 [ run ] completed with state |
|
PR_Github #48700 [ kill ] completed with state |
|
/bot run --disable-fail-fast |
|
PR_Github #48703 [ run ] triggered by Bot. Commit: |
d3e58dd to
d60a68c
Compare
|
/bot run |
|
PR_Github #50615 [ run ] triggered by Bot. Commit: |
|
PR_Github #50615 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #50622 [ run ] triggered by Bot. Commit: |
|
/bot kill |
|
PR_Github #50698 [ kill ] triggered by Bot. Commit: |
Signed-off-by: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
Signed-off-by: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
Signed-off-by: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
Signed-off-by: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
Signed-off-by: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
Signed-off-by: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
d60a68c to
9dbb436
Compare
|
PR_Github #50698 [ kill ] completed with state |
|
/bot run |
|
PR_Github #50701 [ run ] triggered by Bot. Commit: |
|
PR_Github #50701 [ run ] completed with state
|
|
/bot run |
|
PR_Github #50704 [ run ] triggered by Bot. Commit: |
|
/bot kill |
|
PR_Github #50767 [ kill ] triggered by Bot. Commit: |
|
PR_Github #50704 [ run ] completed with state
|
|
PR_Github #50767 [ kill ] completed with state |
|
/bot run |
|
PR_Github #50769 [ run ] triggered by Bot. Commit: |
|
PR_Github #50769 [ run ] completed with state |
Summary:
Summary by CodeRabbit