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

Spot Machine should be Failed if during provisioning Machine becomes Deallocated on Azure

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • CLOUD Sprint 270, CLOUD Sprint 271
    • 2
    • Done
    • Bug Fix
    • Hide
       Previously, Azure spot machines evicted before their node became ready could get stuck in the 'provisioned' state. With this Release, Azure spot instances now use a delete eviction policy, ensuring these machines correctly transition to the 'failed' state upon preemption.
      Show
       Previously, Azure spot machines evicted before their node became ready could get stuck in the 'provisioned' state. With this Release, Azure spot instances now use a delete eviction policy, ensuring these machines correctly transition to the 'failed' state upon preemption.
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-55373. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-54617. The following is the description of the original issue:

      Description of problem:

       - When provisioning  Spot VM via Machineset ,if the cloud provider stops the VM between Machine gets provisioned and it joins to the cluster as Node , the machine remains powered-off (Deallocated in Azure clusters)  causing machine-controller get stuck in a loop waiting machine to join the node:
      [controller.go:318] machine-name-xxxx: has no node yet, requeuing

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

          

      How reproducible:

          Scale up a Spot

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      After machine joins as Node everithing works as expected and workloads are scheduled in surviving nodes.    

      Expected results:

      If the SpotVM gets Deallocated during provisionig phase, openshift should reconcile the status of the machine-controller.

      Additional info:

          

              rmanak@redhat.com Radek Manak
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: