Seeing a lot of `failed to inspect response for function` logs on startup with pipeline inspector enabled
Author: jonasz-lasutCreated Mar 18, 2026Updated Sep 16, 2026
Labelsbugstale
What happened?
When pipeline inspector is enabled we're seeing correct logs in the inspector sidecar but also a lot of failed to inspect response for function logs in crossplane core container on startup.
Example log on crossplane startup:
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Alpha feature enabled","flag":"EnableAlphaPipelineInspector"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Beta feature enabled","flag":"EnableBetaUsages"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Beta feature enabled","flag":"EnableBetaRealtimeCompositions"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Beta feature enabled","flag":"EnableBetaCustomToManagedResourceConversion"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Beta feature enabled","flag":"EnableBetaDeploymentRuntimeConfigs"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Beta feature enabled","flag":"EnableBetaClaimSSA"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Alpha feature enabled","flag":"EnableAlphaDependencyVersionUpgrades"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Alpha feature enabled","flag":"EnableAlphaOperations"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Package Runtime for Provider: External"}
{"level":"info","ts":"2026-03-18T11:25:12Z","logger":"crossplane","msg":"Package Runtime for Function: External"}
Warning: apiextensions.crossplane.io Usage is deprecated; migrate to protection.crossplane.io Usage or ClusterUsage
Warning: CompositeResourceDefinition v1 is deprecated and will be removed in a future release; consider migrating to v2
{"level":"info","ts":"2026-03-18T11:25:21Z","logger":"crossplane","msg":"failed to inspect request for function","function":"crossplane-contrib-function-environment-configs","error":"failed to emit pipeline request for function crossplane-contrib-function-environment-configs: rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
{"level":"info","ts":"2026-03-18T11:25:21Z","logger":"crossplane","msg":"failed to inspect request for function","function":"crossplane-contrib-function-environment-configs","error":"failed to emit pipeline request for function crossplane-contrib-function-environment-configs: rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
{"level":"info","ts":"2026-03-18T11:25:21Z","logger":"crossplane","msg":"failed to inspect request for function","function":"crossplane-contrib-function-environment-configs","error":"failed to emit pipeline request for function crossplane-contrib-function-environment-configs: rpc error: code = DeadlineExceeded desc = context deadline exceeded"}How can we reproduce it?
Update existing Crossplane deployment to enable pipeline inspector. Check the logs on startup after XRs are reconciled.
Values used for crossplane deployment with helm chart:
args:
- '--enable-dependency-version-upgrades'
- '--enable-realtime-compositions'
- '--enable-operations'
- '--package-runtime=External'
- '--enable-pipeline-inspector'
- '--pipeline-inspector-socket=/var/run/pipeline-inspector/socket'
sidecarsCrossplane:
- name: pipeline-inspector
image: ghcr.io/crossplane/inspector-sidecar:v0.0.3
args:
- --socket-path=/var/run/pipeline-inspector/socket
- --max-recv-msg-size=8388608 # 8MB
volumeMounts:
- name: pipeline-inspector-socket
mountPath: /var/run/pipeline-inspector
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi
extraVolumesCrossplane:
- name: pipeline-inspector-socket
emptyDir: {}
extraVolumeMountsCrossplane:
- name: pipeline-inspector-socket
mountPath: /var/run/pipeline-inspectorWhat environment did it happen in?
Crossplane version: 2.2.0 Kubernetes version: Server Version: v1.34.2 Kubernetes distribution: AKS Around 150 XRs and 800 MRs
Source: crossplane/crossplane