mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-01 03:11:15 -05:00
[GH-ISSUE #2768] Blueprint apply fails with values() must be called with at least one value
#15120
Reference in New Issue
Block a user
Originally created by @MarekTran on GitHub (Apr 2, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2768
Describe the Bug
Summary
Applying a Docker-label-derived blueprint against a self-hosted Pangolin control plane partially succeeds, creates some private resources successfully, and then fails with:
This appears to be an internal Pangolin bug rather than a user-input validation error.
What I was trying to do
I have a Docker Compose stack with:
nginxminionewtThe goal is to publish host-mode private resources into Pangolin for a machine client named
dius-sock-proxy.Initial validation errors
Before fixing the labels, Pangolin correctly returned validation errors such as:
Those were resolved by:
sitemachines[0]tcp-portsis rendered as a string/rangeSo the final blueprint shape appears valid.
Rendered blueprint
This is the rendered blueprint as shown by Pangolin:
Observed behavior
Pangolin partially applies the blueprint:
customer1-nginxprivate resource is created successfullycustomer1-minio-apiprivate resource is created successfullyBut Pangolin still logs:
This leaves the blueprint apply in an error state even though the rendered blueprint is valid and the resources are being created.
Environment
To Reproduce
Minimal reproduction pattern
dius-sock-proxy.newtagainst a Docker Compose stack with host-mode private resources similar to:Extra note
I also saw a related unstable path when trying to model MinIO as multiple or explicit port resources. Some combinations produced different failures, but the key issue here is that even a valid rendered blueprint with successfully created resources can still end in this backend exception.
Expected Behavior
Expected behavior
If the blueprint is valid and resources are created successfully, Pangolin should:
It should not fail with an internal error like:
Why this looks like a Pangolin bug