Alibaba Cloud ACK Terway ENI and vSwitch IP Exhaustion
Matches Alibaba Cloud ACK Terway ENI IP allocation failures, vSwitch InsufficientIPCount errors, and trunk ENI attachment quota errors.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:dc50a4bd
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/alibaba-ack-terway-eni-exhausted \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, loki, prometheus
What it matches
Must match
- Terway daemon error: InsufficientIPCount in vSwitch vsw-bp1abc123456
- Warning FailedCreatePodSandBox: AllocIP failed to allocate ENI IP for pod apps/order-0
- ECS API error QuotaExceeded.EniPerInstance while attaching trunk ENI
Must not match
- Terway allocated ENI IP 172.16.12.88 from vSwitch vsw-bp1abc123456
- PodNetworking prod-trunk status Ready
Signature source
signature.yamlFailureSignature30 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: alibaba-ack-terway-eni-exhausted
spec:
description: Matches Alibaba Cloud ACK Terway ENI IP allocation failures, vSwitch InsufficientIPCount errors, and trunk
ENI attachment quota errors.
sources:
- kubernetes
- loki
- prometheus
logPatterns:
- Terway.*InsufficientIPCount|vsw-[a-z0-9]+ has no available IP
- AllocIP.*failed to allocate ENI IP
- QuotaExceeded\.EniPerInstance
samples:
match:
- 'Terway daemon error: InsufficientIPCount in vSwitch vsw-bp1abc123456'
- 'Warning FailedCreatePodSandBox: AllocIP failed to allocate ENI IP for pod apps/order-0'
- ECS API error QuotaExceeded.EniPerInstance while attaching trunk ENI
noMatch:
- Terway allocated ENI IP 172.16.12.88 from vSwitch vsw-bp1abc123456
- PodNetworking prod-trunk status Ready
kubernetes:
- apiVersion: network.alibabacloud.com/v1beta1
kind: PodNetworking
match: has(object.status) && has(object.status.status) && object.status.status == "Fail"
queries:
loki: '{namespace="kube-system", app="terway-eniip"} |= "InsufficientIPCount" or |= "failed to allocate ENI IP"'
promql: sum by (vswitch_id) (terway_eni_ip_available) < 4
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/alibaba-ack-terway-eni-exhausted. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: alibaba-ack-terway-eni-exhausted
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:dc50a4bdacfcdda1e22e6913fe8f5011ecf901e4ba892a294a1c7fecca4efc36
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 packsAlibaba Cloud ACK Terway ENI and PodNetworking Fixer
playbooks/alibaba-ack-terway-eni-triageAudits Alibaba Cloud ACK Terway PodNetworking manifests and terway-eniip tuning for single-vSwitch IP exhaustion risk, missing backup vSwitch IDs, or oversized idle ENI pool hoarding, opening small HITL GitOps pull requests.Default HITLCeiling HITLAlibaba Cloud ACK ALB Ingress and AlbConfig Hardener
playbooks/alibaba-ack-alb-ingress-hardeningAudits ACK ALB Ingress Controller AlbConfig and Ingress resources for weak TLS cipher policies, missing HTTPS redirect, and missing health check tuning, opening small HITL GitOps pull requests.Default HITLCeiling HITLAlibaba Cloud ACK Pro Cluster Upgrade Readiness Auditor
playbooks/alibaba-ack-upgrade-readinessRead-only audit ahead of Alibaba Cloud ACK Pro minor upgrades inspecting terway-eniip, csi-plugin, CoreDNS, zero-disruption PodDisruptionBudgets, and blocking admission webhooks.Default ObserveCeiling Auto