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

Incorrect CUDN values

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • None
    • None
    • None
    • OSDOCS Sprint 267
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Incorrect subnet value, incorrect use of " in CUDN docs example    

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

          4.18+

      How reproducible:

      Always    

      Steps to Reproduce:

          1.Create CUDN CR
          2.Use provided subnet
          3.Use provided namespace format
          

      Actual results:

          Should create

      Expected results:

          Errors are returned: 
      
      The ClusterUserDefinedNetwork "cudn1" is invalid: spec.network.layer3.subnets[0]: Invalid value: "object": HostSubnet must < 32 for ipv4 CIDR
      
      status:
        conditions:
        - lastTransitionTime: "2025-03-03T10:49:49Z"
          message: 'failed to get selected namespaces: failed to create label-selector:
            values[0][kubernetes.io/metadata.name]: Invalid value: "namespace-1, namespace-2":
            a valid label must be an empty string or consist of alphanumeric characters,
            ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character
            (e.g. ''MyValue'',  or ''my_value'',  or ''12345'', regex used for validation
            is ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'
          reason: NetworkAttachmentDefinitionSyncError
          status: "False"

       

      Additional info:

          https://redhat-internal.slack.com/archives/CU9HKBZKJ/p1740999301200799

              rhn-support-stevsmit Steven Smith
              rhn-support-stevsmit Steven Smith
              None
              None
              Arti Sood Arti Sood
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: