Crossplane Managed Resource and Provider Sync Failures
Matches Crossplane Provider unhealthy package revisions, ReconcileError Synced=False managed resources, and Composition patch failures.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:42041e90
Contract facts
- Sources
- 2
- kubernetes, loki
- Log patterns
- 3
- RE2, replayed in CI
- Kubernetes matchers
- 1
- CEL on live objects
- Samples
- 3 and 2
- must match and must not
Inspect it
Inspect the contract and RBAC delta
$ faberctl catalog inspect signatures/crossplane-managed-resource-sync-fail \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, loki
What it matches
Must match
- crossplane error: cannot compose resources: patch 2 failed to resolve spec.parameters.region
- Warning CannotObserveExternalResource: ReconcileError Synced=False on RDSInstance prod-db
- ProviderRevision provider-aws-rds-12345 unhealthy: cannot install package
Must not match
- Crossplane Composition xpostgres-aws reconciled cleanly
- Provider provider-aws-s3 Installed=True Healthy=True
Signature source
signature.yamlFailureSignature29 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: crossplane-managed-resource-sync-fail
spec:
description: Matches Crossplane Provider unhealthy package revisions, ReconcileError Synced=False managed resources, and
Composition patch failures.
sources:
- kubernetes
- loki
logPatterns:
- cannot compose resources.*patch.*failed
- cannot establish control of object|ReconcileError.*Synced=False
- ProviderRevision.*unhealthy.*image pull|cannot install package
samples:
match:
- 'crossplane error: cannot compose resources: patch 2 failed to resolve spec.parameters.region'
- 'Warning CannotObserveExternalResource: ReconcileError Synced=False on RDSInstance prod-db'
- 'ProviderRevision provider-aws-rds-12345 unhealthy: cannot install package'
noMatch:
- Crossplane Composition xpostgres-aws reconciled cleanly
- Provider provider-aws-s3 Installed=True Healthy=True
kubernetes:
- apiVersion: pkg.crossplane.io/v1
kind: Provider
match: has(object.status) && has(object.status.conditions) && object.status.conditions.exists(c, c.type == "Healthy" &&
c.status == "False")
queries:
loki: '{namespace="crossplane-system"} |= "cannot compose resources" or |= "ReconcileError"'
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/crossplane-managed-resource-sync-fail. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: crossplane-managed-resource-sync-fail
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:42041e902fb0c87f89ffd5b8732b69a44f41db409ef63281fd804e9c433a8f82
Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.
Related packs
All 176 packsCrossplane Composition and Provider Drift Fixer
playbooks/crossplane-composition-drift-fixerAudits Crossplane Compositions and Provider packages for legacy PatchAndTransform drift, missing deletionPolicy Orphan on stateful managed resources, or unpinned provider package tags, opening small HITL GitOps pull requests.Default HITLCeiling HITLAWS ACK Controller Resource Drift and Deletion Policy Fixer
playbooks/aws-ack-resource-drift-fixerAudits AWS Controllers for Kubernetes (ACK) RDS DBInstance, S3 Bucket, and SQS Queue resources for ACK.ResourceSynced=False drift, missing deletion-policy retain annotations, or disabled encryption, opening small HITL GitOps pull requests.Default HITLCeiling HITLAzure Service Operator v2 Drift and Reconcile Policy Fixer
playbooks/azure-aso-operator-drift-fixerAudits Azure Service Operator v2 FlexibleServer and StorageAccount resources for Ready=False drift, missing reconcile-policy detach-on-delete annotations, or insecure public blob access, opening small HITL GitOps pull requests.Default HITLCeiling HITL