Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-66146

HyperShift OADP backup can leak paused state on resource reconciliation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20.z
    • HyperShift
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          While creating backup, the hypershift OADP plugin temporarily pauses reconciliation of HostedCluster, CAPI Cluster, NodePool objects. 
      
      In the scenario where a backup fails, this can lead to leaked paused states. 
      
      Example failures:
      - backupstoragelocation secrets being removed
      - any type of generic pod failures or workload interrupts (drains?) 

      Version-Release number of selected component (if applicable):

      N/A     

      How reproducible:

          Unknown

      Steps to Reproduce:

          1. Create backup using hypershift oadp plugin
          2. interrupt / fail the backup e.g. by deleting the velero pod (untested) or by deleting the backupstoragelocation credentials (seen on production)
        
          

      Actual results:

          Reconciliation of hypershift / control plane resources remains in a state with `paused: true` permanently. 

      Expected results:

          Reconciliation of hypershift / control plane resources is back to `paused: false`, even if a backup fails. 

      Additional info:

          Suggestion is to implement something like a post-hook that ensures any pauses triggered through backups are removed. 

              Unassigned Unassigned
              cbusse.openshift Claudio Busse
              None
              None
              Yu Li Yu Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: