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

cluster-restore.sh doesn't get the restoration process completed.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.22
    • Etcd
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      While trying to restore the etcd backup using
      sudo -E /usr/local/bin/cluster-restore.sh /home/core/assets/backup 
      the restoration process get stuck with cluster etcd operator showing 
      
      oc get co | grep etcd
      etcd                                       4.22.0-0.nightly-2026-02-03-002928   True        True          True       12h     InstallerControllerDegraded: missing required resources: [configmaps: etcd-endpoints-12,etcd-pod-12, secrets: etcd-all-certs-12]
       
      After some time, it gets stuck perpetually at 
      $ oc get co | grep etcd
      etcd                                       4.22.0-0.nightly-2026-02-03-002928   True        True          False      15h     NodeInstallerProgressing: 2 nodes are at revision 9; 1 node is at revision 10; 0 nodes have achieved new revision 16
       
        

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

          

      How reproducible:

          always

      Steps to Reproduce:

          1. build 4.22 OCP cluster
          2. disable the quorum 
      oc patch etcd/cluster --type=merge -p '{"spec": {"unsupportedConfigOverrides": {"useUnsupportedUnsafeNonHANonProductionUnstableEtcd": true}}}'
          3. create some data like test secret and take etcd backup using sudo /usr/local/bin/cluster-backup.sh /home/core/assets/backup
          4. create some additional dada (test secret)
          5. restore the backup using 
      sudo -E /usr/local/bin/cluster-restore.sh /home/core/assets/backup     

      Actual results:

          Cluster etcd operator shows error 
      
      oc get co | grep etcd
      etcd                                       4.22.0-0.nightly-2026-02-03-002928   True        True          True       12h     InstallerControllerDegraded: missing required resources: [configmaps: etcd-endpoints-12,etcd-pod-12, secrets: etcd-all-certs-12] 
      
      After some time, it gets stuck perpetually at 
      $ oc get co | grep etcd
      etcd                                       4.22.0-0.nightly-2026-02-03-002928   True        True          False      15h     NodeInstallerProgressing: 2 nodes are at revision 9; 1 node is at revision 10; 0 nodes have achieved new revision 16
      
      
      

      Expected results:

          Restore should work successfully. 

      Additional info:

          

              dwest@redhat.com Dean West
              rhn-support-skundu Sandeep Kundu
              None
              None
              Ge Liu Ge Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: