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

GCP Destroy does not filter buckets

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • Yes
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      trigger "destroy cluster", unfortunately the installer tries to delete many resources not owned by the cluster, see below log snippets, please investigate
      
      
      
       tail -n 10 /tmp/test2_jiwei-0515c_gcp_custom_endpoints/.openshift_install.log
      time="2025-05-15T08:36:58Z" level=debug msg="Deleting storage object oadpssk4mtd/velero-e2e-5785c1a6-f984-11ef-9db2-0a58ac110bb0/kopia/test-oadp-514/_log_20250305072925_7145_1741159765_1741159767_1_9ded9344a129fb9ee9c15bb85cf8b27d"
      time="2025-05-15T08:36:58Z" level=info msg="Deleted bucket object velero-e2e-5785c1a6-f984-11ef-9db2-0a58ac110bb0/kopia/test-oadp-514/_log_20250305072925_7145_1741159765_1741159767_1_9ded9344a129fb9ee9c15bb85cf8b27d"
      time="2025-05-15T08:36:58Z" level=debug msg="Deleting storage object oadpssk4mtd/velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/app-b59fc52f-f991-11ef-82e5-0a58ac110bb0/app-b59fc52f-f991-11ef-82e5-0a58ac110bb0-logs.gz"
      time="2025-05-15T08:36:58Z" level=info msg="Deleted bucket object velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/app-b59fc52f-f991-11ef-82e5-0a58ac110bb0/app-b59fc52f-f991-11ef-82e5-0a58ac110bb0-logs.gz"
      time="2025-05-15T08:36:58Z" level=debug msg="Deleting storage object oadpssk4mtd/velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/emptydir-e2e-550e2adc-f99b-11ef-82e5-0a58ac110bb0/velero-backup.json"
      time="2025-05-15T08:36:58Z" level=info msg="Deleted bucket object velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/emptydir-e2e-550e2adc-f99b-11ef-82e5-0a58ac110bb0/velero-backup.json"
      time="2025-05-15T08:36:58Z" level=debug msg="Deleting storage object oadpssk4mtd/velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/schedule-7376c1bc-f98a-11ef-82e5-0a58ac110bb0-20250305082706/schedule-7376c1bc-f98a-11ef-82e5-0a58ac110bb0-20250305082706-volumeinfo.json.gz"
      time="2025-05-15T08:36:59Z" level=info msg="Deleted bucket object velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/schedule-7376c1bc-f98a-11ef-82e5-0a58ac110bb0-20250305082706/schedule-7376c1bc-f98a-11ef-82e5-0a58ac110bb0-20250305082706-volumeinfo.json.gz"
      time="2025-05-15T08:36:59Z" level=debug msg="Deleting storage object oadpssk4mtd/velero-e2e-578648ac-f984-11ef-82e5-0a58ac110bb0/backups/todolist-backup-37789462-f987-11ef-82e5-0a58ac110bb0/todolist-backup-37789462-f987-11ef-82e5-0a58ac110bb0-csi-volumesnapshots.json.gz"
      time="2025-05-15T08:36:59Z" level=warning msg="Received interrupt signal"

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

          

      How reproducible:

      When there are multiple buckets/storage objects you can experience this problem.    

      Steps to Reproduce:

          1. Create multiple storage objects
          2. Run Cluster install
          3. Run the destroy, it will probably delete the objects that were not part of the cluster.
          

      Actual results:

      Attempting to delete all storage objects.    

      Expected results:

      Delete only the resources that the installer creates.    

      Additional info:

          

              rh-ee-bbarbach Brent Barbachem
              rh-ee-bbarbach Brent Barbachem
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: