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

[Hypershift ROSA] Throw field validation error on taint key/value fields in early stage from "Add machine pool" dialog.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

      Description of problem:
      Currently the user need to click "Add machine pool" button to see if there is a field validation error against the taint key/value fields from the "Add machine pool" dialog. This need to be improved in same way as node labels fields i.e validation error should throw right after the user violates the rule while entering the values.
      For example, currently when the taints key or values

      1. Exceed the character limit , there is no validation error(instant) has thrown for the field.
      2. Invalid key or values are mentioned , there is no validation error(instant) thrown for the fields. 

      The validation error thrown to the user only when the user tries to add machine pool. This could be improved by restricting user to add machine pool when they violate above requirement with proper field validation.
      See more in recorded video. MissingTaintfieldvalidation.mp4

      How reproducible:

       Always

      Steps to reproduce:

      1. Launch OCM UI.
      2. Open a ROSA hypershift cluster.
      3. Go to machine pools tab.
      4. Click on "Add machine pool" button.
      5. Provide valid name, subnet id and node counts.
      6. Provide the taint key and values as below.
        1. Add taint key and value that exceed 63 characters.
        2. Add taint key and value that contains unsupported special characters.
      7. View the field validation behavior.
      8. Click on " add machine pool" button and see the behavior.

      Actual results:

      In Step 7, there is no field validation error thrown against taint key/value fields.

      In Step 8, Validation error thrown against taint invalid key/value when user tries to add machine pool.

      Expected results:
      In Step 7, Field validation error should throw against taint key/value fields in case user enters invalid values.

              rh-ee-camadorg Celia Amador Gonzalez
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Archiver:
              rhn-support-sthamilt Stacey Hamilton
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam

                Created:
                Updated:
                Resolved:
                Archived: