-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
vastde embeds Docker client API 1.38; Docker Desktop v4.40+ requires 1.40.
Fix: Add {"min-api-version": "1.38"} to Docker Engine config (Settings -> Docker Engine).
CNB run image not cached after Docker restart. Fix:
docker pull docker.io/paketobuildpacks/run-jammy-full:0.1.76Builder image not cached. Fix:
docker pull docker.selab.vastdata.com:5000/vast-builder:latestDisk full. Check with df -h /. Docker needs ~3-4GB free for the build.
Fix: docker system prune -f or free disk space.
Running vastde functions build from wrong directory. Fix: Run from the project root (where Dockerfile.fix and functions/ are), not from inside functions/oiio_proxy_generator/.
Container fails to start on K8s.
-
Missing Dockerfile.fix layer -- apply it after
vastde functions build -
Cached old image -- use unique version tags, not
:latest - Local revision -- uncheck "Make local revision" in VMS UI
K8s is pulling the image. Wait 1-2 minutes. If it persists, check that the image tag matches what was pushed to the registry.
Session expired. Fix: Re-run vastde config init with credentials.
K8s caches images by tag. Fix: Always use a new version tag (v2.0.1, v2.0.2, etc.) for each build. Never reuse tags.
Dockerfile.fix PATH doesn't include /layers/apt-buildpack/apt/usr/bin. Verify Dockerfile.fix contains:
ENV PATH="/layers/apt-buildpack/apt/usr/bin:/layers/paketo-buildpacks_cpython/cpython/bin:${PATH}"
Same as above. Both oiiotool and ffmpeg are installed to /layers/apt-buildpack/apt/usr/bin.
The colorspace name is not recognized by oiiotool's built-in color management. Valid built-in names: linear, sRGB, Rec709 (no dot, no space). If you need ACES names (ACEScg, ARRI LogC), set OCIO_CONFIG_PATH to a valid OCIO config file.
The OCIO environment variable is set to a non-existent config file. oiiotool reads this env var directly and crashes. Fix: Ensure Dockerfile.fix does NOT set ENV OCIO=.... The v2.0.0 Dockerfile.fix has this removed.
- Check
VAST_DB_ENDPOINTis reachable from the pod - Verify database-enabled bucket exists with DATABASE protocol
- Check credentials (
VAST_DB_ACCESS_KEY/VAST_DB_SECRET_KEY)
- Verify
KAFKA_BROKERis reachable from the pod - Check topic
spaceharbor.proxyexists on the broker - VAST Event Broker: use VAST local users, not AD/LDAP
Key log markers to search for:
| Marker | Meaning |
|---|---|
INITIALIZING OIIO-PROXY-GENERATOR 2.0.0 |
Container started, init() running |
Color mode: oiiotool built-in |
Using built-in transforms (no OCIO config) |
OCIO mode: config=... |
Using OCIO config file |
Downloaded ... bytes |
S3 GET succeeded |
Thumbnail generated |
Step 1 complete |
Proxy generated |
Step 2 complete |
Uploading s3://... |
S3 PUT with ContentType and tags |
PROXY GENERATION COMPLETE |
Full processing succeeded |
Persisted proxy_outputs |
VastDB write successful |
Published proxy.generated |
Kafka event sent |
Processing failed |
Error in oiiotool/ffmpeg/color transform |