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

[AWS] Use invalid placementGroupPartition 0 create machine success

XMLWordPrintable

    • Moderate
    • No
    • 5
    • CFE Sprint 256
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      Description of problem:

          Create machineset with invalid placementGroupPartition 0, it will be cleared in machineset, machine created successfully and placed inside an auto-chosen partition number, but should create failed

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

          4.17.0-0.nightly-2024-07-01-124741

      How reproducible:

          Always

      Steps to Reproduce:

          1.Create a machineset with a pre-created partition placement group and placementGroupPartition = 0     
                placementGroupName: pgpartition
                placementGroupPartition: 0
      
          2.The placementGroupPartition was cleared in the machineset, and the machine created successfully in pgpartition placement group and placed inside an auto-chosen partition number   
          

      Actual results:

          The machine created and placed inside an auto-chosen partition number.

      Expected results:

          The machine should fail and give error message like other invalid values.
      
      errorMessage: 'error launching instance: Value ''8'' is not a valid value for PartitionNumber.     Use a value between 1 and 7.' 

      Additional info:

          It's a new feature test for https://issues.redhat.com/browse/CFE-1066

              rh-ee-ckyal Chirag Kyal
              huliu@redhat.com Huali Liu
              Huali Liu Huali Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: