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

HostPrefix/pod cidr mask is not setup correctly in the nodes

XMLWordPrintable

    • No
    • Hypershift Sprint 238
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      In ROSA, user can be specified an HostPrefix, but we are currently not passing it to the HostedCluster CR. Trying to fix it, it seems that we are not setting up it correctly in the Nodes.

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

      4.12.16

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create an HC. Inside the spec add 
        networking:
          clusterNetwork:
          - cidr: 10.128.0.0/14
            hostPrefix: 25
      2. Deploy the HC. Check its configuration. 

      Actual results:

      oc get network cluster is showing the right config (see attachment) 
      An oc describe node is always showing a /24 hostPrefix.
      
      Note that this is valid also with the default value of /23. In the node, under podCIDR I always see something like
      PodCIDR:                                   10.128.1.0/24 
      PodCIDRs:                                  10.128.1.0/24 

      Expected results:

      I would expect the pod cidr mask to be reflected in the pod configuration

      Additional info:

      pod cidr is correctly set

            agarcial@redhat.com Alberto Garcia Lamela
            rh-ee-adecorte Andrea Decorte
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: