Faberby FaberOps

Argo Rollouts Canary Analysis Failed and Aborted

Matches Argo Rollouts AnalysisRun metric failures, RolloutDegraded status conditions, and automated canary abort events.

Kind
Signature
Version
2.0.0
Tier
verified
Needs Faber
v2.0.0+
Digest prefix
sha256:1136fef3

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/argo-rollouts-canary-aborted \ --source oci://ghcr.io/faberops/catalog:v2

How it works

Sources

kubernetes, loki, prometheus

What it matches

Must match

  • Warning RolloutAborted: Rollout payments/checkout aborted after AnalysisRun checkout-5xx failed exceeding failureLimit
  • AnalysisRun error: Metric error-rate failed because value 0.08 not matching successCondition
  • Rollout payments/checkout aborted and reverting canary weight to 0

Must not match

  • Normal RolloutCompleted: Rollout payments/checkout promoted to revision 18
  • AnalysisRun checkout-5xx phase Successful

Signature source

signature.yamlFailureSignature30 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
  name: argo-rollouts-canary-aborted
spec:
  description: Matches Argo Rollouts AnalysisRun metric failures, RolloutDegraded status conditions, and automated canary
    abort events.
  sources:
  - kubernetes
  - loki
  - prometheus
  logPatterns:
  - RolloutAborted|AnalysisRun .* failed.*exceeding failureLimit
  - Metric .* failed.*value .* not matching successCondition
  - Rollout .* aborted.*reverting canary weight to 0
  samples:
    match:
    - 'Warning RolloutAborted: Rollout payments/checkout aborted after AnalysisRun checkout-5xx failed exceeding failureLimit'
    - 'AnalysisRun error: Metric error-rate failed because value 0.08 not matching successCondition'
    - Rollout payments/checkout aborted and reverting canary weight to 0
    noMatch:
    - 'Normal RolloutCompleted: Rollout payments/checkout promoted to revision 18'
    - AnalysisRun checkout-5xx phase Successful
  kubernetes:
  - apiVersion: argoproj.io/v1alpha1
    kind: Rollout
    match: has(object.status) && has(object.status.phase) && object.status.phase == "Degraded"
  queries:
    loki: '{app_kubernetes_io_name="argo-rollouts"} |= "RolloutAborted" or |= "AnalysisRun"'
    promql: rollout_info{phase="Degraded"} == 1
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/argo-rollouts-canary-aborted. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
  name: argo-rollouts-canary-aborted
  category: signatures
  version: 2.0.0
spec:
  tier: verified
  minFaberVersion: v2.0.0
  digest: sha256:1136fef3ca8bfe7c041faacd9a60a517a80c4a16e39143b661c0687061336bc4

Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.