Multi-Cloud CSI Volume Attachment and Multi-Attach Stuck Errors
Matches cross-cloud Kubernetes CSI FailedAttachVolume, Multi-Attach errors for ReadWriteOnce volumes, and VolumeAttachment timeout events across Hetzner, Scaleway, OVHcloud, DigitalOcean, AWS, Azure, and GCP.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:ff523e6e
Contract facts
- Sources
- 3
- kubernetes, loki, prometheus
- 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/multicloud-csi-volume-attach-stuck \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, loki, prometheus
What it matches
Must match
- Warning FailedAttachVolume: Multi-Attach error for volume pvc-98765432 already exclusively attached to one node
- FailedAttachVolume: AttachVolume.Attach failed for volume hcloud-vol-42 via csi.hetzner.cloud
- VolumeAttachment csi-12345 timed out waiting for external-attacher to mark attached
Must not match
- Successfully attached volume pvc-98765432 to node worker-02
- PersistentVolumeClaim apps/data-0 is Bound
Signature source
signature.yamlFailureSignature30 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: multicloud-csi-volume-attach-stuck
spec:
description: Matches cross-cloud Kubernetes CSI FailedAttachVolume, Multi-Attach errors for ReadWriteOnce volumes, and VolumeAttachment
timeout events across Hetzner, Scaleway, OVHcloud, DigitalOcean, AWS, Azure, and GCP.
sources:
- kubernetes
- loki
- prometheus
logPatterns:
- Multi-Attach error for volume
- FailedAttachVolume.*AttachVolume\.Attach failed
- VolumeAttachment.*timed out waiting for external-attacher
samples:
match:
- 'Warning FailedAttachVolume: Multi-Attach error for volume pvc-98765432 already exclusively attached to one node'
- 'FailedAttachVolume: AttachVolume.Attach failed for volume hcloud-vol-42 via csi.hetzner.cloud'
- VolumeAttachment csi-12345 timed out waiting for external-attacher to mark attached
noMatch:
- Successfully attached volume pvc-98765432 to node worker-02
- PersistentVolumeClaim apps/data-0 is Bound
kubernetes:
- apiVersion: storage.k8s.io/v1
kind: VolumeAttachment
match: has(object.status) && has(object.status.attached) && object.status.attached == false && has(object.status.attachError)
queries:
loki: '{namespace!=""} |= "Multi-Attach error" or |= "FailedAttachVolume"'
promql: sum by (namespace, persistentvolumeclaim) (kube_persistentvolumeclaim_status_phase{phase="Pending"}) > 0
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/multicloud-csi-volume-attach-stuck. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: multicloud-csi-volume-attach-stuck
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:ff523e6e010590ee5ee4753b0158a4b622fd91855d81b3126dfedf39922b2cd9
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 packsAWS EKS EBS gp2 to gp3 Storage Migrator
playbooks/aws-eks-ebs-gp3-migratorAudits Amazon EKS StorageClasses and PersistentVolumeClaims still using legacy gp2 EBS volumes or in-tree kubernetes.io/aws-ebs provisioners, opening small HITL GitOps pull requests to migrate to encrypted ebs.csi.aws.com gp3 classes.Default HITLCeiling HITLDigitalOcean DOKS LoadBalancer and Block Storage CSI Hardener
playbooks/digitalocean-doks-lb-volume-hygieneAudits DigitalOcean Kubernetes (DOKS) LoadBalancer Services for missing Proxy Protocol, HTTPS redirect, and health check tuning, plus do-block-storage CSI StorageClasses for missing WaitForFirstConsumer and expansion settings, opening small HITL GitOps pull requests.Default HITLCeiling HITLHetzner CSI Volume Sizing and ReclaimPolicy Hygiene
playbooks/hetzner-csi-volume-hygieneAudits Hetzner Cloud CSI (csi.hetzner.cloud) StorageClasses and PersistentVolumeClaims for missing WaitForFirstConsumer binding, missing allowVolumeExpansion, sub-10Gi Hetzner minimum sizing drift, and unsafe Delete reclaim policies on databases, opening small HITL GitOps pull requests.Default HITLCeiling HITL