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

PVs(vmdk) get deleted when scaling down machineSet with vSphere IPI

XMLWordPrintable

    • CLOUD Sprint 231, CLOUD Sprint 232
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      During machine deletion process vmdk's created for PV's and attached to the node might be deleted with the machine due to nuances in disks detachment procedure, which might lead to unrecoverable disks deletion.

      Now, machine controller attempting to evict pods more aggressively in case kubelet is not reachable to allow storage controllers to detach disks before VM will be deleted.
      Also, checks in the vSphere machine controller were extended and machine controller blocks machine deletion in a situation when disks were not detached.
      Show
      During machine deletion process vmdk's created for PV's and attached to the node might be deleted with the machine due to nuances in disks detachment procedure, which might lead to unrecoverable disks deletion. Now, machine controller attempting to evict pods more aggressively in case kubelet is not reachable to allow storage controllers to detach disks before VM will be deleted. Also, checks in the vSphere machine controller were extended and machine controller blocks machine deletion in a situation when disks were not detached.
    • Bug Fix

      Description of problem:

      When scaling down the machineSet for worker nodes, a PV(vmdk) file got deleted.

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

      4.10

      How reproducible:

      N/A

      Steps to Reproduce:

      1. Scale down worker nodes
      2. Check VMware logs and VM gets deleted with vmdk still attached

      Actual results:

      After scaling down nodes, volumes still attached to the VM get deleted alongside the VM

      Expected results:

      Worker nodes scaled down without any accidental deletion

      Additional info:

       

            dmoiseev Denis Moiseev (Inactive)
            rhn-support-mblach Miguel Blach
            Milind Yadav Milind Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: