Skip to content

feat(chart): persist the bundled broker #408

Closed

Description

@uniqueg

Problem

The RabbitMQ broker that foca-common can deploy for an app's Celery worker (#351) stores its data in an emptyDir. When the broker pod restarts (node drain, upgrade, eviction, crash), all queued messages are lost: tasks that were submitted but not yet picked up by a worker silently disappear. Results and task records in MongoDB are not affected, but apps such as proTES would show tasks that never run.

Expected

  • broker.persistence values, following the conventions of the chart's MongoDB persistence: enabled (default true), size, storageClass, accessModes, optional existingClaim; a PersistentVolumeClaim mounted at RabbitMQ's data directory; emptyDir only when disabled (documented as "queued tasks are lost on restart").
  • Durable queues and persistent messages where the chart or FOCA's Celery configuration controls them (check Celery's defaults for task_queues/delivery mode), so that persistence actually keeps queued tasks.
  • Works on OpenShift (arbitrary UIDs, fsGroup handling as for MongoDB) and with the NetworkPolicies.
  • Values schema, template tests, the kind install test (restart the broker with a queued task, if feasible), docs and release notes; chart version bump within the 0.2.0 release (with feat(chart): Gateway API and ingress guides #397).

For foca-common 0.2.0 / FOCA 0.17.0.

Activity

  1. added
    priority: high
    status: triage
    type: delivery
    type: feature
    workload: hours
    on Oct 22, 2026
  2. uniqueg commented on Oct 23, 2026

    @uniqueg
    MemberAuthor

    Done in #411.

  3. removed
    status: triage
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: hightype: deliverytype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions