Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-71548

[UI] UI allows selecting a SchedulingDisabled nodes as migration target & the UI is not injecting any node selector

XMLWordPrintable

    • Quality / Stability / Reliability
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      When initiating a VirtualMachine migration through the web console, nodes marked as Ready,SchedulingDisabled (cordoned) appear as selectable and display status Ready.
      If such a node is selected as the migration target, the migration is still triggered, ignores the unschedulable node and schedules the migration pod on a different worker.
      
      The UI does not warn the user or reflect that the selected node cannot accept new workloads.
      
      1. Have a VM on node A
      2. Mark that nodeB as Ready,SchedulingDisabled from UI
      3. Goto Migration->compute and select a node manually that is SchedulingDisabled.
      4. Observe migration silently happens on other available node
      
      This is wrong UI behavior. Either it should not show the node if it does, a user should be made aware of the state of node. screenshot attached
      
      [cloud-user@ocp-psi-executor-xl numa]$ oc get nodes
      NAME                                   STATUS                     ROLES                  AGE   VERSION
      uit-test-day-05-dlwsd-master-0         Ready                      control-plane,master   30h   v1.33.5
      uit-test-day-05-dlwsd-master-1         Ready                      control-plane,master   30h   v1.33.5
      uit-test-day-05-dlwsd-master-2         Ready                      control-plane,master   30h   v1.33.5
      uit-test-day-05-dlwsd-worker-0-4fdxl   Ready,SchedulingDisabled   worker                 29h   v1.33.5
      uit-test-day-05-dlwsd-worker-0-8svxn   Ready                      worker                 29h   v1.33.5
      uit-test-day-05-dlwsd-worker-0-9snqf   Ready                      worker                 29h   v1.33.5

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

      4.20

      How reproducible:

       

      Steps to Reproduce:

      
      1. Have a VM on node A
      2. Mark that nodeB as Ready,SchedulingDisabled from UI
      3. Goto Migration->compute and select a node manually that is SchedulingDisabled.
      4. Observe migration silently happens on other available node
      
      This is wrong UI behavior. Either it should not show the node if it does, a user should be made aware of the state of node. screenshot attached 

      Actual results:

      migration goes silently against users choice of node.

      Expected results:

      user shhould know 

      Additional info:

       

        1. scheduling_scheduling_disabled.png
          90 kB
          Geetika Kapoor
        2. vmim.png
          473 kB
          Simone Tiraboschi

          There are no Sub-Tasks for this issue.

              rh-ee-bnahmias Batya Nahmias Rivkin
              gkapoor@redhat.com Geetika Kapoor
              Guohua Ouyang Guohua Ouyang
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: