Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-3683

[Hypershift ROSA]Quick delete actions in machine pool makes cluster with <2 replica in machine pool.

XMLWordPrintable

    • False
    • False
    • None
    • HAC Infra OCM - Sprint 235

       

      Description of problem:

      In Hypershift ROSA cluster, minimum node count/replica is two from node pool/machine pools. Currently quick delete actions in UI over machine pool set  keeps the minimum node count value less than 2 in Hypershift clusters. This is wrong and we need to restrict the user doing /performing this action.

      Steps to reproduce:

      1. Install ROSA hypershift cluster via CLI .
      2. Once installation is successful, Create two additional machine pools (say the name as worker-1,worker-2) with replicas 1.
      3. Launch OCM UI staging.
      4. Navigate to machine pools tab.
      5. Perform quick delete action one after another against machine pools ( for ex: worker and worker-1)
      6. View the behavior.

      Actual results:
      Before performing Step 5 action, There are three machine pools in cluster i.e. worker with 2 replicas, worker-1 with 1 replicas and worker-2 with 1 replicas.
      After quick delete action on  worker and worker-1 machine pools, the cluster remained with worker-2 i.e. it has only 1 replica or node.
      The error message i.e. Cluster should have minimum of 2 replicas  wasn't shown in UI during this action.
      This violates the ROSA Hypershift machine pool requirement i.e. minimum 2 replicas or nodes under nodepool or machine pool.
      Note: This issue could be , user performs actions quickly and some reason validation is  suppressed user's action.

      Expected results:
      User should not be allowed to delete machine pools when the total replica or node count is <2 for hypershift cluster under any circumstance.
      Refer attached screen recordings MachinePoolsdelete.mp4

        1. MachinePoolsdelete.mp4
          2.88 MB
        2. Screen Recording 2023-04-10 at 2.43.06 PM.mov
          4.81 MB
        3. DeleteNodePoolIssue.mp4
          1.26 MB
        4. DeleteBelow2Nodes.mov
          44.29 MB
        5. DeleteFailBelow2replicas.mp4
          3.63 MB

            kdoberst Kim Doberstein
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: