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

HostPrefix needs stricter validation in installer

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      * Before this update, when you used the Agent-based Installer, some validation checks for the `hostPrefix` parameter were not performed when generating the ISO image. As a consequence, invalid `hostPrefix` values were detected only when users failed to boot using the ISO. With this update, these validation checks are performed during ISO generation and causes an immediate failure. (link:https://issues.redhat.com/browse/OCPBUGS-53473[OCPBUGS-53473])
      Show
      * Before this update, when you used the Agent-based Installer, some validation checks for the `hostPrefix` parameter were not performed when generating the ISO image. As a consequence, invalid `hostPrefix` values were detected only when users failed to boot using the ISO. With this update, these validation checks are performed during ISO generation and causes an immediate failure. (link: https://issues.redhat.com/browse/OCPBUGS-53473 [ OCPBUGS-53473 ])
    • None
    • None
    • None
    • None

      In the install-config validation, we check that the hostPrefix is non-negative, not smaller than the clusterNetwork prefix. We also validate for IPv6 networks only that the host prefix must be equal to 64, so only IPv4 networks are discussed below.

      The assisted-service applies additional validations:

      • there must be at least 128 addresses per host; thus the prefix must be no more than 25.
      • there must be room in the cluster network for all of the hosts in the cluster, or a minimum of 4 hosts for compact clusters.

      These can be verified at ISO generation time, so we should fail immediately if they are not met instead of waiting for the user to boot the ISO.

              zabitter Zane Bitter
              zabitter Zane Bitter
              None
              None
              zhenying niu zhenying niu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: