github rajsinghtech/garage-operator v0.9.7

49 minutes ago

Behavior changes

  • New MetadataHealthy condition on GarageCluster. It goes False (DatabaseErrors / WorkerErrors) and emits a MetadataUnhealthy Warning event when a node's metadata DB or its snapshot/Merkle workers keep failing, for example a corrupt Sqlite DB. It returns to True with a MetadataHealthy event on recovery. It does not gate Ready and adds no new Admin API calls. See #704.
  • Ready, Healthy and Available are no longer True while Garage has no usable layout. Before, a cluster whose first layout had not been applied reported all three even though Garage rejected every S3/K2V request with LayoutNotReady. See #697.
  • Federation now refuses to import roles across a replication-factor mismatch. Garage discards layouts from peers with a different replication_factor. The operator now stops with a FederationReplicationFactorMismatch Warning event instead of applying them or waiting forever. Set the same spec.replication.factor on every site. See #701.
  • Admission rejects storage-node capacity below 1Ki on create or when the spec changes (the v1beta1 GarageNode webhook). A negative capacity also no longer wraps into an enormous value in the controller. Existing objects can still get finalizer, annotation and deletion updates. See #700.
  • Table-sync nudge for the Garage v2.6.0 lost wake-up. When a draining layout version is stuck because a node's sync workers sit idle, the operator launches a Tables repair on that node, at most once per 5 minutes and twice per node per layout version, and emits a TableSyncNudged Normal event. See #699.

Bug Fixes

  • name the pod in node alerts and alert once per Garage cluster in #695 by @florissmit10
  • do not report Healthy/Available while Garage has no usable layout in #697 by @rajsinghtech
  • unblock node retirement on stale inLayout and exempt-node rollout re-list (fixes #696) in #698 by @rajsinghtech
  • nudge Garage table sync stalled by the v2.6.0 lost wake-up in #699 by @rajsinghtech
  • reject non-positive and sub-1Ki storage capacity before the uint64 cast in #700 by @rajsinghtech
  • refuse role import when sites run different replication factors in #701 by @rajsinghtech
  • finish the redundancy tables stage when full syncs run back to back (fixes #702) in #703 by @kbpersonal
  • void back-to-back full-sync counts on a Garage restart or layout change in #705 by @rajsinghtech

Features

  • surface a corrupt metadata DB as a MetadataHealthy condition (#604), including a new troubleshooting section on recovering a node with a corrupt metadata DB, in #704 by @rajsinghtech

Miscellaneous

Release

Full Changelog: v0.9.6...v0.9.7

Don't miss a new garage-operator release

NewReleases is sending notifications on new releases.