Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-9638

volsync PVC annotation coordination for PVC backup

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Provide the required acceptance criteria using this template.

      • ...
      Show
      Provide the required acceptance criteria using this template. ...
    • No

      Value Statement

      If using the volsync to backup PVC's the PVC should be able to freeze before a snapshot is taken and unfreeze after that.

      We need some hooks to allow for that 

       

      related to https://issues.redhat.com/browse/ACM-9632

       

      VolSync will not be doing hooks as the permissions required to do this are quite vast and can potentially give users who have access to volSync in a namespace permisions to execute potentially anything they want on any pod in the namespace.

       

      Instead, we've looked at annotations on the PVC - To allow applications/controllers to be able to coordinate when VolSync can run a snapshot/clone within a sync cycle. This can allow the app (such as global hub) to quiesce their app, tell volSync to proceed with the snapshot, then unquiesce once volsync has completed taking the snapshot. 

      Changes have been merged upstream - doc to cover the steps done upstream:

      Annotation-coordination.md

      Definition of Done for Engineering Story Owner (Checklist)

      • Come with resolution on the feasibility for such support in volsync

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [ ] Unit/function tests have been automated and incorporated into the
        build.
      • [ ] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      Support Readiness

      • [ ] The must-gather script has been updated.

              tflower@redhat.com Tesshu Flower
              vbirsan@redhat.com Valentina Birsan
              Thuy Nguyen Thuy Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: