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

dualStack HostPrefix validation failures for non-(sdn/ovn) plugins

    XMLWordPrintable

Details

    • Important
    • No
    • Sprint 250
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      This fixes an bug when using non-OVN/SDN network types with dual-stack networking. This type of configuration will result in a validation failure. The fix is resolve the validation failure.

      For example, the following configuration (dual-stack with Calico networking) will result in a validation prior to this fix:
      networking:
        clusterNetwork:
          - cidr: 10.128.0.0/14
            hostPrefix: 25
          - cidr: fd01::/48
            hostPrefix: 64
        networkType: Calico
      Show
      This fixes an bug when using non-OVN/SDN network types with dual-stack networking. This type of configuration will result in a validation failure. The fix is resolve the validation failure. For example, the following configuration (dual-stack with Calico networking) will result in a validation prior to this fix: networking:   clusterNetwork:     - cidr: 10.128.0.0/14       hostPrefix: 25     - cidr: fd01::/48       hostPrefix: 64   networkType: Calico
    • Bug Fix
    • In Progress

    Description

      This is a regression due to the fix for https://issues.redhat.com/browse/OCPBUGS-23069.

      When using dual-stack networks with networks other than OVN or SDN a validation failure results. For example when using this networking config:

      networking:
        clusterNetwork:
          - cidr: 10.128.0.0/14
            hostPrefix: 25
          - cidr: fd01::/48
            hostPrefix: 64
        networkType: Calico
      

      The following error will be returned:

      {
        "id": "network-prefix-valid",
        "status": "failure",
        "message": "Unexpected status ValidationError"
      },
      

      When the clusterNetwork prefixes are removed the following error will result:

      {
        "id": "network-prefix-valid",
        "status": "failure",
        "message": "Invalid Cluster Network prefix: Host prefix, now 0, must be a positive integer."
      },
      

      Attachments

        Issue Links

          Activity

            People

              bfournie@redhat.com Robert Fournier
              bfournie@redhat.com Robert Fournier
              Biagio Manzari Biagio Manzari
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: