Update vllm-cpu image for FIPS compatibility#1028
Update vllm-cpu image for FIPS compatibility#1028threcc merged 3 commits intoopendatahub-io:mainfrom
Conversation
|
The following are automatically added/executed:
Available user actions:
Supported labels{'/hold', '/wip', '/verified', '/lgtm', '/build-push-pr-image', '/cherry-pick'} |
📝 WalkthroughWalkthroughThe changes update a VLLM CPU container image reference from a SHA256 digest-based URL to a tag-based URL and configure additional FIPS-compatible environment variables when the VLLM CPU container image is used in the LLM service creation function. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@utilities/constants.py`:
- Around line 444-445: Update the VLLM CPU image constant to pin the image by
digest: replace the current VLLM.CPU value "quay.io/pierdipi/vllm-cpu:66196731a"
with the digest-pinned form
"quay.io/pierdipi/vllm-cpu:66196731a@sha256:<digest>" where <digest> is the
manifest sha256 you obtain from Quay or a registry tool (e.g., `skopeo inspect`
or Quay API); ensure you edit the class VLLM and its CPU attribute so the string
uses the `@sha256`:<digest> suffix for reproducible image references.
In `@utilities/llmd_utils.py`:
- Around line 250-257: The FIPS-related env vars for the vLLM CPU image are only
added when container_env is None, causing them to be omitted when callers
provide a custom container_env; update the logic in llmd_utils.py so the check
for container_image == ContainerImages.VLLM_CPU runs regardless of container_env
being None, and then merge the FIPS env entries ("VLLM_ADDITIONAL_ARGS" and
"VLLM_CPU_KVCACHE_SPACE") into the existing container_env (create a list when
container_env is None) while avoiding clobbering any user-specified variables
(e.g., by appending entries only if names are not already present or by
overriding intentionally documented keys).
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
utilities/constants.pyutilities/llmd_utils.py
🧰 Additional context used
🧬 Code graph analysis (1)
utilities/llmd_utils.py (2)
utilities/constants.py (1)
ContainerImages(441-462)utilities/llmd_constants.py (1)
ContainerImages(40-43)
🔇 Additional comments (1)
utilities/llmd_utils.py (1)
21-26: LGTM: centralized container image constant usage.Nice to see the shared alias pulled in to avoid string comparisons.
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
|
Status of building tag latest: success. |
* update vllm-cpu image * set vllm container env vars
Description
Updates the
vllm-cpuimage used by llmd tests to a version compatible with FIPS security standards.The previous image defaulted to weak SHA-1 based ciphers for TLS 1.2. This caused handshake failures (SYSCALL error) on FIPS-enabled clusters where Envoy enforces a strict security policy (SECLEVEL=2).
Tests
Validated successfully across all tests using this image on:
✅ FIPS-enabled clusters
✅ Standard (non-FIPS) clusters
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.