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

[vSphere] cluster destroy get stuck if vm have not tag attached

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • 4.12.0
    • None
    • None
    • Moderate
    • Hide

      None

      Show
      None

    Description

      Description of problem:
      If cluster install failed and no tag attached to vm, run ./openshift-install destroy cluster get stuck, details pls see openshift-install.log
      ...
      time="2022-09-28T08:19:14-04:00" level=debug msg="Delete Folder"
      time="2022-09-28T08:19:14-04:00" level=debug msg="Find attached Folder on tag"
      time="2022-09-28T08:19:15-04:00" level=debug msg="Folder: Expected Folder sgao-rtf6v to be empty"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Power Off Virtual Machines"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Find attached VirtualMachine on tag"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Delete Virtual Machines"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Find attached VirtualMachine on tag"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Delete Folder"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Find attached Folder on tag"
      time="2022-09-28T08:19:25-04:00" level=debug msg="Folder: Expected Folder sgao-rtf6v to be empty"
      time="2022-09-28T08:19:35-04:00" level=debug msg="Power Off Virtual Machines"
      time="2022-09-28T08:19:35-04:00" level=debug msg="Find attached VirtualMachine on tag"
      time="2022-09-28T08:19:35-04:00" level=debug msg="Delete Virtual Machines"
      time="2022-09-28T08:19:35-04:00" level=debug msg="Find attached VirtualMachine on tag"
      time="2022-09-28T08:19:35-04:00" level=debug msg="Delete Folder"

      Version-Release number of selected component (if applicable):
      4.12.0-0.nightly-2022-09-25-071630

      How reproducible:
      always when cluster install failed and no tag attached to vm

      Steps to Reproduce:
      1. cluster install failed and no tag attached to vm
      2. run ./openshift-install destroy cluster
      3.

      Actual results:
      installer destroy get stuck

      Expected results:
      installer destroy should set timeout and be able to quit in such situation

      Additional info:

      Attachments

        Activity

          People

            Unassigned Unassigned
            sgaoshang Shang Gao
            Shang Gao Shang Gao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: