Skip to content

ObjectStorageExporterFailed

Severity: warning. Fires when a bucket's version scan fails or its success metric is absent for 2 hours, once per bucket (label bucket): skatzi-backups is scanned in namespace object-storage-exporter with the Secret backup-store, skatzi-harbor-registry in namespace object-storage-exporter-harbor with the Secret harbor-bucket. The exporter scans every 30 minutes, while Prometheus scrapes its last result every minute. A failed scan removes the usage series; an empty panel does not mean zero usage.

Read-only checks

Check the scanner, ServiceMonitor and Secret without printing credentials. For skatzi-backups:

kubectl --context admin@mgmt-cluster -n object-storage-exporter get deploy,po,svc
kubectl --context admin@mgmt-cluster -n monitoring get servicemonitor object-storage-exporter
kubectl --context admin@mgmt-cluster -n object-storage-exporter logs deploy/object-storage-exporter -c scanner --since=3h
kubectl --context admin@mgmt-cluster -n object-storage-exporter get secret backup-store
kubectl --context admin@mgmt-cluster -n object-storage-exporter get externalsecret backup-store

For skatzi-harbor-registry:

kubectl --context admin@mgmt-cluster -n object-storage-exporter-harbor get deploy,po,svc,servicemonitor
kubectl --context admin@mgmt-cluster -n object-storage-exporter-harbor logs deploy/object-storage-exporter -c scanner --since=3h
kubectl --context admin@mgmt-cluster -n object-storage-exporter-harbor get externalsecret harbor-bucket

Check ExternalSecret readiness, S3 endpoint availability and the scanner logs for the cause.

Roll forward

Fix the exporter or Secret configuration in Git. Follow the ops runbook triage order.

Roll back

If a recent exporter or Secret configuration change caused failed scans, revert that pull request. Restoring the prior deployment resumes scans; it does not alter stored objects.