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.

XMLWordPrintable

      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.

        1. MissingTaintfieldvalidation.mp4
          3.83 MB
          Jayakrishnan Mekkattillam
        2. TaintValidations.mp4
          4.89 MB
          Jayakrishnan Mekkattillam

            rh-ee-camadorg Celia Amador Gonzalez
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: