Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1511

[ROSA WIZARD][OSD WIZARD] Machine CIDR: bad validation checks order for UX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • A-Team
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Sprint 250

      Description of the issue

      In OSD/ROSA wizard on step "Networking > CIDR ranges" if "Service CIDR" and "Machine CIDR" overlap and the "Machine CIDR"  doesn't contain all the VPC subnets for the selected availability zones, the validation error shown after clicking "next" or putting the focus outside "Machine CIDR" field after entering the value, is "This subnet overlaps with the subnet in the Service CIDR field.". From my point of view the most important check for "Machine CIDR" is that it contains all the selected subnets.

      Steps to Reproduce:

      1. Launch OCM UI staging.
      2. Open OSD/ROSA wizard.
      3. Reach "Networking > VPC settings" step.
      4. Configure all VPC related fields.
      5. Click "Next".
      6. Enter the same value for "Machine CIDR" and "Service CIDR" being careful not to type a CIDR value containing all the selected subnets.
      7. Click "Next".
      8. Observe the error messages below the "Machine CIDR" field.

      Actual results:{}

      The error message shown is "This subnet overlaps with the subnet in the Service CIDR field."

      Expected results:

      The error message to be shown it would be "The Machine CIDR does not include the starting IP (<starting ip of a subnet>) of <subnet id>"

      cidr_bug.webm

            rh-ee-dcooper Dylan Cooper
            rhn-support-vgrazian Vitor Graziano
            Vitor Graziano Vitor Graziano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: