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

Installer for agent based should fail if the hostname does not match the valid pattern

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      If the manisfests of a ABI cluster contain an invalid hostname the installer is able to create the image but later the installation will not start for `forbidden hostname` the allowed pattern is `^[a-z0-9][a-z0-9-]{0,62}(?:[.][a-z0-9-]{1,63})*$`

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

      seen in 4.19 and 4.18

      How reproducible:

      always

      Steps to Reproduce:

          1. Prepare install-config.yaml and agent-config.yaml with invalid hostname, for example with capital letters. 
          2. Create the ISO and confirm no errors or warning shown.
          3. Start the installation and verify it stuck on validating the hosts.
          

      Actual results:

      Image is created but installation will not start causing time to troubleshoot something that can be prevented from the beginning.

      Expected results:

      The installer should fail in advance.

      Additional info:

          

              bfournie@redhat.com Robert Fournier
              rhn-support-cpassare Christian Passarelli
              None
              None
              Manoj Hans Manoj Hans
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: