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

Consecutive points are not allowed in machineNamePrefix

XMLWordPrintable

      Description of problem:

          Consecutive points are not allowed in machineNamePrefix, but from the prompt "spec.machineNamePrefix: Invalid value: "string": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.", consecutive points should be allowed. 
      And I can create machine on providers console with consecutive points https://drive.google.com/file/d/1p5QLhkL4VI3tt3viO98zYG8uqb1ePTnB/view?usp=sharing

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

          4.19.0-0.nightly-2025-01-08-165032

      How reproducible:

          Always

      Steps to Reproduce:

          1.Update machineNamePrefix containing consecutive points in controlplanemachineset, like
      
        machineNamePrefix: huliu..azure
      
          2.Cannot save, get prompt
      # * spec.machineNamePrefix: Invalid value: "string": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.
      
          3. If change to 
      
        machineNamePrefix: huliu.azure   
      
      then it can save successfully, and rollout succeed.
        

      Actual results:

          Cannot save, get prompt

      Expected results:

          Can save successfully

      Additional info:

          New feature testing for https://issues.redhat.com/browse/OAPE-22

              rh-ee-ckyal Chirag Kyal
              huliu@redhat.com Huali Liu
              Huali Liu Huali Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: