Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6886

[Operator] Deleting ActiveMQArtemis also deletes the PVC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • AMQ 7.10.0.OPR.3.GA
    • operator

    Description

      When the reconciliation process was changed by removing the final state machine and turning that process stateless we also added the owner reference to persistent volume claims.

      That creates a link between PVC and ActiveMQArtemis CR.

      The intent is to tie the PVC lifecycle to the lifecycle of the broker. Deleting the ActiveMQArtemis CR also deletes the PVC.

      This prevents us from retaining the persistent volumes because currently we don't have means to enforce that retention. The retention is a feature of the PV, but the behaviour where the PVC does not get deleted, means that a PV does not become a candidate for deletion and even a PV with retention delete, can give some persistence!.

      This bit needs to be rolled back (for this release) as to prevent potential data loss in case of upgrade in the future for brokers running persistenceEnabled=true and PV with delete or reclaim retention. Hopefully those cases are very tiny, and that they will be able to switch to a PV with policy retain.

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rvais Roman Vais
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: